week 11 - Chi-squared Goodness of Fit Test, ANOVA, and ANOVA Related Tests

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/24

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

25 Terms

1
New cards

what does the chi-square test for independence test for?

when we want to know whether the observed counts fit a particular distribution

2
New cards

what are the null and alternative hypotheses for chi-square tests of independence?

  • H0 - p1=p2…=pn, ie all probabilities are equal (or conform to a specific dist)

  • Ha - at least 2 probabilities are different (ie not all the same)

3
New cards

how do you calculate expected counts for chi-square test of independence?

E = row total x null probability

4
New cards
<p></p>

knowt flashcard image
5
New cards

why are degrees of freedom usually n-1?

to find the probs of all 4, you only need 3 as you can calculate the 4th (1-P of the 3), we only ever have to estimate n-1; the last is fixed

<p>to find the probs of all 4, you only need 3 as you can calculate the 4th (1-P of the 3), we only ever have to estimate n-1; <strong><span>the last is fixed</span></strong></p>
6
New cards
term image
knowt flashcard image
7
New cards

what is one scenario where you reject the null hypothesis even with a small chi-square statistic?

spatial distribution too uniform to be random eg fox example

8
New cards

for ANOVA, how do you calculate the between-group variation? what is this called?

<p></p>
9
New cards

for ANOVA, how do you calculate the within-group variation? what is this called?

treatment sum of squares

<p>treatment sum of squares </p>
10
New cards

what are the null and alternative hypotheses for ANOVA tests?

<p></p>
11
New cards

how do you calculate the test statistic for ANOVA? what is this statistic called?

<p></p>
12
New cards

when do you reject H0 for ANOVA tests?

when the F statistic is greater than the critical value (F crit), p<0.05

<p>when the F statistic is greater than the critical value (F crit), p&lt;0.05</p>
13
New cards
<p>is this result statistically significant?</p>

is this result statistically significant?

yes, F>F crit, therefore p<0.05

14
New cards
term image
knowt flashcard image
15
New cards
term image

C

16
New cards

what are the 2 assumptions of ANOVA? how do we test for them?

check for normality using q-q plot, check for equal variances using levene’s test

<p>check for normality using q-q plot, check for equal variances using levene’s test</p>
17
New cards

how do we check for variability within groups?

knowt flashcard image
18
New cards

what are the null and alternative hypotheses for Levene’s test for equal variances?

knowt flashcard image
19
New cards

for Levene’s test, what data do you do ANOVA with?

do not do ANOVA on the original data, do it on the absolute value of the residuals - Xbarj - Xbar

<p>do not do ANOVA on the original data, do it on the absolute value of the residuals - Xbarj - Xbar</p>
20
New cards

what test do you use to determine which groups have different means after rejecting H0 from ANOVA?

tukey’s honest significant differences test (HSD) aka post hoc test

21
New cards

what are the assumptions for HSD test?

knowt flashcard image
22
New cards

how do you calculate qij for tukey’s test? how do you test if p<0.05?

  • MSE from within group variation from ANOVA

  • if qij is > q crit (with N-a df, same as ANOVA), reject H0

<ul><li><p>MSE from within group variation from ANOVA</p></li><li><p>if qij is &gt; q crit (with N-a df, same as ANOVA), reject H0</p></li></ul>
23
New cards

what statistic do you use when the samples have different sizes?

knowt flashcard image
24
New cards

how do you construct a confidence interval for the difference in means between each pair of groups?

knowt flashcard image
25
New cards
term image
knowt flashcard image