In this Shiny app you will be able to generate two sample from a normal distribution, and test their difference in mean via a t-test.
December 28, 2018
In this Shiny app you will be able to generate two sample from a normal distribution, and test their difference in mean via a t-test.
This Shiny app was developed to showcase how when performing statistical hypothesis testing (e.g., two-sided t-test null hypothesis: different in mean is equal to 0) there are multiple variables that will impact the statistical significance of the results and the power of the analysis (i.e., probability of incurring in Type I and Type II error). Some of these variables are often overlooked. Hence, this app allow users to manipulate some of these variables (i.e., sample size, mean, and standard deviation of two normal distributions) and observed the impact it has on the probability of incurring in Type I and Type II error.
How the sample size and the true mean difference affect Type I error?
How the sample size and the standard deviation of the distribution (pooled SD) affect Type I error?
How the sample size and the standard deviation of the distribution (pooled SD) affect Type II error? (For the power test, a delta=1 was used)