search for: mixparam

Displaying 4 results from an estimated 4 matches for "mixparam".

Did you mean: maxparam
2011 Mar 10
0
Avoiding choosing parameters with mix[mixdist]
...ist step I want to do is to identify cohort size at each station or (zone of water temperature). The second step will be to see whether the size or number of cohort differ based on temperature. I use mixtdist package and more specifically function mix to id Cohort. Here is an exemple : mixp1<-mixparam(c(0.5,2.0,3.8,5.4,8.4,10.4),c(0.4,0.4,0.4,0.4,0.4,0.4)) fitcohgr60_1 <- mix(siz9gr60,mixp1,"norm") The problem with mix is that I had to impose the mixparam myself (both mean and se) and than mix model modified the entered parameters so it fitted my data best. Therefore suggested coh...
2007 Jun 20
1
How to use "mix" to estimate the parameters for mixture gamma distribution?
.... My data distribution shows there are two components for the mixture distribution: left part is an exponential and right part is a normal. So I plan to use "gamma" mixture distribution to estimate the parameters. Here is what I am using for the "mix" function. Test<-mix(x, mixparam(mu=c(1,125),sigma=c(1,11.18)),"gamma") However, one error message shows up as: "Error in nlm(function(x) f(x, ...), p, hessian, typsize, fscale, msg, : missing value in parameter" Does anybody know what that means and how to fix it to get the estimation? Your help will be mu...
2009 Sep 25
0
Error with Mixdist in R
...ook1.txt here. I tried to use Mixdist on R but ran into following problem. Can you suggest me where I am going wrong? > super <-read.table("Workbook1.txt",,sep ="\t") > plot(super) > fitmixdata <-as.mixdata(super) > plot(fitmixdata) > plotfit1<-mix(super,mixparam(c(-75,-67,-38),10),"norm",mixconstr(consigma="NONE")) Error in nlm(mixlike, lmixdat = mixdat, lmixpar = fitpar, ldist = dist, : missing value in parameter I get this error. Awaiting a reply soon. Thanking you, Regards, Suchit Shah BOSTON Try the new Yahoo! I...
2012 Nov 20
0
double gaussian with mixdist: what's wrong?
...81,1134,1423,1842,2505,374,6099,9343,13009, ? ? ? ? ? ? ? ? ? ?15097,13712,9969,6785,4742,3626,3794,4737,5494,5656,4806,3474,2165,1290,799,431,213,137,66,57,41,35,27,27,27) ? data.df <- data.frame(time=time, counts=counts) ? data.mix <- as.mixdata(data.df) ? plot(data.mix) ? startparam <- mixparam(c(699,707),1 ? data.fit <-?mix(data.mix, startparam, "norm") --- end code --- This results in: ? Error in nlm(mixlike, lmixdat = mixdat, lmixpar = fitpar, ldist = dist, ?:? ? ? missing value in parameter I have used this fit method successfully with other data sets. Why does it not...