To compare the proportion of right-handed students in the sample to those in the population, create two pie charts, one for handedness in the population and one for handedness in the random sample.
Suppose that 10% students are not right - handed. For population size 100 the pie chart will be:
Let we select 10% of sample :
Suppose that 10% students are not right - handed. For sample size 10 the pie chart will be:
Here are the R code used for this :
> pie(c(10,90),labels=c("NOT RIGHT HANDEDNESS","RIGHT
HANDEDNESS"),main="Pie Chart forproportion of right-handed students
those in the population" )
> pie(c(10,90),labels=c("sample selected"))
pie(c(1,9,90),labels=c("NOT RIGHT HANDEDNESS","RIGHT HANDEDNESS"),main="Pie Chart for proportion of right-handed students those in the sample" )
Get Answers For Free
Most questions answered within 1 hours.