Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Must be done in Python Q2. Poisson as an approximation to the binomial distribution. (1) Generate 1000 random numbers from the Binomial(n-200, p-0.01) distribution and
Must be done in Python
Q2. Poisson as an approximation to the binomial distribution. (1) Generate 1000 random numbers from the Binomial(n-200, p-0.01) distribution and generate 1000 random numbers from the Poisson(=2) distribution. Do not print the two data sets. Show your Python code only. (2) Compare the mean, median, standard deviation, histogram and boxplot of the two data sets generated in part (I). What do you conclude? (3) Repeat part (1) 10, 000 times and (a) calculate the difference of the sample means for each paired data sets, and draw a histogram of these 10,000 differences; Show the average of the 10,000 differences. (b) calculate the difference of the sample standard deviations for each paired data sets, and draw a histogram of these 10,000 differences; Show the average of the 10,000 differencesStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started