The dataset imagpop contains information about 10000 people from an imaginary population. One of the variables is math, which indicates whether the individual was a mathematics major. You can see the distribution of math majors in the population in the row percents shown below: rowPerc(xtabs(~math,data=imagpop)) ## no yes Total
Small Sample Size
The dataset imagpop contains information about 10000 people from an imaginary population. One of the variables is math, which indicates whether the individual was a mathematics major. You can see the distribution of math majors in the population in the row percents shown below:
rowPerc(xtabs(~math,data=imagpop))
## no yes Total
## 95.37 4.63 100.00
Suppose you were interested in the following
Research Question: Are quantitative skills an important part of your job?
You decide to quickly take a simple random sample of size 10 from this population. You can see the distribution of math majors in the sample below:
set.seed(2014)
smallsamp<-popsamp(n=10,pop=imagpop)
rowPerc(xtabs(~math,data=smallsamp))
## no yes Total
## 100 0 100
Which of the following statements best describes a problem that may arise in this scenario?
Given information:
Given that the dataset contains 10000 people from an imaginary population in which math is a variable. This variable indicates whether an individual was a mathematics major or not.
Step by step
Solved in 2 steps