Calculate the mean value and variance, Basic Statistics

Assignment Help:

1. Generate 1000 samples for each of the following discrete random variables:

(a). Binomial distribution with n=40, p=0.7, and distr. with n=50, p=0.5

(b). Geometric distribution with p=0.5 and distr. with p=0.3

(c). Poisson distribution with λ= 6 and λ= 4.5

For each class of the above distribution, plot probability mass function for each set parameters on one figure (you should have two curves on each figure and have three figures overall). In addition, you should also plot the corresponding analytical results (probability mass function curve based on distribution formulas) on the same figure. In this way, you can verify whether your simulated random variables match with analytical results. That means on each figure, there are four curves (two simulations, two analytical). Use "legend" to denote each curve, and use different line style and color for each curve (see help on plot()). You should show the X-axis with reasonable range such that the curves can be clearly seen (check wikipiedia's figures for these distributions).

In addition, calculate the mean value and variance of generated samples for each distribution (sample mean and sample variance). Compare the results with the analytical results.


Related Discussions:- Calculate the mean value and variance

Balance sheet-actual reserves , (a)   The bank's excess reserves are its ac...

(a)   The bank's excess reserves are its actual reserves less required reserves. Actual reserves are given as $450 from its balance sheet. Required reserves are given by the produc

Fertility-define the annual crude birth rate, Fertility:  In order to study...

Fertility:  In order to study at which speed, at which the population is increasing, fertility rates are used which are of various types? Important among these are: Crude birth rat

Index number, Characteristics of index number

Characteristics of index number

Do you think the change towards ifrs is a good idea, Do you think the chang...

Do you think the change towards IFRS is a good idea? Manager 1: This change is definitely going to be a very positive change. There are no doubt a lot of advantages that IFRS

Elaborate bond issue, Elaborate bond issue A reference indicating the exac...

Elaborate bond issue A reference indicating the exacting or different classification or quantity of bonds issued at a specified moment.

Help, How many different license plate of 5 digits can be made if the most ...

How many different license plate of 5 digits can be made if the most let digit is 4 and the second digit from left is an odd number

Electric fields, 2. Two disks, each of radius 10.0 cm, are charged so that ...

2. Two disks, each of radius 10.0 cm, are charged so that one has a charge of +10.0 nC and the other has a charge of -10.0 nC. The disks are then placed with their flat faces facin

How would you go about choosing a random sample, Q. Suppose a study is bein...

Q. Suppose a study is being done and the population is the American public. How would you go about choosing a random sample population to phone for a survey? Solution: One w

Individual tax accounting, need help with exercise that asks to calculate g...

need help with exercise that asks to calculate gross income, adjusted gross income and taxable income based on items1-13, which i can submit the exercise copies as soon as you tell

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd