1. The file P02_07.xlsx includes data on 204 employees at the (fictional) company Beta Technologies. For this problem, consider this data set as the population frame.
a. Generate a simple random sample of size 20 from this population.
b. Generate a simple random sample of size 10 from this population.
c. Calculate the population mean of Annual Salary. Then calculate the sample mean of Annual Salary for each of the samples in parts a and b.
d. What is the sampling error for each of the samples in parts a and b.
e. Comment briefly on how they compare to each other and the population measures.
Solved by A. A. in 27 mins