Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Statistics and Probability Expert

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.

Statistics and Probability, Statistics

  • Category:- Statistics and Probability
  • Reference No.:- M9530248

Have any Question?


Related Questions in Statistics and Probability

A study was conducted concerning the use of glvoes among

A study was conducted concerning the use of glvoes among the nurses with 15 years or more experience. The study showed that only 1/6 of these nurses wear gloves during vascular access procedures. For a sample n=36 nurses ...

Researchers randomly assigned 25 beginning students of

Researchers randomly assigned 25 beginning students of Russian to begin speaking practice immediately and another 25 to delay speaking for 4 weeks. At the end of the semester both groups took a standard test of comprehen ...

Given the following values 20 m 16 07 conduct a

Given the following values: = 20, M = 16, = 0.7, conduct a one-sample z test at a .05 level of significance. What is the decision for a two-tailed test? A) to reject the null hypothesis B) to retain the null hypothesis C ...

According to bottledwaterorg per capita consumption of

According to bottledwater.org, per capita consumption of bottled water in the U.S. in 2012 was reported to be 30.8 gallons. Assume that the amount of bottled water consumed per person is Normally distributed with mean 30 ...

During the period from 2011 through 2015 the annual returns

During the period from 2011 through 2015 the annual returns on small U.S. stocks were -3.34 percent, 19.21 percent, 46.95 percent, 2.91 percent, and -4.10 percent, respectively. What would a $1 investment, made at the be ...

Describe the steps you tookthere are 652 males 396 say they

Describe the steps you took. There are 652 males, 396 say they have been to dentist in past year. Give a confidence interval for 90% of the population proportion.

Please help me study by helping me with this questionnbspif

Please help me study by helping me with this question. If D 0  = $3.50, g (which is constant) = 6.0%, and P 0  = $80, what is the stock's expected dividend yield for the coming year? The formula for calculating the first ...

Assume that you deposit 1293 each year for the next 15

Assume that you deposit $ 1,293 each year for the next 15 years into an account that pays 10 percent per annum. The first deposit will occur one year from today (that is, at t = 1) and the last deposit will occur 15 year ...

Breeding records reveal that 1 out of every 8 puppies of a

Breeding records reveal that 1 out of every 8 puppies of a certain Welsh Corgi female are runts. Since these puppies can't be sold for full price, we wish to examine the frequency with which this condition is likely to o ...

A company making refrigerators strives for the internal

A company making refrigerators strives for the internal temperature to have a mean of 37.5 degrees with a standard deviation of 0.6 degrees, based on samples of 100. A sample of 100 refrigerators have an average temperat ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As