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

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

Calculate operational variances -planning variances, You have recently join...

You have recently joined XYZ, an international company that produces a wide range of office supplies and stationary goods. In your new role as Group Management Accountant your firs

Analyze anova , A nurse researcher is investigating the effect of timing of...

A nurse researcher is investigating the effect of timing of standard pain control interventions on severity of pain in adolescents with sickle-cell disease.  She establishes three

Cost accounting test, i need someon to help me do my cost accounting test

i need someon to help me do my cost accounting test

Give structural reasons for the binding dependence, Binding studies were ca...

Binding studies were carried out in which heparin was immobilized on the surface of cuvettes. The pH dependence of HPRG binding to heparin was investigated and the results are show

Marginal and absorption Costing Problem solving, can you provide me the pro...

can you provide me the problem with the solution base above?

Frequency polygon, Differentiate between Historigrams and Histogram

Differentiate between Historigrams and Histogram

Financial, on july 2,ali collected cash of Rs 700 from accounts receivable ...

on july 2,ali collected cash of Rs 700 from accounts receivable ,july 9 purchased gym equipments for 2175, paying 5500 in cash and charging the remainder on the company 30 day acco

Psuedocode, If today is a weekday and it’s not a holiday, then you go to wo...

If today is a weekday and it’s not a holiday, then you go to work. However, if it’s a weekday and a holiday, then what you do depends on the weather: If it’s raining, you play vide

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