This is an "iceberg" question -- most of it (i.e. statistical issues) is hidden beneath the surface.
To avoid a lengthy dissertation on statistical philosophy, I would merely suggest: 1. require(lattice) ?qqmath 2. With that many points **any** test for a specific distributional form will be rejected. Goodness of fit tests are essentially meaningless in this context. This is a somewhat contentious assertion that might generate heated disagreement. What a lawyer would call "argumentative." ;-) Cheers, -- Bert Gunter Genentech Non-Clinical Statistics South San Francisco, CA "The business of the statistician is to catalyze the scientific learning process." - George E. P. Box > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of David Zhao > Sent: Thursday, November 17, 2005 9:45 AM > To: [email protected] > Subject: [R] Goodness fit test HELP! > > Hi there, > > I'm a newbie, plesae bear with me. > I have a dataset with about 10000 ~ 30000 data points. Would > like fit to > both Gamma and Normal distribution to see which one fits > better. How do I do > this in R? Or I could do a normality test of the data, if > it's normal, I > then will do a normal fit, otherwise, a gamma fit. But again, > I don't know > how to do this either. > Please help! > > David > > [[alternative HTML version deleted]] > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
