Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 2: Monte Carlo Simulation In previous labs, we have generated lots of samples and their corresponding confidence intervals for a parameter , then checked

Problem 2: Monte Carlo Simulation In previous labs, we have generated lots of samples and their corresponding confidence intervals for a parameter , then checked to see the proportion of the intervals that captured - the coverage. We saw coverage was 1 . Now conduct a similar task, but this time generate the test statistic associated with each sample, then, see how often the test statistic falls in the rejection region. Consider samples of size n = 30 from N( = 8, = 1). We wish to test H0 : = 8 vs. HA : < 8 at significance level = 0.05. a) Assuming the variance is unknown, what is the test statistic you would use for this hypothesis? b) What is the sampling distribution of this test statistic? Use this value along with = 0.05 to compute the rejection region.

c) Generate a large number of samples. Compute and store the test statistic for each sample. For each sample, generate the data from N( = 8, = 1), but compute your test statistic under the assumption that is unknown. d) Check to see how often your test statistics fell in the rejection region. Explain your answer and how it compares to the idea of confidence interval coverage. e) Plot the sampling distribution of your test statistics to verify it resembles the distribution you described in part b. Problem 3: Another Simulation Repeat problem 2 under the following circumstances. Consider samples of size n = 19 from N( = 8, = 1). We wish to test H0 : 2 = 1 vs. HA : > 1 at significance level = 0.01.

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

The Art Of Proof Basic Training For Deeper Mathematics

Authors: Matthias Beck, Ross Geoghegan

1st Edition

1441970231, 9781441970237

More Books

Students also viewed these Mathematics questions

Question

Why is failing to reject ????0 often an unreliable decision?

Answered: 1 week ago