see.power {asbio}R Documentation

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 deviation 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 will be half the value of \alpha if the true effect size is zero.

Details

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

Author(s)

Ken Aho


[Package asbio version 1.9-7 Index]