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

Direct costing and absorption costing, why is net profit always greater in ...

why is net profit always greater in absorption costing than in direct costing?

Difference between an unadjusted trial balance and an adjust, Difference be...

Difference between an unadjusted trial balance and an adjusted trial balance? The variations between unadjusted test stability and altered test stability are the amounts registe

Define accounting Actuarial basis , A basis used in processing the quantity...

A basis used in processing the quantity of advantages to be created regularly to a finance or consideration so that the complete advantages plus the complicated income thereon will

Probability distribution, In a mathematics examination the average grade wa...

In a mathematics examination the average grade was 82 and the standard deviation was 5. all students with grade from 88 to 94 received grade of B. if the grade are approximately no

Estimate the expected monetary value, 3DP, a Luxembourg-based company plans...

3DP, a Luxembourg-based company plans to develop and sell highly specialized 3D printers. The cost of product development is estimated at EUR 50,000.-, irrespective of whether or n

Obtain the p-value for the value of the test statistic, A study looked at t...

A study looked at the relationship between coronary heart disease (CHD) and coffee consumption in a group of 40-55 year old men. Among the 790 heavy coffee drinkers (at least 100 c

Valuing preferred stock, Gesto, Inc., has an issue of preferred stock outst...

Gesto, Inc., has an issue of preferred stock outstanding that pays a $4.50 dividend every year, in perpetuity. If this issue currently sells for $79.85 per share, what is the requi

Books of original entry, Books of original entry Books of original entranc...

Books of original entry Books of original entrance are a record in which the various or many other transactions are initially and formally recorded and serve up as the straight so

Question, In a survey of 284 smokers, 197 smokers reported that they wanted...

In a survey of 284 smokers, 197 smokers reported that they wanted to quit smoking. Compute a 90% confidence interval for the true proportion of smokers that want to quit smoking.

Ransfer pricing, what are the different types of transfer pricing?

what are the different types of transfer pricing?

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