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

Operation research, Meaning and solving example using north-west corner in ...

Meaning and solving example using north-west corner in Transportation problem

Construct a stem-and-leaf diagram, An internal report issued by the marketi...

An internal report issued by the marketing manager of a oil-change franchise claims that the mean number of miles between oil changes is for franchise customers is at least 3600 mi

Statistical hypotheses - anova, Your company operates a machine shop, and, ...

Your company operates a machine shop, and, having heard you had experience in statistics and design of experiments, consulted you for your opinion on an experiment they want to run

Ploblem, free hand curve to measure secular trend

free hand curve to measure secular trend

Find the pv of the depreciation tax, PC Shopping Network may upgrade its mo...

PC Shopping Network may upgrade its modem pool. It last upgraded 2 years ago, when it spent $115 million on equipment with a life of 5 years and a salvage value of $15 million. The

Dr. s.n.de, uses of time series with example

uses of time series with example

Cost, I am struggling in my cost accounting class and I need help

I am struggling in my cost accounting class and I need help

Difference in the loss in man-hours - accidents in firms, An occupational h...

An occupational health inspector was interested in determining whether there is a difference in the loss in man-hours due to accidents  by introducing a new safety programme.  The

Obtain the critical value for a hypothesis test, Obtain the critical value ...

Obtain the critical value (or values) for a hypothesis test for the mean if you conduct: (a) an upper tail "z" test at the 1% level of significance. (b) a two-tailed "z" test

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