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

Statistics question, 1. A sample from 16 different farms across Quebec show...

1. A sample from 16 different farms across Quebec shows that the hay production in bales per acre is normally distributed N(100,50). a. (2p )What is the probability that a random

Does the claim represent the null hypothesis or the alterna., A scientist c...

A scientist claims that the mean incubation period for the eggs of a species of birds is more than 46 days.

Time series, Methods of measuring secular trend

Methods of measuring secular trend

Mathematical theory in otc, All parts should be answered as briefly as poss...

All parts should be answered as briefly as possible (quality not quantity!). A few sentences will suffice. Just get your opinions across succinctly. Unnecessarily long answers will

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 b2b, Definition of B2B? This is known as the abbreviation of Busin...

Definition of B2B? This is known as the abbreviation of Business to Business. Abbreviation Of Business To Business

Sequential sampling, Sequential Sampling: This is somewhat complex sample d...

Sequential Sampling: This is somewhat complex sample design where the ultimate size of the sample is not fixed in advance but is determined according to mathematical decisions on t

Journalizing confusing transaction, How would you journalize this transacti...

How would you journalize this transaction? Purchased used truck for $6,240, paying $3,120 cash and the balance on account.

find the standard deviation, Research Question: Percentage of student...

Research Question: Percentage of students who drank a can, bottle, or glass of soda or pop (not including diet soda or diet pop) at least 1 time per day during the seven days

GENERAL ENTRY PROBLEM, could you please tell meaning of credit and debit no...

could you please tell meaning of credit and debit notes in terms of intercompany transactions.

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