Question

A friend is behind the computer generating values from X∼Exp(λ), but won’t tell you whatλis. She...

A friend is behind the computer generating values from X∼Exp(λ), but won’t tell you whatλis. She will, however, tell you 35 different random values from the distribution,X1 through X35.

1. Explain what the population and parameter are for this setting.

2. Based on the data your friend gives, you decide your best guess forλshould be 1/X, where X=(X1+···+X35)/35 is the average of the 35 numbers. Explain why this is a reasonable statistic to use based on your knowledge of the exponential distribution

3.For a particular set of 35 random values, your statistic equals some number (hopefully nearλ). As you explore 35 new values, you get a (potentially) different value for your statistic. The sampling distribution shows all the possible values for the statistic and how likely they are. Create a rough picture of the sampling distribution for 1/X by generating 10000 different sets of 35 numbers,and for each set, finding 1/X. Use Exp(λ= 13) when generating numbers. Include your code and a sketch of the sampling distribution.

4.What shape does the sampling distribution appear to have and where does it appear to be centered?

Homework Answers

Answer #1

1) The population is exponentially distributed with rate = lambda

2) We know that when Xi ~ exp(lambda)

then the MLE (maximum likelihood estimator) of lambda is 1/X

where, X = (X1 + X2 + .... + X35)/35

3)

#### R Statistical Software ####
n = 35
estimates = c()
for(i in 1:10000){
sample = rexp(n, rate = 13)
lambda_hat = 1/mean(sample)
estimates = c(estimates, lambda_hat)
}
hist(estimates)

4) the distribution is positively skewed, it is centred around 13.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Poisson Distribution: p(x, λ)  =   λx  exp(-λ) /x!  ,  x = 0, 1, 2, ….. Find the moment generating function Mx(t)...
Poisson Distribution: p(x, λ)  =   λx  exp(-λ) /x!  ,  x = 0, 1, 2, ….. Find the moment generating function Mx(t) Find E(X) using the moment generating function 2. If X1 , X2 , X3  are independent and have means 4, 9, and 3, and variencesn3, 7, and 5. Given that Y = 2X1  -  3X2  + 4X3. find the mean of Y variance of  Y. 3. A safety engineer claims that 2 in 12 automobile accidents are due to driver fatigue. Using the formula for Binomial Distribution find the...
Let X1, . . . , Xn be i.i.d from pmf f(x|λ) where f(x) = (e^(−λ)*(λ^x))/x!,...
Let X1, . . . , Xn be i.i.d from pmf f(x|λ) where f(x) = (e^(−λ)*(λ^x))/x!, λ > 0, x = 0, 1, 2 a) Find MoM (Method of Moments) estimator for λ b) Show that MoM estimator you found in (a) is minimal sufficient for λ c) Now we split the sample into two parts, X1, . . . , Xm and Xm+1, . . . , Xn. Show that ( Sum of Xi from 1 to m, Sum...
Gaussian random values. Experiment with the following function for generating random variables from the Gaussian distribution,...
Gaussian random values. Experiment with the following function for generating random variables from the Gaussian distribution, which is based on generating a random point in the unit circle and using a form of the Box-Muller formula (see Exercise 1.2.24) def gaussian(): r = 0.0 while (r >= 1.0) or (r == 0.0): x = -1.0 + 2.0 * random.random() y = -1.0 + 2.0 * random.random() r = x*x + y*y return x * math.sqrt(-2.0 * math.log(r) / r) Take...
(NOTE: This problem has two parts. BUT the second part will appear ONLY AFTER you have...
(NOTE: This problem has two parts. BUT the second part will appear ONLY AFTER you have answered the first part correctly.) Rework problem 31 in section 4.2 of your text, involving the selection of two numbers. Assume that you select two 4-digit numbers at random from the set of consecutive integers from 0000 through 9999. The selections are made with replacement and are independent of one another. If the two numbers are the same, you make $850. If they are...
1. Create a PDF table and calculate expected value. A friend offers you a game to...
1. Create a PDF table and calculate expected value. A friend offers you a game to play where you pay him $10. You roll a fair 6-sided die. If the roll of a comes up as 1, 2, 3 he pays you $5. If the roll is 4 or 5 he pays you $7 and if it is a 6 he pays you $20. In words, define the random variable X. ? Construct a PDF table. If you play this...
In Problems 1 - 3, assume that the population of x values has an approximately normal...
In Problems 1 - 3, assume that the population of x values has an approximately normal distribution. Answers may vary slightly due to rounding to TWO decimals: (a) What is the level of significance? State the null and alternate hypothesis. (b) What sample distribution will use? Write the formula for test statistic and find the value? (c) Find the P-Value of the test statistic. (d) Sketch the graph of sampling distribution and show the area corresponding to P-Value. (e) Based...
1)A population of values has a normal distribution with μ=74.3μ=74.3 and σ=37.4σ=37.4. You intend to draw...
1)A population of values has a normal distribution with μ=74.3μ=74.3 and σ=37.4σ=37.4. You intend to draw a random sample of size n=137n=137. Find the probability that a single randomly selected value is less than 72.1. P(X < 72.1) = Find the probability that a sample of size n=137n=137 is randomly selected with a mean less than 72.1. P(¯xx¯ < 72.1) = (Enter your answers as numbers accurate to 4 decimal places.) 2)CNNBC recently reported that the mean annual cost of...
Let x represent the dollar amount spent on supermarket impulse buying in a 10-minute (unplanned) shopping...
Let x represent the dollar amount spent on supermarket impulse buying in a 10-minute (unplanned) shopping interval. Based on a certain article, the mean of the x distribution is about $35 and the estimated standard deviation is about $7. (a) Consider a random sample of n = 80 customers, each of whom has 10 minutes of unplanned shopping time in a supermarket. From the central limit theorem, what can you say about the probability distribution of x, the average amount...
Let x represent the dollar amount spent on supermarket impulse buying in a 10-minute (unplanned) shopping...
Let x represent the dollar amount spent on supermarket impulse buying in a 10-minute (unplanned) shopping interval. Based on a certain article, the mean of the x distribution is about $25 and the estimated standard deviation is about $8. 1. Consider a random sample of n = 70 customers, each of whom has 10 minutes of unplanned shopping time in a supermarket. From the central limit theorem, what can you say about the probability distribution of x, the average amount...
R Code Directions: All work has to be your own, you may not work in groups....
R Code Directions: All work has to be your own, you may not work in groups. Show all work. Submit your solutions in a pdf document on Moodle. Include your R code (which must be commented and properly indented) in the pdf file. Name this pdf file ‘your last name’-HW5.pdf. Also submit one text file with your R code, which must be commented and properly indented. You may only use ‘runif’ to generate random numbers; other random number generating functions...