# Thread: Goodness of Fit Test

1. ## Goodness of Fit Test

Hi,

I am having trouble understanding goodness of fit tests.

I am given the following data and want to determine if the suicide rate is constant.

The question says to, under the latter hypothesis, model the number of suicides in each month as a multinomial random variable with the appropriate probabilities and conduct a goodness of fit test. Look at the deviations, and see if there's a pattern.

There is more data, but think this will give you an idea of what I am doing.

I calculated

For the first, it was,

I know that there are 12-1=11 degrees of freedom for the Chi-Square distribution, but what do I do next?

Thank you!

I'm in MathHelpForrum a fair amount and decided to try this site out!

2. ## Re: Goodness of Fit Test

After you have computed the test statistic, with a given significance level, you just compare it to the critical value of the null distribution ( this time). You reject the null hypothesis if the test statistic is larger than the critical value, as a larger test statistic indicate a larger "deviation".

Equivalently you can compute the probability of the test statistic larger than the current observed one under the null distribution, which is the p-value and report it. Then each user may compare this p-value to their own, pre-specified significance level.

 Tweet

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts