Displaying 3 results from an estimated 3 matches for "initmodel".
Did you mean:
initmode
2013 Mar 26
1
randomLCA_with error for me
...g wrong.
Please help.
> library(lattice)
> library(boot)
Attaching package: ‘boot’
The following object(s) are masked from ‘package:lattice’:
melanoma
> library(utils)
> 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...
2012 Aug 27
2
randomLCA
...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 examples", by Ken Beath.
> dentistry.lca2random <- randomLCA(dentistry[,
+ 1:5], freq = dentistry$freq, initmodel = dentistry.lca2,
+ nclass = 2, random = TRUE, quadpoints = 31,
+ probit = TRUE)
Thank you.
2012 May 11
0
NLS sensitivity to start= values or poles in data range
...# NIST Starting Values
indsubset <- c(10,30,40,50,120,200,800)
depsubset <- c(0,2,3,5,12,15,20)
#
#########################################
points(indsubset,depsubset, type="p", pch=19, col="red")
# Generate starting values for nls per NIST process
initmodel <- (depsubset ~ I(indsubset^1)
+ I(indsubset^2)
+ I(indsubset^3)
+ I(-1 * indsubset^1 * depsubset)
+ I(-1 * indsubset^2 * depsubset)
+ I(-1 * indsubset^3 * depsubset))
InputDatalm <- lm(initmodel)
summary(InputDatalm)
fitted.values(InputDatalm)
nlsstar...