1 Load packages 2 Motivation 3 True value of the parameter 4 Drawing samples 5 Define some constants 6 Simulating samples 6.1 SummayFunction to compute sample statistics 6.2 Run the function multiple ((k)) times 6.3 Run the summary function (k) times for all sample sizes 7 Plot the results 7.1 Estimated population mean 7.2 Width of the CI 8 Summarise the results …