Displaying 1 result from an estimated 1 matches for "pp2pars".
Did you mean:
appars
2011 Feb 23
0
Over-constrained? gamma mixtures using R: mix{mixdist}
Dear R-help,
my aim is to fit a constrained 2 component gamma mixture using mix
within package mixdist. The constraints being fixing both of the means
and both of the sigmas. Thus the only unconstrained parameter I wish to
fit is pi the proportions of the mixtures.
This is the code I 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,...