Regressions:
Estimate Std.Err z-value P(>|z|) Std.lv Std.all
WFC ~
DO -0.223 0.258 -0.862 0.389 -0.045 -0.045
WFE ~
DO 0.290 0.196 1.477 0.140 0.079 0.079
WFC ~
IntGRERCW 0.056 0.072 0.787 0.431 0.037 0.037
WFE ~
IntGRERCW 0.632 0.060 10.528 0.000 0.563 0.563
WFC ~
BMS 0.244 0.082 2.993 0.003 0.121 0.121
WFE ~
BMS 0.181 0.058 3.098 0.002 0.120 0.120
WFC ~
IntPCWFCust 0.557 0.045 12.460 0.000 0.616 0.616
WFE ~
IntPCWFCust -0.015 0.023 -0.667 0.505 -0.023 -0.023
Error in lavaanify(model = FLAT, constraints = constraints, varTable = lavdata@ov, :
lavaan ERROR: wrong number of arguments in modifier (DO,PC) of element IntDOPCWFCust=~WFCust
Can someone help me understand the error and what can be done in this case. Your help is appreciated.
Regards
Mahima--
You received this message because you are subscribed to a topic in the Google Groups "lavaan" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lavaan/Uq-4T4xyvLQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lavaan+unsubscribe@googlegroups.com.
To post to this group, send email to lav...@googlegroups.com.
Visit this group at https://groups.google.com/group/lavaan.
For more options, visit https://groups.google.com/d/optout.
Thank you, Keith. I will try this and let you know. Though, I have been running multiple models with different variables and in the output I can see the changes according to the model defined. I doubt if this is the issue.I have tried Z scores and running models with that but no major difference. The problem persists.Thanks again,Regards
Mahima
On 02-Aug-2017 4:35 PM, "kmarkus via lavaan" <lav...@googlegroups.com> wrote:
Mahima,
Are you sure that you are looking at output generated by the most recent estimation attempt? When debugging situations like this, I sometimes find it helpful to adopt the following defensive programming idiom.
myModel <- '....'
rm(myFit)
myFit <- lavaan(myModel, ...)
summary(myFit)
That way, you either get output from the most recent estimation attempt or none at all.
Keith
------------------------
Keith A. Markus
John Jay College of Criminal Justice, CUNY
http://jjcweb.jjay.cuny.edu/kmarkus
Frontiers of Test Validity Theory: Measurement, Causation and Meaning.
http://www.routledge.com/books/details/9781841692203/
--
You received this message because you are subscribed to a topic in the Google Groups "lavaan" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lavaan/Uq-4T4xyvLQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lavaan+un...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to lavaan+unsubscribe@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to lavaan+unsubscribe@googlegroups.com.
--
> fit<-sem(modelab,data = ID) Error in lav_partable_constraints_def(partable, con = LIST, debug = debug) : lavaan ERROR: unknown label(s) in variable definition(s): C > summary(fit,standardized=T,fit.measures=T,rsq=T) Error in summary(fit, standardized = T, fit.measures = T, rsq = T) : object 'fit' not found
Thanks for your help in advance. Look forward to yourinput(s).
regards,
Mahima
Sorry, I forgot to add - I first used lavTestLRT() but it doesnt give delta CFI values so used the other function.
On 27-Aug-2017 9:39 AM, "Mahima Raina" <mahima...@gmail.com> wrote:
Yes, absolutely, I will.be comparing individual paths across groups but to claim significant differences in model fit I am taking two parameters. I thank you so much for all your help.Regards,Mahima
On 26-Aug-2017 8:34 PM, "kmarkus via lavaan" <lav...@googlegroups.com> wrote:
Mahima,--
I have not used compareFit() before and would have used the native lavaan function lavTestLRT(). However, I believe that it was an appropriate choice and that you used it correctly. As long as the only difference between the models involves cross-city equality constraints then the models are nested. Your interpretation is correct but I would exercise caution with respect to the rule of thumb for delta-CFI. Keep the basis for that rule of thumb in mind as you interpret the results. Look at the differences in parameter estimates between the two cities and consider their practical significance.
Keith
------------------------
Keith A. Markus
John Jay College of Criminal Justice, CUNY
http://jjcweb.jjay.cuny.edu/kmarkus
Frontiers of Test Validity Theory: Measurement, Causation and Meaning.
http://www.routledge.com/books/details/9781841692203/
You received this message because you are subscribed to a topic in the Google Groups "lavaan" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lavaan/Uq-4T4xyvLQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lavaan+un...@googlegroups.com.
WFC~WFCust
WFE~WFCust
FWE~FC
WFC~RCW
WFE~RCW
BMS~RCW
WFC~c1*DO
WFE~c2*DO
FWC~c3*DO
FWE~c4*DO
BMS~a*DO
WFC~b1*BMS
WFE~b2*BMS
FWC~b3*BMS
FWE~b4*BMS
ab1:=a*b1
ab2:=a*b2
ab3:=a*b3
ab4:=a*b4
total1:=c1+(a*b1)
total2:=c2+(a*b2)
total3:=c3+(a*b3)
total4:=c4+(a*b4)'
I have the outputs. However, a strange thing is happening. Earlier, when I wasnt checking for mediation, the paths (DO->BMS, DO-> WFE, DO->FWE were significant. Meaning, direct effects were significant. However, in this output neither direct/nor indirect paths are significant. Can someone please help me understand why this might be happening- is this a wrong code or what does this signify?
Defined Parameters:
Estimate Std.Err z-value P(>|z|)
ab1 0.110 0.134 0.822 0.411
ab2 0.130 0.115 1.136 0.256
ab3 0.336 0.233 1.442 0.149
ab4 -0.036 0.098 -0.368 0.713
total1 0.340 0.342 0.994 0.320
total2 0.536 0.428 1.252 0.210
total3 0.588 0.364 1.615 0.106
total4 1.430 0.934 1.532 0.126
Really appreciate your help- thanks in advance.
Regards,
Mahima
WFC~c1*DO
WFE~c2*DO
FWC~c3*DO
FWE~c4*DO
BMS~a*DO
WFC~b1*BMS
WFE~b2*BMS
FWC~b3*BMS
FWE~b4*BMS
ab1:=a*b1
ab2:=a*b2
ab3:=a*b3
ab4:=a*b4
total1:=c1+(a*b1)
total2:=c2+(a*b2)
total3:=c3+(a*b3)
total4:=c4+(a*b4)'
is this a wrong code or what does this signify?
WFC~c1*DO
WFE~c2*DO
FWC~c3*DO
FWE~c4*DO
BMS~a*DO
WFC~b1*BMS
WFE~b2*BMS
FWC~b3*BMS
FWE~b4*BMS
ab1:=a*b1
ab2:=a*b2
ab3:=a*b3
ab4:=a*b4
total1:=c1+(a*b1)
total2:=c2+(a*b2)
total3:=c3+(a*b3)
total4:=c4+(a*b4)'
I was able to find the code for bootstrapping. However, strangely the paths go insignificant (c2,c4,a). Can you help me understand why ?
Thanks again,
Mahima
--