Hypothesis Testing is a statistical method used to make inferences about population parameters based on sample data.
Involves two hypotheses: Null Hypothesis (H0) and Alternative Hypothesis (H1).
H: Hypotheses - Formulating H0 and H1 based on research questions.
A: Alpha (α) - Significance level, probability of rejecting the null hypothesis when it is true.
T: Test Statistic - A standardized value that is calculated from sample data.
N: Null Distribution - Theoretical distribution of the test statistic under the null hypothesis.
C: Conclusion - Drawing a conclusion based on the comparison of the test statistic to critical values.
Null Hypothesis (H0): Statement of no effect or no difference.
Alternative Hypothesis (H1): Statement indicating the presence of an effect or difference.
Two-tailed test: Sign used in H1: ≠ (not equal) - Tests for effects in both directions.
Left-tailed test: Sign used in H1: < (less than) - Tests if the population parameter is significantly less than a certain value.
Right-tailed test: Sign used in H1: > (greater than) - Tests if the population parameter is significantly greater than a certain value.
Data should be drawn from a random sample.
The sample size must be adequate to assume normality (n > 30 or np & n(1-p) > 5).
The population should be normally distributed if the sample size is small (n < 30).
Steps to conduct a hypothesis test include:
Define hypotheses (H0, H1).
Choose significance level (α).
Calculate test statistic.
Determine critical value or p-value.
Make a decision: reject or fail to reject H0.
Significance Level (α) examples: 0.01, 0.05, 0.10.
P-value: Probability of obtaining the observed results given that H0 is true.
Depend on p-value and α level, if p-value < α reject H0.
If p-value > α, fail to reject H0.
Type I Error (α): Incorrectly rejecting the null hypothesis when it is true.
Type II Error (β): Failing to reject the null hypothesis when it is false.
Captain Ben's passenger jets:
a) Type I error: Declaring the flight safe when it isn’t (false security). Type II error: Declaring the flight unsafe when it is safe (false alarm).
b) Consequences: Type I error risks safety; Type II error could lead to financial loss through cancellations. Type I is often more critical in safety-related decisions.
c) Choosing a significance level: α = 0.05 is commonly accepted, balancing between Type I and II errors.
Power: Probability of correctly rejecting a false null hypothesis (1 - β).
Influenced by sample size, significance level, and effect size.
Importance of defining hypotheses and correctly interpreting data for proportion testing.
Study with 926 Internet users on two-factor authentication usage.
Null hypothesis: H0: p ≤ 0.5 (50% or less)
Alternative hypothesis: H1: p > 0.5 (more than 50%)
Sleepwalking study findings: 29.2% of adults have sleepwalked.
Testing claim: H0: p ≥ 0.30; H1: p < 0.30 using α = 0.05.