Calculates the critical value for Spearman's correlation coeficient.
Spearman_crit(n, conf.level = 0.95)
n | Sample size of the correlated values |
---|---|
conf.level | Confidence level to use for the critical value (Default is 0.95, and see details section below) |
Spearman's critical value for a given sample size
The result of this function can be used to estimate the statistical signficance of Spearman's correlation coeficient. The options for confidence level are 0.99, 0.95, or 0.90
Swan, A. R. H. & Sandilands, M. (1995). Introduction to Geological Data Analysis. Blackwell Science.
Spearman_crit(10)#> [1] 0.695Spearman_crit(10, conf.level = 0.9)#> [1] 0.611