Formulas, Statistical Tables and R Commands: Formulas
Formulas descriptive statistics
Mean
For observed values of variable , the mean equals
Mean of a frequency distribution
For observed values of variable , with different outcomes with frequency , the mean equals
Median
The median is the middle observed value of all ordered observations. The median corresponds to the th percentile, (see `Percentiles' below).
Mode
The modus is the most frequent observed value.
Standard deviation
The standard deviation (as estimator for the population value ) is
The standard deviation population value for a dichotomous (binary) variable is
Variance
The variance (as estimator for the population value ) is
The variance population value for a dichotomous (binary) variable is
Percentiles
The th percentile is the value for which percent of observations is smaller or equal. For example, th percentile is the value for which holds that half of all observations are smaller or equal. This is referred to as (which is equivalent to the median).
Interquartile
The interquartile distance is
Range
The range indicates within which distance from each other with all observed values are located. It is calculated by
Z-score
The z-score, or standardized score
Linear transformation
For a linear transformation the following holds
Covariance
The covariance between and
For two dichotomous (binary) variables and , where equals the probability of a score of 1 for both and , the covariance population value equals
Pearson's (product-moment) correlation coefficient
The correlation between and