powerApp: Interactive applet to explore power of a hypothesis test

Description Usage Details Author(s) Examples

Description

A group activity meant to demonstrate the concept of power of a hypothesis test. When played as a class, students make a sound when they reject the null hypothesis, so that gradually the whole class makes the designated noise as power becomes large.

Usage

1
powerApp(display = c("normal", "showcase"))

Details

The histogram represents the random sample data based on n points centered around mu with standard deviation of sigma. The true mean is 5. As mu increases, power increases. As n increases, power increases. As sigma increases, power decreases. The class should use this applet together and move the sliders to designated points together. If a student is able to reject the null hypothesis, they make a sound such as "ribbit". As power increases due to changes to n, mu, and sigma, ribbits increase.

Author(s)

Andrew Rich (andrew.joseph.rich@gmail.com) , Daniel Kaplan (kaplan@macalester.edu) , Homer White (Homer_White@georgetowncollege.edu) , Mengdie Wang(mwang3@macalester.edu) and Jingjing Yang(jyang1@macalester.edu)

Examples

1
2
powerApp() #if you do not want to display the code
powerApp(display = "showcase") #if you want to display the code

farfallawang/mosaicApps documentation built on May 16, 2019, 10:09 a.m.