I measure the weight of 100 people and pick 20 lots of 5 people from these 100. Therefore n = 5, repeated 20 times. The 100 people represent the population and groups of 5 people represent samples from the population.
The mean weights (kg) of my 20 samples of n = 5 are 76, 71, 81, 75, 77, 78, 91, 80, 70, 78, 72, 78, 75, 75, 79, 70, 80, 74, 75, 75.
In R, I can combine these mean weights into a vector called x
using this code:
x <- c(76, 71, 81, 75, 77, 78, 91, 80, 70, 78, 72, 78, 75, 75, 79, 70, 80, 74, 75, 75)
If I wanted to calculate the standard error of the mean weights, would I simply do the code below?
sd(x)
When we repeatedly sample from a population and calculate the standard deviation of the sampling distribution of the mean, should the standard error still be refered to as the standard error or just the standard deviation of means?