Download How$to$Calculate$Mean,$Standard$Deviation

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Degrees of freedom (statistics) wikipedia , lookup

Bootstrapping (statistics) wikipedia , lookup

Confidence interval wikipedia , lookup

Taylor's law wikipedia , lookup

German tank problem wikipedia , lookup

Student's t-test wikipedia , lookup

Transcript
How to Calculate Mean, Standard Deviation (SD), Standard Error of the Mean (SEM), and 95% Confidence Interval for a Sample of Values 1. Sample Mean A sample is a collection of measurements or values. The sample mean is the average value in a sample. It is calculated using the following equation: !
𝑥 = !
𝑥̅ = mean x = individual sample values n = number of values in the sample Σ = sum To calculate the sample mean: 1. Sum all the values (x) in a given sample. 2. Divide the sum by the number (n) of values in the sample. x 23 27 29 23 25 21 24 27 25 26 ∑ 𝑥= 250 ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !!"
𝑥̅ = ! ! ! ! ! ! ! ! !
!
!"!!"!!"!!"!!"!!"!!"!!"!!"!!" 𝑥̅ = !"
2. Sample Standard Deviation (SD) The SD is a measure of the variability of individual values in that sample from the sample mean. It is calculated using the following equation: s=
!!! !
!!!
𝑥̅ = mean x = individual sample values n = number of values in the sample s = standard deviation To calculate the sample SD: 1. Subtract the mean from each value. 2. Square the difference. 3. Sum the squared deviations for each value. 4. Divide the summed deviations by (n – 1). 5. Calculate the square root.
x 23 27 29 23 25 21 24 27 25 26 ∑ 𝑥= 250 (𝑥 − 𝑥̅ )2 (23 − 25)! = 4 (27 − 25)! = 4 (29 − 25)! = 16 (23 − 25)! = 4 (25 − 25)! = 0 (21 − 25)! = 16 (24 − 25)! = 1 (27 − 25)! = 4 (25 − 25)! = 0 (26 − 25)! = 1 ∑(𝑥 − 𝑥̅ )2 = 50
∑(!!!̅ )!
s = !
!!!
!"
=! = 2.356 !
3. Standard Error of the Mean (SEM or 𝑆𝐸! ) If you were to take many samples from a population, each sample mean would be slightly different. All the sample means would be normally distributed around the population mean. The SEM or 𝑆𝐸! is the standard deviation of the distribution of these sample means. You can estimate the 𝑆𝐸! from a single sample mean using the equation below. As you can see from the equation, a larger sample size leads to a lower 𝑆𝐸! and a smaller sample size leads to a larger 𝑆𝐸! . 𝑥̅ = mean n = number of values in the sample s = standard deviation !
𝑆𝐸! = ! !.!"#
𝑆𝐸! = !"
= 0.75 4. 95% Confidence Interval (95% CI) The sample mean is an estimate of the population mean. How good an estimate? Based on your sample, you can estimate the range of values (or interval) likely to contain the actual population mean. This range is called the confidence interval. You can calculate the confidence interval at different confidence levels. The 95% confidence interval tells you that if you collected many samples from the same population, the population mean would be within the 95% confidence interval for each sample 95% of the time. In this lab we will calculate 95% CI as 2 × 𝑆𝐸! . Note that this is just an approximation of the actual formula. 95% CI = 2 × 𝑆𝐸! = 2 × 0.75 = 1.5