Re: [R] R] Error message "cs_lu(A) failed: near-singular A (or out of memory)"

2017-06-05 Thread Jeff Newmiller
This appears to be a case of insufficient understanding of statistics, which is 
not on topic for r-help. Look at how well the per-firm models would work... my 
guess is that some of the firms have insufficient data for useful analysis. If 
that is not it, consider providing a more concrete example on 
stats.stackexchange.com.
-- 
Sent from my phone. Please excuse my brevity.

On June 5, 2017 3:14:59 AM PDT, "Keilhacker, Michael" 
 wrote:
>Dear Arne,
>
>
>thank you very much upfront for your time that you invest in answering
>my question.
>
>
>I'm using your systemfit R package to analyze if companies risk
>appetite has a relationship to their performance and how it evolves
>over time. We collected data for ca. 80 companies, from 6 segments over
>15 years that gives us a final data set with 1,312 firm-year
>observations. We have set up 3 equations (based on existing SEM from
>literature) and experience the following:
>
>- The systemfit package performs well when using no dummy variables
>(e.g. for year, segment, firm)
>
>- When adding dummy variables (year / segment) the systemfit package
>still provides results; however, if we remove the segment dummy
>variable and add a firm dummy variable we experience the error message:
>"cs_lu(A) failed: near-singular A (or out of memory)"
>
>- We also tested the systemfit package with firm and year dummy
>variable using a sub-sample of our data (ca. 10 companies) and the
>package worked without any error messages
>
>- Afterwards we tested the systemfit package using a server (64 gb ram,
>16 core,...) by applying the systemfit package again on the final data
>set. However, we experienced again the same error message.
>
>
>We use R 3.3.2 and the systemfit package 1.1-20.
>
>
>I would be very grateful if you could support us anyhow and give us a
>hint how we could solve the situation.
>
>
>Thanks again for your help.
>
>
>Warm Regards from Munich,
>
>Michael
>___
>
>Michael Keilhacker, MBA, M.A.
>Logistics and Supply Chain Management
>Technische Universit�t M�nchen � TUM School of Management
>Arcisstra�e 21 � 80333 M�nchen �
>+49-163-5454918 �
>michael.keilhac...@tum.de
>www.log.wi.tum.de
>
>   [[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

[R] R] Error message "cs_lu(A) failed: near-singular A (or out of memory)"

2017-06-05 Thread Keilhacker, Michael
Dear Arne,


thank you very much upfront for your time that you invest in answering my 
question.


I'm using your systemfit R package to analyze if companies risk appetite has a 
relationship to their performance and how it evolves over time. We collected 
data for ca. 80 companies, from 6 segments over 15 years that gives us a final 
data set with 1,312 firm-year observations. We have set up 3 equations (based 
on existing SEM from literature) and experience the following:

- The systemfit package performs well when using no dummy variables (e.g. for 
year, segment, firm)

- When adding dummy variables (year / segment) the systemfit package still 
provides results; however, if we remove the segment dummy variable and add a 
firm dummy variable we experience the error message: "cs_lu(A) failed: 
near-singular A (or out of memory)"

- We also tested the systemfit package with firm and year dummy variable using 
a sub-sample of our data (ca. 10 companies) and the package worked without any 
error messages

- Afterwards we tested the systemfit package using a server (64 gb ram, 16 
core,...) by applying the systemfit package again on the final data set. 
However, we experienced again the same error message.


We use R 3.3.2 and the systemfit package 1.1-20.


I would be very grateful if you could support us anyhow and give us a hint how 
we could solve the situation.


Thanks again for your help.


Warm Regards from Munich,

Michael
___

Michael Keilhacker, MBA, M.A.
Logistics and Supply Chain Management
Technische Universit�t M�nchen � TUM School of Management
Arcisstra�e 21 � 80333 M�nchen � +49-163-5454918 � 
michael.keilhac...@tum.de
www.log.wi.tum.de

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Re: [R] R error message

2012-04-12 Thread mlell08
Hi,
> The code I have used is
>
>> summary(prefdata)
>> prefdata[prefdata>5]=NA
>> summary(prefdata)
>> prefdata2=as.matrix(prefdata[3:22])
>> stats=paf(prefdata2)
> [1] "One of your variables is a constant. Constants are disallowed as
> part of
could you provide some data / sample data you used for prefdata and code
that is fully reproducible?

Regards!

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] R error message

2012-04-12 Thread Harriet Lucy Stubbs


Hi,

I'm trying to do an exploratory factor analysis for a uni assignment  
but I keep getting this error message coming up


[1] "One of your variables is a constant. Constants are disallowed as  
part of a scale."


when I turn the data into a matrix and look at the stats. I've been  
told that this means one of the variables doesn't vary much any more,  
but I am really stuck on how to sort this out. The code I have used is



summary(prefdata)
prefdata[prefdata>5]=NA
summary(prefdata)
prefdata2=as.matrix(prefdata[3:22])
stats=paf(prefdata2)
[1] "One of your variables is a constant. Constants are disallowed as  
part of a scale."


Any help would be greatly appreciated, a few of us are stuck with this  
and we're going out of our minds trying to figure out how to fix it!


Thank you so much,

Harriet & the MSc students at Edinburgh






--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.