Null Hypothesis Significance Testing.
Understand the problem and data type.
Visualize the data distribution.
Calculate descriptive statistics.
Formulate null and alternative hypotheses.
Choose the appropriate test based on data type and assumptions.
The threshold for rejecting the null hypothesis, commonly set at 0.05
Type I Error (\(\alpha\)): Rejecting a true null hypothesis (false positive).
Type II Error (\(\beta\)): Failing to reject a false null hypothesis (false negative).
A numerical summary of data used to evaluate \(H_0\).
The probability of obtaining results as extreme as the obsereved data, assuming \(H_0\) is true.
Interpretation:
If \(p \; \le \; \alpha\): Reject \(H_0\). (significant result).
If \(p \; > \; \alpha\): Fail to reject \(H_0\). (insufficient evidence).
Understand the assumptions behind tests like \(t\)-test or ANOVA:
Normality: Data follows a normal distribution.
Independence: Observations are independent.
Homogeneity of Variance: Groups have equal variance (in some tests).
Learn the purpose and application of key test:
\(t\)-test: Compare means (e.g., one sample, independent two-sample, paired).
ANOVA: Compare means across more than two groups.
\(\chi^2\)-Test: Test for independence in categorical data.
Measures the magnitude of an effect, independent of sample size.
Essential for understanding the practical significance of results, beyond statistical significance.
| Test | Scenario | Statistical Test |
|---|---|---|
| One-Sample t-Test | Compare a sample mean to a known value. | t.test() |
| Two-Sample t-Test | Compare means of two independent groups. | t.test() |
| Chi-Square Test | Test association between categorical variables. | chisq.test() |
| ANOVA | Compare means across multiple groups. | aov() |
| Correlation Test | Test the strength of the relationship between variables. | cor.test() |
