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

Amplification, Amplification is the process by which the magnitudes of the ...

Amplification is the process by which the magnitudes of the variable quantity is increasing, especially the magnitude of voltage, current or power, without changing any other quant

calculate the merger premium, Consider the following pre-merger informatio...

Consider the following pre-merger information concerning two firms, Mokhaba Manufacturers and Mabhida Merchants:  Data

Appropriate relationship of varibles, How to write it with business implica...

How to write it with business implication of the analysis?

Accounting equation, goods returned by a customer Rs 2000 costing Rs 1900

goods returned by a customer Rs 2000 costing Rs 1900

Find karl pearson''s correlation coefficient, Find Karl Pearson's correlati...

Find Karl Pearson's correlation coefficient between the sales and expenses from the data given below:

Probability, Mike sells on the average 15 newspapers per week (Monday – Fri...

Mike sells on the average 15 newspapers per week (Monday – Friday). Find the probability that 2.1 In a given week he will sell all the newspapers

Compute the value for the test statistic-spss, A number of years ago the Am...

A number of years ago the American Academy of Pediatrics recommended that tetracycline drugs not be used for children under the age of 8. Prior to this recommendation, a two-year s

Hypothesis and spss, The purpose of this activity is to help you learn how ...

The purpose of this activity is to help you learn how to enter data into SPSS by yourself.  You will use SPSS via Acadlabs.  You will discuss this activity in your group and will t

Systematic sampling, Where an element of randomness is introduce by suing r...

Where an element of randomness is introduce by suing random numbers to pick up the unit with which to start this process of sampling is known as systematic sampling.

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