Class 17 (Unit 7)

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/21

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.

22 Terms

1
New cards

How can the p-value can be found in a two-sided test?

2P(Z ≥ |test. stat.|)

2
New cards

absolute value

|z| = the positive version of z

3
New cards

Example (absolute value)

If we are conducting a two-sided test, and we calculate a test statistic of z =1.50, then the P-value is

2P(Z ≥ 1.50)

<p>2P(Z ≥ 1.50) </p>
4
New cards

Summary of P-value for testing H0: μ = μο vs:

  • Ha : µ > µ0 is P(Z > z)

  • Ha : µ < µ0 is P(Z < z)

  • Ha : µ →= µ0 is 2P(Z > |z|)

5
New cards

When are the calculated P-values exact?

If the population is normal, and approximate for large sample sizes in other case (by the CLT)

6
New cards

P-value interpretation template

If the null hypothesis were true, then the probability of observing a sample mean at least as high/low/extreme as the sample mean observed would be P-value

  • Write Bold items in the context of the question

7
New cards

when do you write high? (P-value interpretation)

right-sided test

8
New cards

when do you write low? (P-value interpretation)

left-sided test

9
New cards

when do you write extreme? (P-value interpretation)

two-sided test

10
New cards

Verifying results

Notice that in the root beer example, we were very close to rejecting H0. Our P-value (0.0702) is only slightly higher than our level of significance (0.05)

Remember, the fact that we didn’t reject H0 doesn’t mean we have enough evidence to conclude that µ truly is 500 ml - it just means we didn’t have strong enough evidence to conclude with high enough certainty that µ differs from 500 ml.

  • Because we got a value of ¯ x that was very close to rejecting H0, the company might wish to take another sample of bottles, and conduct another test to verify the results

11
New cards

Some NO NO NO’s

  • “Our P-value of 0.0702 was almost lower than our level of significance ε = 0.05. Why don’t we just change α to be 0.10? Then our P-value is lower than α, and we can reject H0.”

    • Is it okay to do this???

  • mean ¯ x = 502, which is greater than 500. So it seems reasonable to think that if µ differs from 500, it is probably higher.

  • So why don’t we conduct an upper tailed test (i.e. right-sided test) of H0 : µ = 500 vs Ha : µ > 500? Then we would not have doubled the tail area, so that our P-value would have ended up being 0.0351. This is less than α = 0.05, and so we would be able to reject H0”

    • Is this okay to do???

12
New cards

Is it okay to change the level of significance?

No!!!!!!! It is unethical to make changes after a test has been completed

  • It is important that the level of significance is chosen before we conduct the test. It is not appropriate to change the level of significance after conducting the hypothesis test.

13
New cards

Is it okay to change a two-sided test into a upper tailed test? (

Still NO!!!! This is not appropriate! We were originally interested in determining whether µ differs from 500 in either direction.

14
New cards

Why can’t we change a two-sided test into a upper tailed test

  • The fact that ¯ x was greater than 500 doesn’t mean we can change our alternative hypothesis, as though suddenly we were only interested in µ being greater than 500

  • The hypotheses need to be determined before we conduct the test. It is unethical to change the hypotheses or the level of significance to get a certain desired outcome.

15
New cards

What is the other method for conducting a two-sided hypothesis test

confidence interval method

16
New cards

what two conditions must be satisfied to use a confidence interval to conduct a hypothesis test.

  1. The test must be two-sided, and

  2. The confidence level and level of significance must add up to 1

  • E.g. if we are conducting a two-sided test with a 1% level of significance, we need to use a 99% confidence interval

17
New cards

When does a two-sided test reject the null hypothesis (confidence interval method)

A two-sided test with significance level ε rejects the null hypothesis if µ0 falls outside the 100(1 - α)% confidence interval. If µ0 falls inside the interval, we fail to reject H0

18
New cards

Does this decision rule/ confidence interval method make sense?

YES!!! Think: we are supposed to be reasonably confident that our confidence interval contains the true value of µ.

  • If µ0 is outside our confidence interval, then it is not reasonable to believe that µ= µ0. Thus we reject H0.

  • If µ0 is inside of our confidence interval, that it is reasonable to believe that µ could be equal to µ0. Thus we fail to reject H0.

19
New cards

Confidence interval method steps

  1. Statement of level of significance

  2. Statement of hypotheses

  3. Statement of decision rule:

  • Reject H0 if µ0 is not in the 100(1 - α)% confidence interval.

  1. Calculation of 100(1≤ α)% confidence interval

  2. Conclusion

20
New cards

Example (Confidence Interval Method)

Perform a hypothesis test for the root beer example, using the confidence interval method and α = 0.05

  1. Statement of level of significance

  • Let α = 0.05

  1. Statement of hypotheses

  • H0 : µ = 500 vs Ha : µ ≠ 500

  1. Statement of decision rule:

  • Reject H0 if µ0 = 500 is not in the 95% confidence interval for µ

  1. Calculation of 100(1≤ α)% confidence interval

  • The 95% confidence interval for µ is

  1. Conclusion

  • Since µ0 = 500 falls within the 95% confidence interval, we fail to reject H0. At the 5% level of significance, we have insufficient evidence that the true mean volume of all bottles in the shipment differs from 500 ml.

<ol><li><p>Statement of level of significance</p></li></ol><ul><li><p><span>Let α = 0.05</span></p></li></ul><ol start="2"><li><p>Statement of hypotheses</p></li></ol><ul><li><p><span>H0 : µ = 500 vs Ha : µ ≠ 500</span></p></li></ul><ol start="3"><li><p>Statement of decision rule:</p></li></ol><ul><li><p><span>Reject H0 if µ0 = 500 is not in the 95% confidence interval for µ</span></p></li></ul><ol start="4"><li><p>Calculation of 100(1≤ α)% confidence interval</p></li></ol><ul><li><p><span>The 95% confidence interval for µ is</span></p></li></ul><ol start="5"><li><p>Conclusion</p></li></ol><ul><li><p><span>Since µ0 = 500 falls within the 95% confidence interval, we fail to reject H0. At the 5% level of significance, we have insufficient evidence that the true mean volume of all bottles in the shipment differs from 500 ml.</span></p></li></ul><p></p>
21
New cards

Note (Confidence Interval Method)

For a 2-sided test, it shouldn’t matter which method you use: both methods (P-value or confidence interval) should bring you to the same conclusion

22
New cards

Conclusion Template (Confidence Interval Method)

Since µ0 = µ0 falls within/does not fall within the C% confidence interval, we fail to reject/reject H0. At the α% level of significance, we have insufficient/sufficient evidence that Ha is true.

  • Write the Bold items in the context of the question

Explore top flashcards

GRST 209- Final Exam
Updated 733d ago
flashcards Flashcards (327)
vocabulaire unit 5
Updated 913d ago
flashcards Flashcards (42)
Anatomy test 1
Updated 813d ago
flashcards Flashcards (105)
AC/DC Chapter 4-6
Updated 975d ago
flashcards Flashcards (39)
GT1 ARTIFIN
Updated 823d ago
flashcards Flashcards (52)
Mechanics
Updated 698d ago
flashcards Flashcards (82)
GRST 209- Final Exam
Updated 733d ago
flashcards Flashcards (327)
vocabulaire unit 5
Updated 913d ago
flashcards Flashcards (42)
Anatomy test 1
Updated 813d ago
flashcards Flashcards (105)
AC/DC Chapter 4-6
Updated 975d ago
flashcards Flashcards (39)
GT1 ARTIFIN
Updated 823d ago
flashcards Flashcards (52)
Mechanics
Updated 698d ago
flashcards Flashcards (82)