(Code in Place) Final Project Central Limit Theorem (Simulation with Gaussian Mixture Distributions)

by Ruben W


Generate 1 of 3 types of populations (normal, bimodal and skewed) with a density plot. Takes a samples of sample sizes n, compute the mean and sd and repeat it k times. As you can see, the histogram of the k means follows a density of a normal distribution. -> Central limit theorem! :) Use it with 3 < n < 50 and 1.000 < k < 10.000 because of perfomance issues ! (PS: Sorry for the 5 min, but I do not speak English so fast and well.)