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

Characteristics of statistics, Mention the characteristics of Statistics. E...

Mention the characteristics of Statistics. Explain any two applications of Statistics.

Calculate the probability of coin, Q1. If you throw a coin 5 times, what is...

Q1. If you throw a coin 5 times, what is the probability of: - throwing 5 heads - throwing 4 tails - throwing 3 heads and 2 tails Q2. Construct a tree diagram to verify your ans

Determine the price rate-demand , SkyyMarley Airlines has determined that t...

SkyyMarley Airlines has determined that the price elasticity of demand for two customer segments (Coach and Business Class) is -1.35 and -2.50.  Based on their expectations of prof

The number of degrees of freedom, Use the given information to find the num...

Use the given information to find the number of degrees of? freedom, the critical values chi Subscript Upper L Superscript 2?2L and chi Subscript Upper R Superscript 2?2R?, and the

Calculate the numerical value- draw the casual tree, A, Explain how a perso...

A, Explain how a person can be free to choose but his or her choices are casually determined by past event B , Draw the casual tree for newcomb's problem when Eve can't perfectl

Dispersion, importance of dispersion in statistics

importance of dispersion in statistics

Time series, mathametical examples of components

mathametical examples of components

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