Topic 9 - Hypothesis Testing Flashcards

1
Q

L.O.

A

LO7 [capstone] Given real multivariate data and a problem, formulate an appropriate hypothesis and perform a range of hypothesis tests.
LO8 Interpret the p-value, conscious of the pitfalls associated with testing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Proportion Tests

A

Used to determine if the percentage of a certain outcome in a sample differs significantly from an expected proportion.
- Type of hypthesis test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

HATPC framework

A

H: Hypothesese
A: Assumptions
T: Test statistic
P: P-Value
C: Conclusion

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

H: Null and Alternate Hypotheses

A

H0:
Assumes that the differnce between the OV and the EV is due to chance alone
- Describes the defult scenario, nothing new occuring
Contains: =

H1:
Assumes that the differnce between the OV and the EV is NOT due to chance alone
- Describes what we think is happening
Contains: ≠ < >

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A: Assumptions

A

If assumptions not stated, the conclusions given by the Hypothesis Test is NOT transparent
- If assumptions are not justified, conclusion may be invalid
- The assumptions are statistically driven and not just assumed by us

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

T: Test Statistic

A

A standardised measure of how far away of what we observe is from what we expected.

Test Stat =
(OV - EV) / SE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

P: P-value

A
  • A way of weighing up whether a sample is consistant with H0.

P-value = Probability of observing the test statistic if H0 is true.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

C: Conclusion

A

Interpret the p-value to accept/ reject the H0 and H1.

P> 0.05 = retain H0 (greater than)
P< 0.05 = reject H0 (less than)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Meaning of the test statistic

A

Shows the number of standard errors away from the EV.

eg. (26 - 23.2) / 2.2

= 1.3
The OV is 1.3 SE away from EV.

This can then be worked into a P-value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Finding P-value from test statistic when Test stat = 1.3

A

P value is the chance of observing 1.3 or more extreme under the H0.

Using Pnorm in R:
P(test stat) ≈ 0.097

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Size of the P-value

A

The significance of the P-value is determined by the predefined threshold α (by convention 0.05)

If the P-value is 0.097, then P> 0.05,
The H0 is retained

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

C: Conclusion

A

Statistical conclusion:

Since a P> 0.05, we must retain the H0.

If P< 0.05, we must reject H0.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Effect of H1 on the P-value

A

One sided H1:
- Specifies the direction of H1.
- eg. p>0.8

Two sided H1:
- Does NOT specify the direction
- eg. p≠0.8
- In this case, we must double the P value to account for both sides.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly