type_two_calc: type_two_calc

View source: R/power.R

type_two_calcR Documentation

type_two_calc

Description

This function is called internally by power and is used to calculate the probability of Type II error.

Usage

type_two_calc(mu0, mu1, sigma, alpha, n)

Arguments

mu0

Mean value 0.

mu1

Mean value 1.

sigma

The standard deviation.

alpha

The Type I error rate.

n

The number of samples, used to calculate Type II error for a given sample size.

Value

The Type II error for a given samples size.


yelleKneK/SMSD documentation built on Nov. 23, 2022, 6:40 p.m.