Re: [R] How to fit a random data into Beta distribution?

From: Steven Kennedy <stevenkennedy2263_at_gmail.com>
Date: Wed, 04 May 2011 06:25:58 +1000

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.



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. Received on Thu 05 May 2011 - 06:25:11 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 05 May 2011 - 07:00:06 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive