
Hey Guys,

i have the sample variances for 1000 samples, and i want to fit it to a chi-squared distribution.

after making a loop for the simulation initially, i have the following code to compute the variances
samples = replicate(n, rnorm(m, 0, 1), simplify=FALSE)
variances = sapply(samples, var)
summary(variances)
can someone please help me fit this to a chi-squared distribution with n degrees of freedom.
Thanks a lot 

_________________________________________________________________
[[elided Hotmail spam]]

	[[alternative HTML version deleted]]


