[SOLVED] CS251-Assignment 10 -Central Limit theorem

30.00 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

Description

Rate this product

 

Q1 [Central Limit theorem]

  1. Create a random vector of length 50000 from an exponential distribution with LAMDA = 0.2. Create a scatter plot (point) of the sorted values.
  2. Partition the values into 500 vectors containing 100 element each.
  3. Plot cumulative distribution function (CDF) and probability density function (PDF) for first five (5) vectors. Also calculate the mean and standard deviation for each of the groups and print the values for first five.
  4. Treat means for each partition as a random variable to plot graphs for frequency, cumulative distribution function (CDF) and probability density function (PDF).
  5. Calculate the mean and standard deviation of the distribution for means.
  6. Verify that the mean and standard deviation of the distribution of sample mean values to be close to the original distribution.

 

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.