Ch 6 Inference for Proportion

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

1/54

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.

55 Terms

1
New cards

when a variable is categorical, use…

proportion

2
New cards

when a variable is quantitative, use…

mean

3
New cards

steps for inference

  1. formulate the research question → use hypothesis testing

  2. data collection

  3. check conditions

  4. calculate the test statistic

  5. find the p-value

  6. decision

  7. conclusion & interpretation

4
New cards

null hypothesis (Ho)

always equal to population parameter

Ho : p = x

5
New cards

alternative hypothesis (Ha)

what the researcher claims

ex. Ha: p > x

6
New cards

p < x

left-tail test

7
New cards

p > x

right-tail test

8
New cards

p ≠ x

two-tail test

9
New cards

n

sample size

10
New cards

sample proportion

11
New cards

normality/large sample size condition

np ≥ 10

n(1-p) ≥ 10

both must be met

12
New cards

z (test statistic) formula

p̂ - p / SE

13
New cards

SE formula

√p(1-p)/n

14
New cards

z (test statistic)

measures the accuracy of a statistic

15
New cards

z interpretation(?)

z standard error below/above the Ho value

16
New cards

p-value

probability that null hypothesis is true for the given sample

17
New cards

p-value in R for left-tail test

pnorm(z)

18
New cards

p-value in R for right-tail test

1-pnorm(z)

19
New cards

p-value in R for two-tail test

2*pnorm(-x)

always use negative side

20
New cards

α (alpha)

used for level of significance

ex. 5% level of significance - α = 0.05

21
New cards

(decision rule) if p-value < α …

reject Ho

22
New cards

(decision rule) if p-value > α

do not reject Ho

23
New cards

if reject Ho

“we have enough/sufficient evidence to conclude the Ha.”

24
New cards

if do not reject Ho…

“we do not have enough/sufficient evidence to conclude the Ha.”

25
New cards

high z-score =

more likely to reject (lower p-value)

26
New cards

if inc. sample size (n), what happens to SE?

it will decrease, and z (test statistic) will get larger.

27
New cards

with a larger test statistic (z), what will happen to the p-value?

it will dec. (think abt the proportion on a normal dist.)

28
New cards

what are the 2 types of error?

Type I error

Type II error

29
New cards

type I error

reject Ho when it’s actually true

30
New cards

type II error

do not reject Ho when it’s actually false

31
New cards

ex. Ho : Connor’s car is safe to drive

what is a type I error?

say Connor’s car isn’t safe to drive when it is

32
New cards

ex. Ho : Connor’s car is safe to drive

what is a type II error?

say Connor’s car is safe to drive when it’s not.

33
New cards

if you wanted to reduce the chance of a Type II error, would you use a larger or smaller alpha level?

larger

34
New cards

if you wanted to reduce the chance of a Type I error, would you use a larger or smaller alpha level?

smaller

35
New cards

confidence interval for proportion

when p is unknown; use p̂ (and n)

likely to capture population proportion p with high confidence

36
New cards

large sample size condition (when you dk p)

np̂ 10

n(1-p̂) 10

37
New cards

confidence interval calculation

p̂ ± z* (SE)

38
New cards

critical value (z*) is associated with…

confidence level

39
New cards

what part of the curve is being measured when it’s a 95% confidence interval?

the middle 95%

(UB = 0.975, LB = 0.025)

40
New cards

how do you calculate z* in R?

qnorm(UB) or qnorm(LB)

ex. qnorm(0.95) / qnorm(0.05) for 90% confidence interval

41
New cards

confidence interval interpretation (ex. 95% conf.)

“we have 95% confidence that the true/population proportion is btwn (LB)% and (UB)%.”

42
New cards

explain what confidence interval means (ex. 98%)

if you collect many samples, 98% of the confidence intervals produced will capture the true proportion.

43
New cards

margin of error (ME)

z* (SE)

44
New cards

how do you find p̂ & MOE given 95% confidence and an interval of (0.25, 0.85)

find the avg. of the UB & LB to get p̂.

find MOE by UB - p̂ or p̂ + LB

45
New cards

if n inc., what happens to SE, ME, & the interval?

SE dec, ME dec, the interval becomes narrower

46
New cards

if CL inc., what happens to z*, ME, & the interval?

z* inc, ME inc., wider interval

47
New cards

relationship between α and CL.

add up to 100

ex. α = 0.05, CL = 95%

ex. α = 0.01, CL = 99%

48
New cards

if you reject Ho, what does that tell you about the CI and p? ex. 95% CI, p = 0.7

the 95% CI does NOT capture p (true proportion) since you rejected Ho, and p = 0.7 is outside the interval.

49
New cards

if you do not reject Ho, what does that tell you about the CI and p? ex. 90% CI, p = 0.85

the 90% CI DOES capture p= 0.85 since you did not reject Ho

50
New cards

what does margin of error cover?

ONLY differences in sampling. does NOT count for human error/bias

51
New cards

if you reject Ho, do you have evidence for Ha or not?

have evidence

52
New cards

within 3% / ME 3% means…

ME is 0.03

53
New cards

formula to find n (given ME)

n = (z*/ME)2p(1-p)

(using p since you dk p̂)

54
New cards

what do you use if population proportion isn’t given?

p = 0.5

55
New cards

when solving for n and you get a decimal, what should you do?

round up! n should always be a whole number.