Closed jsakaluk closed 2 years ago
I can't get the data to download from the website. I'm getting an error that says "SCS.zip can't be downloaded securely". I tried it in two browsers. Could you link it another way so that I can debug?
This has been resolved with one line of code! Please redownload the package from github.
Trying this functionality out on the sexual compulsivity dataset at the open-source psychometric project. Model script and fitting are as follows (toggled fixed-factor vs. marker variable didn't make a difference [my first guess at root of error]):
`scs.mod <- ' sc =~ Q1 + Q2 + Q3 + Q4 + Q5 + Q6 + Q7 + Q8 + Q9 + Q10 '
scs.fit <- cfa(scs.mod, data = scs.clean, estimator = "mlr", #robust ml estimation std.lv = TRUE, #using fixed-factor id/ss (latent var. constrained to 1) missing = "ml")#FIML for missingness
cfaOne(scs.fit) ` Results in
Error in str2lang(x) : <text>:2:0: unexpected end of input 1: ~ 12.1084* ^