Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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 differences

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine M Ricardo, Susan D Urban

3rd Edition

1284056945, 9781284056945

More Books

Students also viewed these Databases questions