Question: Based on a given data set and chosen variable, please provide the codes for the following questions in R studio 1. choose a random sample
Based on a given data set and chosen variable, please provide the codes for the following questions in R studio
1. choose a random sample of size 90
2. using the sample data calculate point estimates of the pop-mean, pop-sd, and pop-max.
3. choose the first 90 students as your non-random sample
4. using the non-random sample data calculate point estimates of the pop-mean, pop-sd, and pop-max.
5. compare the error size under random and non-random sampling schemes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
