Class 16 (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/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

Alternative hypothesis

The statement making the claim we are trying to support

2
New cards

Alternative hypothesis denoted

Ha

3
New cards

how do we look at alternative hypothesis in term of μ

Ha : µ > µ0, Ha : µ < µ0, Ha : µ ≠ µ0

4
New cards

What does the hypothesis test assess

the evidence in favour of the alternative hypothesis

5
New cards

Example (Ha: μ < 75) {alternative hypothesis}

the average daily vitamin C intake of Canadian females is less than 75 mg

6
New cards

Example (Ha: μ > 60) {alternative hypothesis}

the average speed of all drivers at the intersection is greater than 60km/h

7
New cards

Null hypothesis

The statement being tested in a hypothesis test is called

8
New cards

Null hypothesis is denoted

Ho

9
New cards

What is our initial assumption

null hypothesis

10
New cards

what does the null hypothesis look like in terms of μ in this unit?

Ho: μ = μ0

11
New cards

What is Ho a statement of?

Statement of “no change”, “no di!erence” or “no e!ect”

12
New cards

What does the hypothesis test assess?

assesses the strength of the evidence against the null hypothesis

13
New cards

Example (Ho: μ = 75) {null hypothesis}

the average daily vitamin C intake of Canadian females is equal to 75 mg

14
New cards

Example (Ho: μ = 60) {null hypothesis}

the average speed of all drivers at the intersection is equal to 60km/h

15
New cards

P-value of the test

If we assume that the null hypothesis is true, then the probability of observing a sample mean ¯ x at least as high/low/extreme as the one observed

16
New cards

High (p-value)

if our alternative hypothesis is of the form Ha : µ > µ0

17
New cards

Low (p-value)

If our alternative hypothesis is of the form Ha : µ < µ0

18
New cards

Extreme (p-value)

if our alternative hypothesis is of the form Ha : µ ≠ µ0

19
New cards

A low p-value means

we have strong evidence against the null hypothesis/in favour of the alternative hypothesis

20
New cards

Was the vitamin C example low enough to reject it?

P-value was 0.3085. Was not low enough to reject our original assumption that µ = 75 (i.e. reject H0) and to conclude that µ < 75 (i.e. conclude in favour of Ha) .

21
New cards

Was the speeding vehicle example low enough to reject it?

P-value was 0.0023. Was low enough to reject our initial assumption that µ = 60 (i.e. reject H0) and conclude that µ > 60 (i.e. conclude in favour of Ha).

22
New cards

How low does our P-value need to be to reject the null hypothesis in favour of the alternative hypothesis?

It depends! Before we perform a hypothesis test, we choose the level of significance of our test, denoted α.

23
New cards

if the p-value is less than or equal to α (reject the null hypothesis)

then we will reject H0 in favour of Ha

24
New cards

(reject the null hypothesis)

25
New cards

P-value is greater than α (reject the null hypothesis)

then we fail to reject H0

26
New cards

What is α then

α is the maximum P-value for which the null hypothesis will be rejected

27
New cards

Low α

we require strong evidence to reject Ho

28
New cards

When would you select the level of significance in real life?

before conducting the test

29
New cards

What if something is “high stakes”

then you require strong evidence: choose a low value of α

30
New cards

High stakes example

deciding if a medication is safe

31
New cards

What if something is “low stakes”

then you don’t need evidence to be that strong: choose a higher value of ε

32
New cards

What are the most common values of α (alpha)

0.01, 0.05, and 0.10

33
New cards

what value of α would we almost never use higher than

higher than 0.10

34
New cards

P-value method (hypothesis test steps)

  1. State the level of significance, α

  2. Statement of hypotheses, H0 and Ha

  3. Statement of the decision rule

  4. Calculation of the test statistic

  5. Calculate the P-value

  6. Conclusion

35
New cards

Decision rule (rejection rule)

is a precise statement of what must happen in order for us to reject the null hypothesis

36
New cards

What is the decision rule always?

Reject H0 if the P-value ≤ α

37
New cards

Test statistic

provides a measure of the compatability between the null hypothesis and our data

38
New cards

What our test statistic will always be

Z

<p>Z</p>
39
New cards

Example: Perform a hypothesis test with a 5% level of significance for the car intersection example.

  1. State the level of significance, α

  • α = 0.05

  1. Statement of hypotheses, H0 and Ha

  • H0 : µ = 60 vs Ha : µ > 60

  1. Statement of the decision rule

  • Reject H0 if the P-value < = 0.05

  1. Calculation of the test statistic

  2. Calculate the P-value

  • P-value interpretation:

    • “If the true mean speed of vehicles atthis intersection was 60, the probability of observing a sample mean at least as high as 66 would be 0.0023.”

  1. Conclusion

  • Since the P-value = 0.0023 < α = 0.05, we reject the null hypothesis in favour of the alternative. At a 5% level of significance, we have su”cient statistical evidence to conclude that the true mean speed of motorists at the intersection is greater than 60 km/hr.

<ol><li><p>State the level of significance, α</p></li></ol><ul><li><p>α = 0.05</p></li></ul><ol start="2"><li><p>Statement of hypotheses, H0 and Ha</p></li></ol><ul><li><p>H0 : µ = 60 vs Ha : µ &gt; 60</p></li></ul><ol start="3"><li><p>Statement of the decision rule</p></li></ol><ul><li><p>Reject H0 if the P-value &lt; = 0.05</p></li></ul><ol start="4"><li><p>Calculation of the test statistic</p></li><li><p>Calculate the P-value</p></li></ol><ul><li><p>P-value interpretation:</p><ul><li><p><span>“If the true mean speed of vehicles atthis intersection was 60, the probability of observing a sample mean at least as high as 66 would be 0.0023.”</span></p></li></ul></li></ul><ol start="6"><li><p>Conclusion</p></li></ol><ul><li><p><span>Since the P-value = 0.0023 &lt; α = 0.05, we reject the null hypothesis in favour of the alternative. At a 5% level of significance, we have su”cient statistical evidence to conclude that the true mean speed of motorists at the intersection is greater than 60 km/hr.</span></p></li></ul><p></p>
40
New cards

Right-sided test

since our alternative hypothesis is of the form Ha : µ > µ0

<p><span>since our alternative hypothesis is of the form Ha : µ &gt; µ0</span></p>
41
New cards

What makes something statistically significant

Results that lead to the rejection of a null hypothesis

42
New cards

What is statistical significance?

is an effect so large that it would rarely occur by chance alone

43
New cards

What are statistical hypothesis tests also called?

Tests of significance

44
New cards

Example: Perform a hypothesis test for the vitamin C example. Use α = 0.01

  1. State the level of significance, α

  • Let α = 0.01

  1. Statement of hypotheses, H0 and Ha

  • H0 : µ = 75 vs Ha : µ < 75

  1. Statement of the decision rule

  • Reject H0 if P-value ≤ α = 0.01

  1. Calculation of the test statistic

  2. Calculate the P-value

  • interpretation

    • “If the true average daily Vitamin C intake for Canadian females was 75mg, the probability of observing a sample mean at least as low as 73 mg would be 0.3085”

  1. Conclusion

  • Since the P-value = 0.3085> ε = 0.01, we fail to reject the null hypothesis. At the 1% level of significance, we have insuffcient statistical evidence that the true mean Vitamin C intake for Canadian females is less than 75 mg.

<ol><li><p>State the level of significance, α</p></li></ol><ul><li><p><span>Let α = 0.01</span></p></li></ul><ol start="2"><li><p>Statement of hypotheses, H0 and Ha</p></li></ol><ul><li><p><span>H0 : µ = 75 vs Ha : µ &lt; 75</span></p></li></ul><ol start="3"><li><p>Statement of the decision rule</p></li></ol><ul><li><p><span>Reject H0 if P-value ≤ α = 0.01</span></p></li></ul><ol start="4"><li><p>Calculation of the test statistic</p></li><li><p>Calculate the P-value</p></li></ol><ul><li><p>interpretation</p><ul><li><p><span>“If the true average daily Vitamin C intake for Canadian females was 75mg, the probability of observing a sample mean at least as low as 73 mg would be 0.3085”</span></p></li></ul></li></ul><ol start="6"><li><p>Conclusion</p></li></ol><ul><li><p><span>Since the P-value = 0.3085&gt; ε = 0.01, we fail to reject the null hypothesis. At the 1% level of significance, we have insuffcient statistical evidence that the true mean Vitamin C intake for Canadian females is less than 75 mg.</span></p></li></ul><p></p>
45
New cards

What do you notice from looking at these examples?

We never conclude that H0 is true. All we can say is that we do not have enough evidence to reject the null hypothesis.

  • NEVER SAY “ACCEPT H0”!!!!

46
New cards

Left-sided test

We call the previous example a left-sided test, as the alternative hypothesis is of the form Ha : µ < µ0

<p><span>We call the previous example a left-sided test, as the alternative hypothesis is of the form Ha : µ &lt; µ0</span></p>
47
New cards

Is there any significant difference between left and right sided hypothesis tests?

It is the alternative hypothesis, and how we calculate the P-value.

48
New cards

What is a simple rule for remembering the difference between calculating the P-value for the left- and right-sided tests?

The direction of the inequality in the P-value is the same as the direction of the inequality in the alternative hypothesis

<p><span>The direction of the inequality in the P-value is the same as the direction of the inequality in the alternative hypothesis</span></p>
49
New cards

Conclusion template (P-value method)

Since the P-value = P-value < / > α, we reject/fail to reject H0. At the α level of significance, we have sufficient/insufficient evidence that Ha is true

  • Fill in Bold items in context of the questions

50
New cards

What is the last type of hypothesis we’ll look at?

two sided test

51
New cards

two-sided tests are

hypothesis tests that consider deviations on both sides of the null hypothesis.

52
New cards

What form does the alternative hypothesis of a two sided test look like?

Ha: µ ≠ µ0

53
New cards

P-value (two-sided test)

P-value is the probability of observing a value of the sample mean at least as extreme (in either direction), (given that the null hypothesis is true)

54
New cards

What does “at least as extreme” mean?

at least as far away from our hypothesized population mean, µ0

55
New cards

Two sided hypothesis test example

Example: The Mackenzie Valley Bottling Company distributes root beer in bottles labeled 500 ml. They routinely inspect samples of 10 bottles prior to making a large shipment, to detect if the true mean volume in the shipment di!ers from 500 ml. If the bottles are underfilled, the company could be sued for false advertising. If the bottles are overfilled, the company is spending more money than they need to.

Suppose it is known that fill volumes for the bottles of root beer follow a normal distribution with a standard deviation of 3.5 ml. One random sample of 10 bottles results in a sample average volume of 502 ml.

  • Does this provide convincing evidence that the true mean fill volume for the shipment di!ers from the advertised amount of 500 ml? Perform a hypothesis test with a 5% level of significance,

  1. State the level of significance, α

  • Let α = 0.05

  1. Statement of hypotheses, H0 and Ha

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

    • H0 : The true mean volume of root beer in all bottles in the shipment is 500 ml

    • Ha: The true mean volume of root beer in all bottles in the shipment di!ers from 500 ml

  1. Statement of the decision rule

  • Reject H0 if P-value ≤ α = 0.05

  1. Calculation of the test statistic

  2. Calculate the P-value

  • P-value interpretation

    • “If the true mean fill volume was 500 ml, the probability of observing a sample mean at least as extreme as 502 ml would be 0.0702”

  1. Conclusion

  • Since the P -value = 0.0702 > ε = 0.05, we fail to reject H0. At the 5% level of significance, we have insu”cient evidence that the true mean volume of all bottles in the shipment di!ers from 500 ml.

<ol><li><p>State the 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, H0 and Ha</p></li></ol><ul><li><p><span><strong><u>H0 : µ = 500 vs Ha : µ ≠ 500</u></strong></span></p><ul><li><p><span>H0 : The true mean volume of root beer in all bottles in the shipment is 500 ml</span></p></li><li><p><span>Ha: The true mean volume of root beer in all bottles in the shipment di!ers from 500 ml</span></p></li></ul></li></ul><ol start="3"><li><p>Statement of the decision rule</p></li></ol><ul><li><p><span>Reject H0 if P-value ≤ α = 0.05</span></p></li></ul><ol start="4"><li><p>Calculation of the test statistic</p></li><li><p>Calculate the P-value</p></li></ol><ul><li><p>P-value interpretation</p><ul><li><p><span>“If the true mean fill volume was 500 ml, the probability of observing a sample mean at least as extreme as 502 ml would be 0.0702”</span></p></li></ul></li></ul><ol start="6"><li><p>Conclusion</p></li></ol><ul><li><p><span>Since the P -value = 0.0702 &gt; ε = 0.05, we fail to reject H0. At the 5% level of significance, we have insu”cient evidence that the true mean volume of all bottles in the shipment di!ers from 500 ml.</span></p></li></ul><p></p>