square of the correlation between the outcome and the predictor.
alpha
type I error rate.
verbose
logical. TRUE means printing power; FALSE means not printing power.
Value
power
power for testing if \(b_2=0\).
delta
\(\sqrt{n}/\sqrt{1/\rho^2-1}\).
Details
The power is for testing the null hypothesis \(\lambda=0\)
versus the alternative hypothesis \(\lambda\neq 0\)
for the simple linear regressions:
$$y_i=\gamma+\lambda x_i + \epsilon_i, \epsilon_i\sim N(0, \sigma^2_{e})$$
References
Dupont, W.D. and Plummer, W.D..
Power and Sample Size Calculations for Studies Involving Linear Regression.
Controlled Clinical Trials. 1998;19:589-601.