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

X2 test uses, The  χ 2  test is one of the most popular statistical infe...

The  χ 2  test is one of the most popular statistical inference procedures today. It is applicable to a very large number of problems in practice which can be summed up under th

Types of assets, explain different types of assets..

explain different types of assets..

TRENDS , Why do we particularly omit the middle year when using the semi-av...

Why do we particularly omit the middle year when using the semi-average method to fit a trend line

Inventory, An audit of the accounting records of Loch Ness Ltd. for the ye...

An audit of the accounting records of Loch Ness Ltd. for the year ending 30 June 2012 discovered that the ending inventory balance was over-valued by $35,000

Drawing a Diamond Card Question, Find the probability of drawing a diamond ...

Find the probability of drawing a diamond card in each of the consecutive draws from a well shuffled pack of cards, if the card drawn is not replaced after the first draw

Ashland multicomm services, Given all the evidence that you have collected ...

Given all the evidence that you have collected from all your surveys of 50 prospective customers, answer the question will full explanation. How many free premium channels should

Correlation analysis and coefficient, Individual Music scores Mathematics s...

Individual Music scores Mathematics scores Angela 2 8 Arthur 6 3 Peter 4 9 Mike 5 7 Barbara 7 2 Jane 7 3 Jean 2 9 Ruth 3 8 Alan 5 6 Theresa 4 7 Assess the data using a Correlation

What after the implementation of ifrs, What after the implementation of IFR...

What after the implementation of IFRS?  Manager 1: IFRS is only the first step towards the change that the SEC is trying to bring in. Firstly it is going to take a couple of year

Projectile, a ball is projected so as to attain a maximum range. Find the m...

a ball is projected so as to attain a maximum range. Find the maximum height attained if initial velocity is u

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