Marty Gaupp
27 Sep 2015
To explore the interaction between type I error (\( \alpha \)) and type II error (\( \beta \)), I built a shiny app that allows the user to manipulate \( \sigma \), \( \mu_a \), n, and \( \alpha \). The app then computes the resulting beta (and power) and shades in the appropriate area under each curve to represent alpha and beta.
pnorm function callTo use the shiny app to investigate the relationship between type I and type II error, just adjust \( \sigma \), \( \mu_a \), n, and/or \( \alpha \) in the app
The app automatically calculates beta and power using the pnorm function described on the previous slide