Displaying 9 results from an estimated 9 matches for "lam3".
Did you mean:
lam
2013 Mar 18
1
"save scores" from sem
...ector with the estimates for the specific effect.
To make an example:
v1; v2; v3; v4 are manifest variables that loads on one y latent
variablein a data frame called "A"
the code for the model should be like:
model <-specifymodel(
y -> v1, lam1, NA
y -> v2, lam2, NA
y -> v3, lam3, NA
y -> v4, lam4, NA
After fitting the model with sem
model.sem <- sem(model, data=A)
you should be able to compute the y variable like:
attach(data)
data$y<-v1*lam1+v2*lam2+v3*lam3+v4*lam4 #change the loading name with
the actual loading (number) or extract them from the objectiveML...
2011 Feb 14
4
sem problem - did not converge
Someone can help me? I tried several things and always don't converge
# Model
library(sem)
dados40.cov <- cov(dados40,method="spearman")
model.dados40 <- specify.model()
F1 -> Item11, lam11, NA
F1 -> Item31, lam31, NA
F1 -> Item36, lam36, NA
F1 -> Item54, lam54, NA
F1 -> Item63, lam63, NA
F1 -> Item65, lam55, NA
F1 -> Item67, lam67, NA
F1 -> Item69, lam69, NA
F1 -> Item73, lam73, NA
F1 -> Item75, lam75, NA
F1 -> Item76, lam76, NA
F1 -> Item78, lam78, NA
F1 -> Item...
2007 Jun 27
1
SEM model fit
...ler-Bonnett NFI = 0.888
Tucker-Lewis NNFI = 0.888
Bentler CFI = 0.902
SRMR = 0.0682
BIC = 51.4
SYNTAX
rm(sem.enf.rq)
mdl.rq <- specify.model()
enf -> law2, NA, 1
enf -> law3, lam2, 1
enf -> law4, lam3, 1
enf <-> enf, psi1, 0.6
law2 <-> law2, theta1, 0.3
law3 <-> law3, theta2, 0.3
law4 <-> law4, theta3, 0.5
gender -> enf, a1, 0.2
incomex...
2006 Aug 22
1
Total (un)standardized effects in SEM?
Hi there,
as a student sociology, I'm starting to learn about SEM. The course I
follow is based on LISREL, but I want to use the SEM-package on R
parallel to it.
Using LISREL, I found it to be very usable to be able to see the
total direct and total indirect effects (standardized and
unstandardized) in the output. Can I create these effects using R? I
know how to calculate them
2012 Mar 04
1
Could not compute QR decomposition of Hessian.
...mj1,mj2,mj3,mj4,mj5,eL1,eL2,eL3,eL4,eL5,aC1,aC2,aC3,aC4,disR1,disR2,disR3,disR4,disR5,
difR1,difR2,difR3,difR4,difR5,difR6,dC1,dC2,dC3,dC4,aB1,aB2,aB3,aB4,aB5,deh1,deh2,deh3,deh4)
mydata.cov <- cov(mDPDF)
model.mydata <- specify.model()
MJ -> mj1, NA, 1
MJ -> mj2, lam2, NA
MJ -> mj3, lam3, NA
MJ -> mj4, lam4, NA
MJ -> mj5, lam5, NA
EL -> eL1, NA, 1
EL -> eL2, lam7, NA
EL -> eL3, lam8, NA
EL -> eL4, lam9, NA
EL -> eL5, lam10, NA
AC -> aC1, NA, 1
AC -> aC2, lam12, NA
AC -> aC3, lam13, NA
AC -> aC4, lam14, NA
DISR -> disR1, NA, 1
DISR -> disR2, la...
2013 Mar 12
1
Bootstrap BCa confidence limits with your own resamples
I like to bootstrap regression models, saving the entire set of bootstrapped
regression coefficients for later use so that I can get confidence limits
for a whole set of contrasts derived from the coefficients. I'm finding
that ordinary bootstrap percentile confidence limits can provide poor
coverage for odds ratios for binary logistic models with small N. So I'm
exploring BCa confidence
2011 May 16
0
SEM Model Not Converging
...ames = vars, :
Could not compute QR decomposition of Hessian.
Optimization probably did not converge.
I tried setting par.size='startvalues' and it didn't make any
difference. Is it just the size of my model?
F1->reFDE, lam1, NA
F1->ReFUIDGreg, lam2, NA
F1->reFDRwithDDRV, lam3, NA
F1->reparD, lam4, NA
F1->reparDR, lam5, NA
F1->reparRisk, lam6, NA
F1->reWDD, lam7, NA
F1->reWDH, lam8, NA
F1->reWSP, lam9, NA
F1->reWDIS, lam10, NA
F1->reWCell, lam11, NA
F1->reWFAT, lam12, NA
F1->reAanx, lam13, NA
F1->reDanx, lam14, NA
F1->reDstress, lam15,...
2009 Mar 30
2
HELP WITH SEM LIBRARY AND WITH THE MODEL'S SPECIFICATION
...X$X3s,X$X3t,X$X3u,X$X3v,X$X4a,X$X5q,X$X5r,X$X5s,X$X8a,X$X8b,X$X8c,X$X8d)
#i calculate the covariance of the data
mydata.cov <- cov(mydata,use="complete.obs")
#I specify my model
model.mydata <- specify.model()
F1 -> X.X12a, lam1, NA
F1 -> X.X12b, lam2, NA
F1 -> X.X12c, lam3, NA
F1 -> X.X12d, lam4, NA
F1 -> X.X12e, lam5, NA
F1 -> X.X12f, lam6, NA
F1 -> X.X12g, lam7, NA
F2 -> X.X12h, lam8, NA
F2 -> X.X12i, lam9, NA
F2 -> X.X12l, lam10, NA
F2 -> X.X12m, lam11, NA
F2 -> X.X12n, lam12, NA
F2 -> X.X12o, lam13, NA
F3 -> X.X1...
2009 Apr 01
0
回复: R-help Digest, Vol 73, Issue 32
...X$X3s,X$X3t,X$X3u,X$X3v,X$X4a,X$X5q,X$X5r,X$X5s,X$X8a,X$X8b,X$X8c,X$X8d)
#i calculate the covariance of the data
mydata.cov <- cov(mydata,use="complete.obs")
#I specify my model
model.mydata <- specify.model()
F1 -> X.X12a, lam1, NA
F1 -> X.X12b, lam2, NA
F1 -> X.X12c, lam3, NA
F1 -> X.X12d, lam4, NA
F1 -> X.X12e, lam5, NA
F1 -> X.X12f, lam6, NA
F1 -> X.X12g, lam7, NA
F2 -> X.X12h, lam8, NA
F2 -> X.X12i, lam9, NA
F2 -> X.X12l, lam10, NA
F2 -> X.X12m, lam11, NA
F2 -> X.X12n, lam12, NA
F2 -> X.X12o, lam13, NA
F3 -> X.X1...