[R] sem is not "taking" the model

John Smith ld7631 at yahoo.com
Wed Apr 11 20:41:25 CEST 2007


A strange problem with sem:

I downloaded the sem library and then, I specified my simple measurement model (below). I highlighted it and ran it. It ran, but it did NOT tell me "22 lines read". And nothing works after that - it looks like it runs, but it does not produce anything...
Did I make a mistake somewhere in the model? (notice, TIME has only 1 indicator - t1, and I fixed t1's error variance at 0.414.)
Thank you!

model1 <- specify.model()
NECESSITY  -> n1,  NA,  1
NECESSITY -> n2,  lam_nec_2, NA 
NECESSITY -> n3,  lam_nec_3, NA
NECESSITY -> n4,  lam_nec_4, NA
FRUGALITY  -> f1,  NA,  1
FRUGALITY  -> f2,  lam_frug_2, NA
FRUGALITY  -> f3,  lam_frug_3, NA
TIME   -> t1,  NA,  1
n1  <-> n1,  theta_n1, NA
n2  <-> n2,  theta_n2, NA
n3  <-> n3,  theta_n3, NA
n4  <-> n4,  theta_n4, NA
f1  <-> f1,  theta_f1, NA
f2  <-> f2,  theta_f2, NA
f3  <-> f3,  theta_f3, NA
t1  <-> t1,  NA,  0.414
NECESSITY <-> NECESSITY, phi_NN, NA
FRUGALITY <-> FRUGALITY, phi_FF, NA
TIME  <-> TIME,  phi_TT, NA
NECESSITY <-> TIME,  phi_NT, NA
NECESSITY <-> FRUGALITY, phi_NF, NA
FRUGALITY <-> TIME,  phi_FT, NA


       
____________________________________________________________________________________
Finding fabulous fares is fun.



More information about the R-help mailing list