Ch 7 Confidence Interval & Hypothesis Testing for Mean

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

1/31

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.

32 Terms

1
New cards

if measuring variable is categorical, use

proportion

2
New cards

if measuring variable is quantitative, use

mean

3
New cards

steps for hypothesis testing

  1. form the hypothesis

  2. data collection (n, x̅, s)

  3. check conditions

  4. test statistic

  5. p-value

  6. decision rule

  7. conclusion & interpretation

4
New cards

what symbol do you use for the mean in hypothesis testing?

mu (μ)

5
New cards

check conditions for mean

normality (satisfy at least 1)

n ≥ 30

pop. dist. is normal

6
New cards

test statistic (t)

x̅ - μ / SE

7
New cards

SE

s / √n

8
New cards

interpretation of test statistic (t)

the sample mean is __ SE above/below from the Ho value.

9
New cards

p-value

probability that null hypothesis is true for the given sample

10
New cards

left-tail test for p-value in R

pt (t, df)

11
New cards

right-tail test for p-value in R

1-pt (t, df)

12
New cards

2-tail test for p-value in R

2*pt (t, df)

use negative t value so you don’t get value >1

13
New cards

decision rule

p-val < α (reject)

p-val > α (do not reject)

14
New cards

interpretation if reject Ho

“we have sufficient evidence to conclude the Ha.”

15
New cards

interpretation if do not reject Ho

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

16
New cards

if n inc., what happens to SE, test statistic (t), and p-val?

SE dec., t inc., p-val. dec.

17
New cards

if sample mean and Ho have a large difference, there’s more evidence for…

Ha

18
New cards

confidence interval for mean formula

x̅ ± t* (SE)

19
New cards

ME

t* (SE)

20
New cards

how is t* different than z*?

t* changes everytime based on the df.

21
New cards

df (degrees of freedom)

n-1

22
New cards

how do you find t* in R?

qt( __ , df)

__ = boundary (less than 1)

23
New cards

confidence interval interpretation

“we have 95% confidence that the true mean __ is btwn LB & UB”

24
New cards

if n inc., what happens to SE, ME, & CI width?

SE dec., ME dec., CI narrower

25
New cards

if CL inc., what happens to t*, ME, & CI?

t* inc., ME inc., CI wider

26
New cards

if given ME, t*, & s/SE, how do you find n?

must use z* to find n, can’t use t* b/c you need df

27
New cards

formula to find n

(z* x s / ME)2

28
New cards

how to get interval in R when given data set

t.test ( data set$column name, conf.level = 0.__)

29
New cards

how to get subset in R w/ data set

any name ← subset(data set, data set$column name == __)

30
New cards

hypothesis test in R w/ data set

t.test(subset name$column name, mu = __, alt = “g”/”l”/”two-sided”)

g= greater (right-side test)

l = less (left-side test)

default alt. is two sided

31
New cards

a confidence interval is only needed for a…

two-sided test

32
New cards

do you need to input the mu and alt. for a confidence interval in R?

no. only conf.level