Population Sampling And Hypothesis Testing In R