[R] chisq.test vs manual calculation - why are different results produced?

2012-02-20 Thread Louise Mair
Hello, I am trying to fit gamma, negative exponential and inverse power functions to a dataset, and then test whether the fit of each curve is good. To do this I have been advised to calculate predicted values for bins of data (I have grouped a continuous range of distances into 1km bins), and

Re: [R] chisq.test vs manual calculation - why are different results produced?

2012-02-20 Thread David Winsemius
On Feb 20, 2012, at 5:57 AM, Louise Mair wrote: Hello, I am trying to fit gamma, negative exponential and inverse power functions to a dataset, and then test whether the fit of each curve is good. To do this I have been advised to calculate predicted values for bins of data (I have