Skip to contents

normpower determines the rejection region corresponding to the level of significance and the first probability and shows the normal distribution shading its corresponding region.

Usage

normpower(LOS, n, prob1, alternative, prob2)

Arguments

LOS

A numeric value representing the level of significance; 0 < LOS< 1

n

A numeric value representing the sample size

prob1

A numeric value representing the first probability

alternative

"less", "greater", or "two.sided"

prob2

A numeric value representing the second probability

Value

A plot of the normal distribution with the rejection region highlighted.