Displaying 2 results from an estimated 2 matches for "lca2random".
2012 Aug 27
2
randomLCA
Can anybody, please, explain me how many parameter are estimated using
randomLCA?
For examples, model "dentistry.lca2random" estimate 1 scale (or
variance, b_j) parameter and 2 position parameters (a_cj)? Doesn't
it?
Do I need at least 4 diagnostic tests for such a model?
What happens if I specify options blocksize and byclass? How many
diagnostic tests (or rater) I need?
Extract from see "randomLCA...
2013 Mar 26
1
randomLCA_with error for me
...)
> library(randomLCA)
> #random parameter latent class model
> trt.lca1random <-
randomLCA(trt[,1:5],initmodel=0,nclass=1,random=TRUE,quadpoints=41,probit=TRUE)
Error in randomLCA(trt[, 1:5], initmodel = 0, nclass = 1, random = TRUE, :
patterns must consist of either 0 or 1
> trt.lca2random <-
randomLCA(trt[,1:5],initmodel=0,nclass=2,random=TRUE,quadpoints=41,probit=TRUE)
Error in randomLCA(trt[, 1:5], initmodel = 0, nclass = 2, random = TRUE, :
patterns must consist of either 0 or 1
Thanks,
Bismark
[[alternative HTML version deleted]]