Chi Squared Goodness of Fit Flashcards

1
Q

What is the purpose of the Chi-Squared Goodness of Fit Test?

A

To test if a sample comes from a specified distribution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the null hypothesis (H₀) for a Goodness of Fit Test?

A

The sample comes from the specified distribution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the alternative hypothesis (H₁) for a Goodness of Fit Test?

A

The sample does not come from the specified distribution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do you calculate the expected counts E_i?

A

E_i = n × p_i, where p_i is the probability under H₀.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the formula for the Chi-Squared test statistic W?

A

W = Σ (O_i - E_i)² / E_i over all categories i.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What distribution does W approximately follow under H₀?

A

Chi-squared distribution with k-1 degrees of freedom.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Why do we use k-1 degrees of freedom instead of k?

A

Because the observed counts sum to n, making one category dependent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What rule of thumb determines if sample size is large enough?

A

Each expected count E_i should be at least 5.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

When do we reject H₀ in a Chi-Squared Goodness of Fit Test?

A

If W > Chi-squared critical value at significance level α with k-1 degrees of freedom.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How do you handle continuous data for a Goodness of Fit Test?

A

Bin the continuous data into intervals and apply the Chi-Squared test.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the risk when binning continuous data for the test?

A

Test results can vary depending on bin width and bin boundaries.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How are expected counts found for a binomial distribution?

A

Multiply sample size by binomial probability for each outcome.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What function in R gives the upper tail Chi-Square critical value?

A

Use qchisq(1 - α, df) where df = k-1.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does failing to reject H₀ imply?

A

There is not strong evidence against H₀, but it does not prove H₀ is true.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the steps to perform a Chi-Squared Goodness of Fit Test?

A

State H₀ and H₁, compute observed and expected counts, calculate W, find critical value, apply decision rule.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly