Dear All, I have a bunch of data points as follows: x 100 y 200 z 300 ... where 100, 200, 300 are the values. I would like to know the distribution of my data? how can I fit my data into a distribution? Thanks a lot, Andra [[alternative HTML version deleted]]
R. Michael Weylandt <michael.weylandt@gmail.com>
2012-Jan-06 17:18 UTC
[R] How to fit my data with a distribution?
MASS::fitdistr Michael On Jan 6, 2012, at 10:47 AM, Andra Isan <andra_isan at yahoo.com> wrote:> Dear All, > > > I have a bunch of data points as follows: > > x? 100 > y? 200 > z? 300 > ... > where 100, 200, 300 are the values. I would like to know the distribution of my data? how can I fit my data into a distribution? > > Thanks a lot, > Andra > > [[alternative HTML version deleted]] > > ______________________________________________ > 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.
.... except, of course, that the distributions of all finite sets of data are the same: discrete. I think Andra would do well to seek help from his/her local statistician, as his/her query seems to indicate considerable confusion about basic concepts. Please excuse me if I have misjudged. -- Bert On Fri, Jan 6, 2012 at 10:13 AM, David Winsemius <dwinsemius at comcast.net> wrote:> > On Jan 6, 2012, at 1:02 PM, Andra Isan wrote: > >> That MASS::fitdistr is used for the case when I have some sense about the >> distribution of my data. When I do not know anything about my data, is there >> any function that can I use to tell what distribution of my data is? > > > ?density > >> >> ________________________________ >> From: "R. Michael Weylandt <michael.weylandt at gmail.com>" >> <michael.weylandt at gmail.com> >> >> Cc: "r-help at r-project.org" <r-help at r-project.org> >> Sent: Friday, January 6, 2012 11:18 AM >> Subject: Re: [R] How to fit my data with a distribution? >> >> MASS::fitdistr >> >> Michael >> >>> >>> I have a bunch of data points as follows: >>> >>> x? 100 >>> y? 200 >>> z? 300 >>> ... >>> where 100, 200, 300 are the values. I would like to know the distribution >>> of my data? how can I fit my data into a distribution? >>> >>> Thanks a lot, >>> Andra > > > David Winsemius, MD > West Hartford, CT > > ______________________________________________ > 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.-- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm
If you don't mind stepping outside R for a few minutes, there's a great heuristic fitting app available from http://http://creativemachines.cornell.edu/eureqa Check it out. Carl <quote> From: Andra Isan <andra_isan_at_yahoo.com> Date: Fri, 06 Jan 2012 10:02:19 -0800 (PST) That MASS::fitdistr is used for the case when I have some sense about the distribution of my data. When I do not know anything about my data, is there any function that can I use to tell what distribution of my data is? Thanks a lot, Andra From: "R. Michael Weylandt <michael.weylandt_at_gmail.com>" <michael.weylandt_at_gmail.com> Cc: "r-help_at_r-project.org" <r-help_at_r-project.org> Sent: Friday, January 6, 2012 11:18 AM Subject: Re: [R] How to fit my data with a distribution? MASS::fitdistr Michael > Dear All, > > > I have a bunch of data points as follows: > > x??? 100 > y??? 200 > z??? 300 > ... > where 100, 200, 300 are the values. I would like to know the distribution of my data? how can I fit my data into a distribution? > > Thanks a lot, > Andra -- Sent from my Cray XK6 "Pendeo-navem mei anguillae plena est."