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

Relevant costs to decision-making , Foster Company makes 20,000 units per y...

Foster Company makes 20,000 units per year of a part it uses in the products it manufactures. The unit product cost of this part is computed as follows: Direct materials $24.70 Dir

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

Essentials of statistics for behavioral sciences, it seems that 14% of enga...

it seems that 14% of engaged women buy a wedding dress at least one size smaller than their current size

Average velocity profile-actual velocity profile, 1)  You are developing a ...

1)  You are developing a sampling protocol whereby you're going to insert a probe into a turbulent flow in a circular conduit of radius R. a. Using a description of a velocity p

Define Ancillary costs, Define Ancillary costs Expenditures that is direct...

Define Ancillary costs Expenditures that is directly attributable to resource acquisition, such as freight and transportation costs, site preparation costs, and professional charg

Co-relation, Co-relation: Co-relation in this case studies the behavior how...

Co-relation: Co-relation in this case studies the behavior how each of the investment opportunity would react to any event vis – a vis each other. The same is measured in terms of

Factor anaylsis statistical method , First of all, thank you very much for ...

First of all, thank you very much for your help. I have a mixes data base, categorial variable, liclekt scale on 5 and 4, and continous variable, and several dummy. I would need h

Pearsons chi square, difference between tests of goodness of fit & tests of...

difference between tests of goodness of fit & tests of independence

Type of correlation, Which type of correlation would be appropriate to calc...

Which type of correlation would be appropriate to calculate for the each of the following sets of data? A.   Correlating gender and year in college (freshman, sophomore, junior,

Journal entries on perpetual inventory system, I have to set up a chart for...

I have to set up a chart for a perpetual system. How Do I do this with credit card sales?

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