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

Construct confidence interval for the true mean return, A researcher has ga...

A researcher has gathered data on the daily returns on a portfolio of call options over a recent 250-day period. The mean daily return has been 0.001 and the sample standard deviat

Accounts receivable solutions, Volumes due from personal individuals or com...

Volumes due from personal individuals or companies for products, and/or solutions equipped by the condition. Records Receivable does not involve amounts due from other companies, r

Define Allocate , Define Allocate To split a lump-sum appropriation into p...

Define Allocate To split a lump-sum appropriation into parts that are specific for expenses by particular government models and/or for particular requirements, actions, or things.

Examine group profiles and report the descriptive statistic, Use your data ...

Use your data to perform the following tasks. 1.  Based on the variables, construct a design that consists only main effects of one categorical IV and at least two continuous DV

What is owner’s equity, What is owner’s equity? Owner’s value is on...

What is owner’s equity? Owner’s value is one of the three primary elements of a single proprietorship’s stability piece and bookkeeping situation. Owner’s value symbolizes

Estimate the variables-statistically significant, The dataset also contains...

The dataset also contains a variable y , which is the dependent variable of interest, as well as x1 , x2 , x3 , x4 , x5 , and x6 , all explanatory variables that are potentially

Price level change, how effect changes in prices to a financial statement?

how effect changes in prices to a financial statement?

Peanuts and cost accounting, EFF EX: Joe, you said you put in these peanuts...

EFF EX: Joe, you said you put in these peanuts because some people ask for them, but do you realise what this rack of peanuts is costing you? JOE: It ain''t gonna cost. ''sgonna be

Journal entries on perpetual inventory system, I have to set up a chart for...

I have to set up a chart for a perpetual system. How Do I do this with credit card sales?

Moving average, #questionhow does one calculate a four period centered movi...

#questionhow does one calculate a four period centered moving average given the sales per quarter for 3 years ..

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