You are asked to advise a researcher the estimator they should use to find the value of 0 from a set of experimental results that they know come from a Uniform (0, 0) distribution. You decide to simulate a collection of independent and identically distributed random samples of size 10 from a Uniform (0, 0) distribution. There are two different estimators that you would like to consider. Ô₁ = 2X and Ō₂ 1 = 12(n-1) 52 n where n is the sample size (a) Simulate 10,000 such samples from a Uniform (0, 20) distribution. For each sample,

A First Course in Probability (10th Edition)
10th Edition
ISBN:9780134753119
Author:Sheldon Ross
Publisher:Sheldon Ross
Chapter1: Combinatorial Analysis
Section: Chapter Questions
Problem 1.1P: a. How many different 7-place license plates are possible if the first 2 places are for letters and...
icon
Related questions
Question

c

You are asked to advise a researcher the estimator they should use to find the value of 0
from a set of experimental results that they know come from a Uniform (0, 0) distribution.
You decide to simulate a collection of independent and identically distributed random
samples of size 10 from a Uniform (0, 0) distribution. There are two different estimators
that you would like to consider.
Ô₁
2X and
-S² where n is the sample size
(a) Simulate 10,000 such samples from a Uniform (0, 20) distribution. For each sample,
calculate the value for each estimator of 0. Use the following code:
Ō₂
}
=
set.seed (6)
theta.1=rep(0,10000)
theta.2=rep(0,10000)
for (i in 1:10000) {
x=runif(10,0,20)
theta.1[i]=2*mean(x)
theta.2[i]=sqrt((12*9/10)*var(x))
12(n-1)
n
Obtain the five-number summary statistics for the samples of theta.1 and theta.2 and also
the mean and variance of the samples. (Five-number summaries are the maximum and
minimum values, the lower and upper quartiles, and the median). Give your answers to 2
decimal places.
Transcribed Image Text:You are asked to advise a researcher the estimator they should use to find the value of 0 from a set of experimental results that they know come from a Uniform (0, 0) distribution. You decide to simulate a collection of independent and identically distributed random samples of size 10 from a Uniform (0, 0) distribution. There are two different estimators that you would like to consider. Ô₁ 2X and -S² where n is the sample size (a) Simulate 10,000 such samples from a Uniform (0, 20) distribution. For each sample, calculate the value for each estimator of 0. Use the following code: Ō₂ } = set.seed (6) theta.1=rep(0,10000) theta.2=rep(0,10000) for (i in 1:10000) { x=runif(10,0,20) theta.1[i]=2*mean(x) theta.2[i]=sqrt((12*9/10)*var(x)) 12(n-1) n Obtain the five-number summary statistics for the samples of theta.1 and theta.2 and also the mean and variance of the samples. (Five-number summaries are the maximum and minimum values, the lower and upper quartiles, and the median). Give your answers to 2 decimal places.
(c) Use R to estimate the bias and mean squared error (MSE) of each estimator. (Perform
your calculations to 1 decimal place).
Transcribed Image Text:(c) Use R to estimate the bias and mean squared error (MSE) of each estimator. (Perform your calculations to 1 decimal place).
Expert Solution
steps

Step by step

Solved in 3 steps with 4 images

Blurred answer
Similar questions
Recommended textbooks for you
A First Course in Probability (10th Edition)
A First Course in Probability (10th Edition)
Probability
ISBN:
9780134753119
Author:
Sheldon Ross
Publisher:
PEARSON
A First Course in Probability
A First Course in Probability
Probability
ISBN:
9780321794772
Author:
Sheldon Ross
Publisher:
PEARSON