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

binomial problem-replication strategy, It is 11:30pm on Thursday evening, ...

It is 11:30pm on Thursday evening, New York City time. You are still recovering from your long haul flight from Sydney which arrived at JFK only hours ago. Thank your favourite dei

12 questions, normal distribution and the sampling distributions of sample ...

normal distribution and the sampling distributions of sample proportions and sample means, but without confidence interval

Accreted value definition, An assessment time frame for certain purchases a...

An assessment time frame for certain purchases and debt equipment that reviews on the stability piece only that part of their face value that shows major and interest acquired curr

Analyze data using chi-square test , Analyze the given data using chi-squar...

Analyze the given data using chi-square test and see if it fits the expected 9:3:3:1 F 2 phenotypic ratio.   Ho: Null hypothesis: The F 2 phenotypic ratio follows the

Measures of central tendency, List down various measures of central tendenc...

List down various measures of central tendency and explain the difference between them?

Nuclear spin, Nuclear spin All nucleons (protons or neutrons) are spin par...

Nuclear spin All nucleons (protons or neutrons) are spin particles. They have spin odd half multiple of h = (h/2p) they follow Fermi disc statistics or Pauli’s exclusion principle

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

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