Displaying 1 result from an estimated 1 matches for "x1fitchi".
2011 May 03
3
fitting distributions using fitdistr (MASS)
...df=1)
Warning messages:
1: In log(s) : NaNs produced
2: In log(s) : NaNs produced
> x1fitf<-fitdistr(x1,"f",start=list(df1=2,df2=3))
Warning message:
In df(x, df1, df2, log) : NaNs produced
> x1fitf
df1 df2
5.6733242 4.4962519
(1.3407776) (0.9016752)
>x1fitchi<-fitdistr(x1,"chi-squared",df=3)
Error in fitdistr(x1, "chi-squared", df = 3) :
'start' must be a named list
It is the same as what i gave for beta?!!
> x1fitbeta<-fitdistr(x1,"beta", start=list(shape1=2,shape2=3))
Error in optim(x = c(1.890740187...