Learn R Programming

ssanv (version 1.1)

find.calibrated.beta: Find calibrated beta

Description

Called by ss.fromdata.nvar. Finds calibrated beta (1-power) for use when estimating standard deviation from data in sample size calculations for differences in two normal means.

Usage

find.calibrated.beta(beta, df, alpha = 0.05)

Arguments

beta
1-nominal.power
df
degrees of freedom
alpha
one-sided significance level of test

Value

Calibrated beta value = 1 - calibrated power.

Details

See ss.fromdata.nvar.

References

Fay, M.P., Halloran, M.E., and Follmann, D.A. (2007). `Accounting for Variability in Sample Size Estimation with Applications to Nonadherence and Estimation of Variance and Effect Size' Biometrics 63: 465-474.

See Also

ss.fromdata.nvar

Examples

Run this code
## see Table 2 of Fay et al 2006.
1-find.calibrated.beta(.2,12,.025)

Run the code above in your browser using DataLab