Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use the R command x1mat= matrix(rweibull(50000, shape=1, scale=1), nrow=500) to simulate random Weibull distributed values with = 1 and = 1. The matrix x1mat has

Use the R command x1mat= matrix(rweibull(50000, shape=1, scale=1), nrow=500) to simulate random Weibull distributed values with = 1 and = 1. The matrix x1mat has 500 rows, each of which is a sample of size n = 100 from the Weibull distribution. Therefore, x1mat contains 500 replications of Weibull distributed data. Then calculate mean for the histograms in the questions below with x1matmn = apply(x1mat[,-1], 1, mean).

1. On the histogram, overlay the density (PDF as a line graph) of 500 randomly drawn values from the normal distribution with estimated sample mean and sample variance from x1matmn. Give the estimated mean and standard deviation. (Note these are the model-free estimates). Is the normal distribution a good estimate for the distribution of the means? Explain.

2. On the histogram, overlay the density (PDF as a line graph) of 500 randomly drawn values from the normal distribution with the mean and variance of the mean from the Weibull distribution (Hint: Use the mean and variance for the exponential distribution since = 1). Give the mean and standard deviation of the mean. (Note these are the model-based estimates). Is the normal distribution a good estimate for the distribution of the means? Explain.

3. Interpret the histogram with the overlayed densities. Add a legend to the plot so that the models can be identified. Give the plot. Which distribution provides the best estimate to the distribution of the means? Explain.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Principles Of Accounting Volume 1 Financial Accounting

Authors: Mitchell Franklin, Patty Graybeal, Dixon Cooper, OpenStax

1st Edition

1593995946, 978-1593995942

More Books

Students also viewed these Accounting questions

Question

Define interpersonal skills as a management function. LO.1

Answered: 1 week ago

Question

How do you think this problem should be treated?

Answered: 1 week ago

Question

Complete the following table for Able and Baker car hop. ABLE BAKER

Answered: 1 week ago

Question

b. A workshop on stress management sponsored by the company

Answered: 1 week ago