Helo everyone
I am struggeling to run a mediation analysis. My output says there are 0 observations, while my dataset shows that there are 105 obs of 20 variables. This is my output, can anyone help me? Thankyou!
mediatietastbaar<-'trots~a*conditie
- groengedrag~conditie+b*trots
- ab:=a*b'
fitmediatietastbaar<-sem(mediatietastbaar)
summary(fitmediatietastbaar)
lavaan 0.6-7 did not run (perhaps do.fit = FALSE)?
** WARNING ** Estimates below are simply the starting values
Estimator ML
Optimization method NLMINB
Number of free parameters 0
Number of observations 0
Parameter Estimates:
Regressions:
Estimate
trots ~
conditie (a) 0.000
groengedrag ~
conditie 0.000
trots (b) 0.000
Variances:
Estimate
.trots 1.000
.groengedrag 1.000
Defined Parameters:
Estimate
ab 0.000