[R] How to fit a random data into Beta distribution?
Steven Kennedy
stevenkennedy2263 at gmail.com
Tue May 3 22:25:58 CEST 2011
library(MASS)
fitdistr(x,"beta",list(shape1=1,shape2=1))
On Tue, May 3, 2011 at 9:44 PM, Shekhar <shekhar2581 at gmail.com> wrote:
>
> Hi,
> I have some random data and i want to find out the parameters of Beta
> distribution ( a and b) such that this data approximately fits into
> this distribution. I have tried by plot the histograms and graph, but
> it requires lot of tuning and i am unable to do that. can anyone tell
> me how to do it programmitically in R?
>
> Regards,
> Som Shekhar
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list