size_ci_corr {mcradds} | R Documentation |
Sample Size for Testing Confidence Interval of Pearson's correlation
Description
This function performs sample size computation for testing Pearson's correlation when a lower confidence interval is provided.
Usage
size_ci_corr(
r,
lr,
alpha = 0.05,
interval = c(10, 1e+05),
tol = 1e-05,
alternative = c("two.sided", "less", "greater")
)
Arguments
r |
( |
lr |
( |
alpha |
( |
interval |
( |
tol |
( |
alternative |
( |
Value
an object of size
class that contains the sample size and relevant parameters.
References
Fisher (1973, p. 199).
See Also
size_one_prop()
size_ci_one_prop()
size_corr()
Examples
size_ci_corr(r = 0.9, lr = 0.85, alpha = 0.025, alternative = "greater")