Learn R Programming

asbio (version 1.0-5)

see.power: Interactive depiction of type I and type II error and power

Description

Provides an interactive pedagogical display of power.

Usage

see.power(alpha = NULL, sigma = NULL, n = NULL, effect = NULL,
test = "lower", xlim = c(-3, 3), strict = FALSE)

see.power.tck()

Arguments

alpha
Type I error.
sigma
Standard deiviation of underlying population.
n
sample size
effect
Effect size
test
Type of test, one of c("lower","upper","two").
xlim
X-axis limits
strict
Causes the function to use a strict interpretation of power in a two-sided test. If strict = TRUE then power for a two sided test will include the probability of rejection in the opposite tail of the true effect. If strict = FALSE (the default) power wil

Details

The function see.power provides an interactive display of power. The function see.power.tck provides a tcltk GUI to manipulate see.power