similar to: FW: Error in structural equation model - "The model hasnegativedegrees of freedom"

Displaying 20 results from an estimated 5000 matches similar to: "FW: Error in structural equation model - "The model hasnegativedegrees of freedom""

2005 Dec 04
0
Error in structural equation model - "The model has negativedegrees of freedom"
Hi John Thanks a lot for the reply. Could you suggest how I can correct this problem? I tried using a correlation matrix instead of raw moments, but still got the same error. I also fixed parameters v1,v2,v3,a1 at 1; then it gave me the error that the system is exatly singular. To answer the points that you raised: 1. x1-x6 are not causes; they are just indicatiors. Does that change my
2005 Dec 01
1
Error in structural equation model - "The model has negative degrees of freedom"
Hi I am running a structural equation model with R using the sem command; am getting the following error: "Error in sem.default : The model has negative degrees of freedom = -4" My model is as follows: s_model = specify.model() x1->m1, b1,NA x2->m1, b2,NA x3->m2, b3,NA x4->m2, b4,NA x5->m2, b5,NA x6->m2, b6,NA m1->y, a1,NA m2->y, a2,NA m1<->m1, v1,NA
2010 Oct 25
1
structural equation modeling in sem, error, The model has negative degrees of freedom = -3, and The model is almost surely misspecified...
Hi all, I am attempting to learn my way through the sem package by constructing a simple structural model for some of my data on bird diversity, abundance, and primary productivity. I have constructed a covariance matrix between these variables as per the following: >S_matrix = matrix(c( >+ 0.003083259, 0, 0, >+ 0.143870284, 89.7648490, 0, >+ 0.276950919,
2013 Oct 16
0
Workshop: structural equation modeling in R
Dear r-help list members, I'm teaching a one-day workshop on "An Introduction to Structural Equation Modeling with the sem Package for R" at McMaster University in Hamilton, Ontario, Canada, on November 22. The workshop is open to non-McMaster attendees at a small charge. Further information, including on how to register, is in the attached poster. Best, John
2010 Oct 18
0
OpenMX structural equation software
Dear R users, The OpenMx developer team takes great pride in announcing the availability of OpenMx 1.0. The team would like to express its gratitude to the large number of beta-testers who have helped us improve the code. Thank you. OpenMx is a free suite of R functions and a estimation back-end that supports fitting a wide variety of structural equation models including multiple groups, full
2010 Oct 18
0
OpenMX structural equation software
Dear R users, The OpenMx developer team takes great pride in announcing the availability of OpenMx 1.0. The team would like to express its gratitude to the large number of beta-testers who have helped us improve the code. Thank you. OpenMx is a free suite of R functions and a estimation back-end that supports fitting a wide variety of structural equation models including multiple groups, full
2005 Feb 23
1
Problem saving logic regression result equation to disk file
I want to get some "simple" logic regression examples to work before exploring a hard problem. I can get results, but I'm having some problems using "cat" to save the logic regression equation to a disk file. Consider this: # Simple Logic Regression Example # efg, 23 Feb 2005 library(LogicReg) # Create simulated data with known logic equation: # "noise"
2011 Jun 23
0
Loops, Paste, Apply? What is the best way to set up a list of many equations?
Is there a way to apply paste to?list(form1 = EQ1, form2 = EQ2, form3 = EQ3, form4 = EQ4)?such that I don't have to write form1=EQ1 for all my models?(I might have a list of 20 or more)? I also need the EQs to read the formulas associated with them. For example, below, I was able to automate the name assignment but I could not figure out how to?to set up the list using?paste or other
2008 Dec 22
1
sem package fails when no of factors increase from 3 to 4
#### I checked through every 3 factor * 3 loading case. #### While, 4 factor * 3 loading failed. #### the data is 6 factor * 3 loading require(sem); cor18<-read.moments(); 1 .68 1 .60 .58 1 .01 .10 .07 1 .12 .04 .06 .29 1 .06 .06 .01 .35 .24 1 .09 .13 .10 .05 .03 .07 1 .04 .08 .16 .10 .12 .06 .25 1 .06 .09 .02 .02 .09 .16 .29 .36 1 .23 .26 .19 .05 .04 .04 .08 .09 .09 1 .11 .13 .12 .03 .05 .03
2005 Oct 05
0
Ad: Re: Ad: Re: R crashes for large formulas in lm() (PR#8180)
Dette er en melding med flere deler i MIME-format. --=_alternative 004C4E4A00257091_= Content-Type: text/plain; charset="US-ASCII" Yes. so (x1*x2*x3*x4*x5*x6*x7*x8)^2 = (x1+x2+x3+x4+x5+x6+x7+x8)^8 ? and there is a difference in (x1*x2*x3*x4*x5*x6*x7*x8)^2 and (x1*x2*x3*x4*x5*x6*x7*x8) althoug the resulting formulas are the same, or? This fikses my problem, but R still crashes for the
2005 Oct 05
0
Ad: Re: R crashes for large formulas in lm() (PR#8180)
On Wed, 5 Oct 2005 Hallgeir.Grinde at elkem.no wrote: > And some more informastion I forgot. > R does not crash if I write out the formula: > > set.seed(123) > x1 <- runif(1000) > x2 <- runif(1000) > x3 <- runif(1000) > x4 <- runif(1000) > x5 <- runif(1000) > x6 <- runif(1000) > x7 <- runif(1000) > x8 <- runif(1000) > y <-
2005 Oct 05
0
Ad: Re: Ad: Re: R crashes for large formulas in lm() (PR#8181)
On Wed, 5 Oct 2005 Hallgeir.Grinde at elkem.no wrote: > Yes. > so (x1*x2*x3*x4*x5*x6*x7*x8)^2 = (x1+x2+x3+x4+x5+x6+x7+x8)^8 ? Yes in the sense that the simplified formula given by terms() is the same. > and there is a difference in > (x1*x2*x3*x4*x5*x6*x7*x8)^2 > and > (x1*x2*x3*x4*x5*x6*x7*x8) > althoug the resulting formulas are the same, or? The first is reduced to the
2005 Oct 05
1
Ad: Re: R crashes for large formulas in lm() (PR#8180)
Dette er en melding med flere deler i MIME-format. --=_alternative 004613C000257091_= Content-Type: text/plain; charset="US-ASCII" And some more informastion I forgot. R does not crash if I write out the formula: set.seed(123) x1 <- runif(1000) x2 <- runif(1000) x3 <- runif(1000) x4 <- runif(1000) x5 <- runif(1000) x6 <- runif(1000) x7 <- runif(1000) x8 <-
2012 Apr 07
1
Systemfit with structural equations and cross equation parameter interaction
Hi there, I want to estimate simultaneous equation model with panel data. The model looks as follows Y1=a0+a1*X1+a2*X2 Y2=b0+b1*X2+b2*X1 X1=Z1-(Y1/a1) X2=Z2-(Y2/b1) I In this model Y1, Y2, X1 and X2 are endogenous variables; Z1, Z2 are exogenous variables and a0, a1, a2, b0, b1 and b2 are parameters. Could any one please help me how to estimate this model in R. Thanking you in anticipation
2005 Oct 05
0
Ad: Re: R crashes for large formulas in lm() (PR#8180)
> From: Peter Dalgaard > > Hallgeir.Grinde at elkem.no writes: > > > Dette er en melding med flere deler i MIME-format. > > --=_alternative 004613C000257091_= > > Content-Type: text/plain; charset="US-ASCII" > > > > And some more informastion I forgot. > > R does not crash if I write out the formula: > > > > set.seed(123)
2002 Aug 13
1
Ex ante forecasting from structural equation models (SEM package)
Dear Helplist, I want to produce forecasts from a structural equation model. With the SEM package the model setup and its estimation is possible. However, I have not figured out how to obtain ex ante forecasts, i.e. applying the Gauss-Seidel algorithm to the estimated structural equations for provided values of the exogenous variables (i.e.: y_t = -inv(A)*B*x_t). Does anyone know if the there is
2011 Sep 23
0
Small Area Estimate Using Structural Equation Models
I am looking for study materisl?on how to conduct 'small area estimation' using structural equations models in R for both longtudinal and repeated cross-section data.?Tried google did not work. There are other regression technique my interest is on structural equation models.?
2011 Apr 09
2
Orthoblique rotation on eigenvectors (SAS VARCLUS)
Hi All, I'd like to build a package for the community that replicates the output produced by SAS "proc varclus". According to the SAS documentation, the first few steps are: 1. Find the first two principal components. 2. Perform an orthoblique rotation (quartimax rotation) on eigenvectors. 3. Assign each variable to the rotated component with which it has the higher squared
2013 Feb 21
1
total indirect effects in structural equation modeling using lavaan
Hi all, I am using package lavaan and have created a structural equation model with two exogenous and seven endogenous variables with the following relationships #specify the model m1 = ' # regressions D ~ ma + hs + b4 + b5 + b15 + b16 ma ~ hs + b4 + b5 + b15 + b16 hs ~ b4 + b5 + b15 + b16 b4 ~ el + la b5 ~ el + la
2011 Oct 18
0
structural equation modelling with binary response
Dear R users, Apologies for the total beginner's question. I was wondering whether you could tell me if there is a structural equation modelling function that can handle binary data i.e. in similar manner to the GLM function with a binomial family. Best wishes, Mario