Question

In: Statistics and Probability

Both Xand S2 are unbiased for the Poissonλ. Which is better? Use the following steps to...

Both Xand S2 are unbiased for the Poissonλ. Which is better? Use the following steps to answer this question using R.

a) Generate 200000 random numbers from the Poisson(λ= 2) distribution and arrange them in a matrix with 20 rows. Thus you have 10000 samples of size 20.

b) Compute the 10000 sample means and sample variances and store them in objects means and vars, respectively.

c) Compute the average of the 10000 sample means and the average of the 10000 sample variances. Report the two averages. Do they support the claim that they are unbiased for λ= 2?

d) Compute the sample variance of the 10000 sample means and the sample variance of the 10000 sample variances. Report the two variances. Which estimator of λ is preferable?

Please include r code and comments

Solutions

Expert Solution

On simulation, the average of the 10000 sample means and the average of the 10000 sample variances are 2.001235 and 2.005251 respectively. They are almost equal to 2. So they are unbiased for λ= 2.

The sample variance of the 10000 sample means and the sample variance of the 10000 sample variances are 0.1003848 and 0.5263973 respectively/ They are very different from 2. So they are not unbiased for λ= 2.

So, sample mean x̄ is the preferred estimator of λ.

R code is given below


Related Solutions

Both X and S2 are unbiased for the Poisson λ. Which is better? Use the following...
Both X and S2 are unbiased for the Poisson λ. Which is better? Use the following steps to answer this question. a) Generate 200000 random numbers from the Poisson(λ = 2) distribution and arrange them in a matrix with 20 rows. Thus you have 10000 samples of size 20. b) Compute the 10000 sample means and sample variances and store them in objects means and vars, respectively. c) Compute the average of the 10000 sample means and the average of...
Justify the following: Ture or False 1.)A good point estimate is both unbiased and has small...
Justify the following: Ture or False 1.)A good point estimate is both unbiased and has small standard deviation. 2.)The confidence level C is NOT the probability that the true parameter values is contained in a specified confidence interval. 3.)If you took 100 samples and computed 95% confidence intervals for (u) in each. Approximatley 95% of the confidence intervals will contain the true parameter value. 4.) It is useless to compute a confidence interval using census data.
Determine the bond orders for the following species: S22-, S2-, S2, S2+, S22+.
Determine the bond orders for the following species: S22-, S2-, S2, S2+, S22+.
What is an unbiased estimator? Try to use own words describing this method or use an...
What is an unbiased estimator? Try to use own words describing this method or use an example to describe it.
Given the following data, determine which machine is better. Use the B/C method, a study period...
Given the following data, determine which machine is better. Use the B/C method, a study period of 10 years, and a MARR of 10%. Machine A Machine B First cost: Salvage value: Annual receipts: Annual disbursements: $20,000 2,000 150,000 138,000 $30,000 0 180,000 170,000 Determine the B/C values for each machine by using both the conventional and the modified formulations.
Which one of the following is not unbiased estimators Sample Variances Sample Means Sample Medians Sample...
Which one of the following is not unbiased estimators Sample Variances Sample Means Sample Medians Sample Proportions Adults have IQ scores that are normally distributed with a mean of 100 and a standard deviation of 15. Find the probability that a randomly selected adult has an IQ that is greater than 115. 0.3174 0.1587 0.2015 0.8413 The random variable X has the following probability distribution. x 0 1 2 P(x) 0.3 0.4 0.3 The variance of this distribution is 0.1...
Which of the following are steps in the process of determining which elements are present in...
Which of the following are steps in the process of determining which elements are present in stars? (Select all that apply.) Plot the spectra of stars and measure the wavelengths at which absorption lines occur. Collect a sample of gas from a star. Match features in the spectra to known atomic lines of different elements. Identify the wavelength with the maximum intensity in the star's spectrum. Which of the following statements best completes the sentence: "When an atom absorbs a...
Describe a situation in which it might be better to use the sample median rather than...
Describe a situation in which it might be better to use the sample median rather than the sample mean to predict the population mean of a random variable Y , µY .
Describe a situation in which it might be better to use the sample median rather than...
Describe a situation in which it might be better to use the sample median rather than the sample mean to predict the population mean of a random variable Y , µY .
Describe a situation in which it might be better to use the sample median rather than...
Describe a situation in which it might be better to use the sample median rather than the sample mean to predict the population mean of a random variable Y , µY .
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT