This document contains code to generate random samples from two populations and calculate their distributions. It first generates a population from 1 to 100, takes a random sample of 12 numbers, and replicates taking the mean of 100 samples to create a distribution. It then splits the population into two strata from 1 to 50 and 51 to 100, takes random samples of 6 from each strata 100 times, and creates separate distributions for each strata sample mean.
This document contains code to generate random samples from two populations and calculate their distributions. It first generates a population from 1 to 100, takes a random sample of 12 numbers, and replicates taking the mean of 100 samples to create a distribution. It then splits the population into two strata from 1 to 50 and 51 to 100, takes random samples of 6 from each strata 100 times, and creates separate distributions for each strata sample mean.
This document contains code to generate random samples from two populations and calculate their distributions. It first generates a population from 1 to 100, takes a random sample of 12 numbers, and replicates taking the mean of 100 samples to create a distribution. It then splits the population into two strata from 1 to 50 and 51 to 100, takes random samples of 6 from each strata 100 times, and creates separate distributions for each strata sample mean.