search for: fixpi

Displaying 1 result from an estimated 1 matches for "fixpi".

Did you mean: fipi
2011 Feb 23
0
Over-constrained? gamma mixtures using R: mix{mixdist}
...used: PP2Pars<-data.frame(c(0.23,0.77), c(9.174,29.54), c(9.983,12.369)); names(PP2Pars)<-c("pi", "mu", "sigma") mixk2<-mix(NotLinkedPP3, PP2Pars, dist="gamma",constr=list(conpi="NONE",conmu = "MFX", consigma = "SFX", fixpi = NULL, fixmu = c(TRUE,TRUE), fixsigma = c(TRUE,TRUE), cov = NULL, size = NULL)) If I allow any one of the 4 constrained parameters to become unconstrained then the model runs and gives sensible results but if I constrain all four parameters then I get the following error. "Error in nlm(...