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

Method of analysis used by the firm, 1. (i) Complaints were made about the ...

1. (i) Complaints were made about the level of pollutants in the discharge from a certain factory.  The factory refuted the complaints by showing the results of their own analysis

Adaptations, what are flatworms adaptations

what are flatworms adaptations

Perform multiple regression, You have collected data on 4 continuous variab...

You have collected data on 4 continuous variables (diastolic BP, age, weight, and average number of minute of exercise per week)you think may be related to total cholesterol levels

Balance sheet, how to write and assignment on the balance sheet?

how to write and assignment on the balance sheet?

Hcfp test the drainage system, After successfully having navigated the LPP ...

After successfully having navigated the LPP issue, HCFP has once again for your help.  Now, they are considering implementing a new drainage system to improve water flow across the

Dc and ac circuit, A sinsodial votage source with 440v peak value dissipate...

A sinsodial votage source with 440v peak value dissipates 4.8kw ina certain resistor. calculate resistor value

Calculate the probability, The Stalk Market, an independent grocery chain, ...

The Stalk Market, an independent grocery chain, has been serving and supporting local communities for over 90 years. Its stores offer friendly service and a wide assortment of natu

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