The Very Basics of a Statistical Test

Wenxuan Zhang
5 min readOct 14, 2022
source: created by Wenxuan using ggplot2

There are multiple types of statistical tests, but they all share same basic elements, which are random variables, distribution, null/alternative hypothesis and critical value, and concepts that are generated from these elements, e.g., Type I error, Type II error, significance level,α,confidence level, p-value, effect size, β and power of the test.

--

--