cor_CI_from_SE | R Documentation |
Compute correlation confidence intervals from correlations and standard errors
cor_CI_from_SE(cor, se, ci = 0.95, winsorise = T)
cor |
A correlation value or matrix |
se |
A standard error value or matrix |
ci |
The desired confidence level |
winsorise |
Keep values within -1 to 1 |
If you entered a single value, you get 2 values back: lower and upper confidence numbers. If you entered matrices, you get 2 matrices back in a list.
#simple results
cor_CI_from_SE(.50, .10)
cor_CI_from_SE(.50, .10, ci = .99)
#matrices
iris_res = suppressWarnings(weights::wtd.cor(iris[-5]))
cor_CI_from_SE(iris_res$correlation, iris_res$std.err)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.