describe.r:
Descriptive Statistics for Correlations
Description
Returns the descriptive statistics for a vector, matrix, or data.frame of correlation coefficients stored in x by using fisher's r to z transformation, computing the values, and then back tranforming the values using fisher's z to r transofrmation.
Usage
describe.r(x, na.rm = TRUE, tr = 0.2, type = 3)
Arguments
x
A vector, matrix, or data.frame object of correlation coefficients.
na.rm
A logical indicating whether NA values should be removed before calculations are done.
tr
A numeric element between .00 and .50 specifying the amount of trimming to be done for the calculation of the trimmed mean.
type
Which estimate of kurtosis should be used? See the describe function in the 'psych' package.
Value
A data.frame of descriptive statistics: item name, item number, number of valid cases, mean, standard deviation, median, trimmed mean, mad: median absolute deviation (from the median), minimum, maximum, skew, kurtosis, standard error.
Details
The psych package function describe computes a number of descriptive statistics for ordinary data. However, correlation coefficients are typically r-to-z transformed before computing such statistics. This function makes getting the descriptive statistics for correlation coefficients easy by doing such transformations.