powered by
This function performs sample size computation for testing Pearson's correlation when a lower confidence interval is provided.
size_ci_corr( r, lr, alpha = 0.05, interval = c(10, 1e+05), tol = 1e-05, alternative = c("two.sided", "less", "greater") )
an object of size class that contains the sample size and relevant parameters.
size
(numeric) expected correlation coefficient of the evaluated assay.
numeric
(numeric) acceptable correlation coefficient of the evaluated assay.
(numeric) type-I-risk, \(\alpha\).
(numeric) a numeric vector containing the end-points of the interval to be searched for the root(sample size). The defaults are set to c(1, 100000).
(numeric) tolerance for searching the root(sample size).
(string) string specifying the alternative hypothesis, must be one of "two.sided" (default), "greater" or "less".
string
Fisher (1973, p. 199).
size_one_prop() size_ci_one_prop() size_corr()
size_one_prop()
size_ci_one_prop()
size_corr()
size_ci_corr(r = 0.9, lr = 0.85, alpha = 0.025, alternative = "greater")
Run the code above in your browser using DataLab