[R] Fitting chi-squared distribution

Karl Ove Hufthammer karl at huftis.org
Fri Jan 8 14:43:31 CET 2010


On Fri, 8 Jan 2010 14:39:34 +0100 Trafim Vanishek <rdapamoga at gmail.com> 
wrote:
> I would like to ask if there is a simple was in R to fit the chi-squared
> distribution to the empirical data?

Sure. Use the 'fitdistr' function in the 'MASS' package.

-- 
Karl Ove Hufthammer



More information about the R-help mailing list