Learn R Programming

tigerstats (version 0.3.2)

CIProp: Confidence Intervals (for one population proportion)

Description

An app to investigate how many times a confidence interval for one population proportion captures the true population parameter. The true population proportion is plotted as a vertical red line and the user can visually see how changes to the sample, population proportion, sample size, and confidence level affect the width of the confidence interval. Summary information is output to the console to tally the number of times the computed confidence interval covers the true population mean and how many times it misses.

Usage

CIProp()

Arguments

Value

Graphical and numerical output

Examples

Run this code
# NOT RUN {
if (require(manipulate)) CIProp()
# }

Run the code above in your browser using DataLab