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

Introduction of management accounting, Introduction of Management Accountin...

Introduction of Management Accounting Management accounting or managing sales is worried with the conditions and use of sales details to professionals within companies, to off

Simple random sample, A simple random sample of n = 300 full-time workers i...

A simple random sample of n = 300 full-time workers is selected from a company list containing the names of all n = 5000 full-time workers in order to evaluate job satisfaction. Gi

Obtain the p-value for the value of the test statistic, A study looked at t...

A study looked at the relationship between coronary heart disease (CHD) and coffee consumption in a group of 40-55 year old men. Among the 790 heavy coffee drinkers (at least 100 c

Adjustments, office supplies on hand at year-end amounted to $100

office supplies on hand at year-end amounted to $100

ACC 557, Glaser Services acquired 30% of the outstanding common stock of Ni...

Glaser Services acquired 30% of the outstanding common stock of Nickels Company on January 1, 2008, by paying $800,000 for the 45,000 shares. Nickels declared and paid $0.30 per sh

Generally accepted accounting principles-gaap, Generally Accepted Accountin...

Generally Accepted Accounting Principles-GAAP:  GAAP is an Americanized term for the accounting standards and procedures that need to be followed by companies while compiling their

Why is an increase in inventory shown as a negative amount?, Why is an incr...

Why is an increase in inventory shown as a negative amount? A rise in stock indicates that a company has purchased more goods than it has sold. Increasing stock requires a money

Agency funds, Agency funds,define it Organization money is used to account ...

Agency funds,define it Organization money is used to account for the resources presented by the state as an agent for individuals, private companies, and other health systems. Orga

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