Formulas, Statistical Tables and R Commands: Formulas
Formulas normal distribution - z- and t-tests
-score
The z-score for an observation of random variable is
For -scores it holds that en . If is normally distributed, then follows a standard normal distribution and for observations of it holds that
The -values for the standard normal distribution can be found in Table 1.
Proportions
Standard error for a proportion with known population value
Standard error for a proportion with unknown population value
- confidence interval for one proportion
where (-score corresponding to the selected confidence level (for example for a confidence level of 95%).
Minimal sample size to estimate a population proportion
where is the estimated proportion, the margin of error and the -score corresponding to the selected confidence level (for example for a confidence level of 95%).
-test for one proportion
where is the expected proportion under the null hypothesis.
Standard error for the difference between two proportions
where is the observed proportion based on observations in sample 1 and the observed proportion based on observations in sample 2.
confidence interval for the difference between two proportions
where (-score corresponding to the selected confidence level (for example for a confidence level of 95%).
-test for the difference between two independent proportions
where is the standard error under the null hypothesis. If the null hypothesis assumes , then
where (referred to as the pooled proportion).
-test for the difference between two dependent proportions - McNemar's test
With denoting the number of observations with a score of 0 on variable and a score of 1 on variable , and denoting the number of observations with a score of 1 onvariable and a score of 0 on variable :
see:
Means
Expected value for a mean
Standard error for a mean with known population variance
Standard error for a mean with unknown population variance
confidence interval for one mean
where for a -distribution with degrees of freedom (-score corresponding to the selected confidence level).
Minimal sample size to estimate a population mean
where is the (expected) standard deviation in the population, the margin of error and the -score corresponding to the selected confidence level (for example for a confidence level of 95%).
-test for one independent mean
is the mean population value expected under the null hypothesis. If the null hypothesis holds and is normally distributed, then follows a -distribution with degrees of freedom.
Standard error for the difference between two means
-test for the difference between two independent means with unequal population variances
If and are independent and normally distributed, approximately follows a -distribution with degrees of freedom
-test for the difference between two independent means with equal population variances
with
where
is referred to as the pooled standard deviation. If and are independent and normally distributed with equal variances, follows a -distribution with degrees of freedom.
confidence interval for the difference between two independent means
The degrees of freedom and depend on whether the population variances are assumed to be equal or not, see the previous formulas for the appropriate method of calculation.
Standardized effect sizes for the difference between two means
where can refer to the pooled standard deviation or the standard deviation of either one of the samples.
- small effect
- medium effect
- large effect
-test for paired samples (two dependent means)
where
and degrees of freedom.
- confidence interval for paired samples
with degrees of freedom.
Unlock full access