week 10 - Confidence Intervals & Hypothesis Testing for Proportions and the Chi-squared Test for Independence

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall with Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/23

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

24 Terms

1
New cards

how is p-hat distributed?

knowt flashcard image
2
New cards

what is the structure of a CI for proportions?

<p></p>
3
New cards

what are the conditions for confidence intervals for proportions?

  • when using p-hat: np and n(1-p)>= 15

  • when using p: np and n(1-p) >=10

  • the dist (approx to normal) is already approximate, we have added more approximation by using p hat instead of p, thus conditions need to be stricter

4
New cards

how do you construct a confidence interval for proportions with a small sample?

knowt flashcard image
5
New cards

find the 90% CI for a p-hat of 0.41 and n=80 for a large sample and a small sample

knowt flashcard image
6
New cards

how do you calculate the appropriate sample size for a desired margin of error? if p is unknown, what value do you use instead and why?

knowt flashcard image
7
New cards
term image

note that maximizing (using 0.5) gives a larger sample size

<p>note that maximizing (using 0.5) gives a larger sample size </p>
8
New cards
term image
knowt flashcard image
9
New cards
term image

C

10
New cards

how do you calculate the test statistic for proportions?

knowt flashcard image
11
New cards

what are the conditions for hypothesis tests on proportions?

np0>10, n(1-p0) = 10 (not 15 like CI)

12
New cards

is a 90% confidence interval directly comparable to a 1-sided test for proportions at a=0.05?

they are slightly different as we are using p0 not p-hat (which is already an approximation) in the test

13
New cards

what is the structure of a 95% confidence interval for comparing 2 proportions? explain how this is different to the test statistic

  • phat 1 is the sample prop from sample 1, phat 2 from sample 2

  • phat (pooled p) is the proportion of successes from the combined sample - successes from sample 1+sample 2 divided by the total (1+2)

  • use phat for the SD part of the test stat

<ul><li><p>phat 1 is the sample prop from sample 1, phat 2 from sample 2</p></li><li><p>phat (pooled p) is the proportion of successes from the combined sample - successes from sample 1+sample 2 divided by the total (1+2)</p></li><li><p>use phat for the SD part of the test stat</p></li></ul>
14
New cards
term image

CI and test not directly comparable as pooled proportions are used for the test, but sample proportions for the CI (but should be close)

<p>CI and test not directly comparable as pooled proportions are used for the test, but sample proportions for the CI (but should be close)</p>
15
New cards
term image

as this is a 2-tailed test - multiply p-value by 2

<p><span>as this is a 2-tailed test - multiply p-value by 2</span></p>
16
New cards
term image

prob of dying in your birth month - 1/12

<p>prob of dying in your birth month - 1/12</p>
17
New cards

what are the null and alternative hypotheses for a chi square test for independence?

  • H0 - no relationship/association between the 2 variables (ie proportions are the same)

  • Ha - is an association/relationship, ie not H0

18
New cards

how do you calculate the expected counts (ie null position) for a chi square test for independence?

(row tot x col tot)/table tot

19
New cards

what is the chi-square test statistic? what do large chi-square values suggest?

knowt flashcard image
20
New cards

how do you calculate degrees of freedom for chi-square tests for independence?

knowt flashcard image
21
New cards

what are the conditions for a chi-square test of independence?

all expected counts ≥5

22
New cards

describe the chi-square distribution

  • only positive values

  • right skew

<ul><li><p>only positive values</p></li><li><p>right skew </p></li></ul>
23
New cards
term image
knowt flashcard image
24
New cards
<p>what other test can we do here?</p>

what other test can we do here?

test for 2 proportions

<p>test for 2 proportions </p>