Hypothesis Testing
Hypothesis Testing
Type-1 error: Type 1 error is the case when we reject the null hypothesis but
in actual it was true. The probability of having a Type-1 error is called
significance level alpha(α).
Type-2 error: Type 2 error is the case when we fail to reject the null
hypothesis but actually it is false. The probability of having a type-2 error is
Examples of Hypothesis Tests
• There are many types of statistical hypothesis tests.
• This section lists some common examples of statistical hypothesis
tests and the types of problems that they are used to address:
Variable Distribution Type Tests (Gaussian)
• Shapiro-Wilk Test
• D’Agostino’s K^2 Test
• Anderson-Darling Test
Variable Relationship Tests (correlation)
• Pearson’s Correlation Coefficient
• Spearman’s Rank Correlation
• Kendall’s Rank Correlation
• Chi-Squared Test
Compare Sample Means (parametric)
• Student’s t-test
• Paired Student’s t-test
• Analysis of Variance Test (ANOVA)
• Repeated Measures ANOVA Test
Compare Sample Means (nonparametric)
• Mann-Whitney U Test
• Wilcoxon Signed-Rank Test
• Kruskal-Wallis H Test
• Friedman Tes