Mod 10 Flashcards

(12 cards)

1
Q

When do you use chi-square goodness of fit test?

A

SINGLE categorical variable
- test if category proportions claimed in Ho are a good fit for the observed data

p1 = p1o (expected proportion), p2 = p2o (expected proportion), p3 = p3o (expected proportion)

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

What are the conditions of the chi-square goodness of fit test?

A
  • observed cell counts are based on a random sample or representative sample
  • all expected cell counts ≥ 5
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the interpretations of the chi square (x^2) for goodness of fit test?

A

large x^2 = RTN

small x^2 = FTRN

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

Compute the expected count for a cell in a chi square goodness of fit test

A

n (overall sample size) x expected proportion for that cell

EX: n = 178, expected proportion = 0.451

expected count, assuming that Ho is true, = (178)(0.451)

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

Compute the test statistic for chi square goodness of fit test

What distribution does x^2 have when the null is true?

A

x^2 = (observed - expected count)^2/expected count + …..

df = (k-1)

When Ho is true, x^2 has chi-square distribution with df (k-1)
- right tail area of x^2 test statistic

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

What are the steps to conducting hypothesis test for chi-square (goodness of fit test)?

A

1) Hypothesis
H0: p1 = p1o…
Ha: not all equalities in Ho are true

2) Conditions
- observed cell counts are based on random sample or representative sample
- all expected cell counts ≥ 5

3) Test statistic

4) P-value
- chi-square are right-skewed distribution characterized by df (k-1)
- find right tailed areas to get p-value

5) Conclusion

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

When do you use chi-square test of independence/homogeneity?

A

TWO categorical variables
- whether the 2 categorical variables are associated or independent

H0: variables 1 and 2 are independent
Ha: variables 1 and 2 are associated

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

What are the conditions of the chi-square goodness of fit test?

A
  • observed cell counts are based on a random sample or representative sample
  • all expected cell counts ≥ 5
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Compute expected cell counts of the table for chi-square test of independence

A

expected = row total * column total/overall total

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

Compute the chi-square (x^2) for chi-square test of independence

What is the degrees of freedom for chi-square independence?

A

X^2 = (observed - expected)^2/expected count + …..

df = (r-1)(c-1)

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

Compute p-value for chi-square test of independence

A

chi-square distribution with df (r-1)(c-1)

  • get the right-tailed area of the test statistic (x^2)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the steps to conducting hypothesis testing for chi-square test of independence

A

1) Hypothesis
H0: variables 1 and 2 are independent
Ha: variables 1 and 2 are associated

2) Conditions
- observed cell counts are based on a random sample or representative sample
- all expected cell counts ≥ 5

3) Test statistic
X^2 = (observed - expected)^2/expected count + …..
df = (r-1)(c-1)

4) P-value
chi-square distribution with df (r-1)(c-1)
- always get the right-tailed area of the test statistic (x^2)

5) Conclusion
- p-value ≤ alpha = RTN, enough evidence to conclude association
- p-value ≥ alpha = FTRN, not enough evidence to conclude association

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