Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Please answer as clear and as legible as possible. Will rate highly for quality answer, thank you. PART A: LAB QUESTION L1. [Confidence interval (CI)

Please answer as clear and as legible as possible. Will rate highly for quality answer, thank you.

image text in transcribed
PART A: LAB QUESTION L1. [Confidence interval (CI) for p:] Suppose we want to construct 100 confidence intervals (CIs) with confidence level (1 - a) 100% = 95% for the unknown population mean u of a normal distribution using the following steps: Step 1. Generate and store in columns c6-c30 100 random samples of size 25 each from the normal distribution with parameters p = 4, o = 7 as follows: random 100 c6-c30; normal 4 7. Step 2. Use columns c4 and c5 to store respectively the means and the standard deviations of the 100 samples you generated in Step 1 as follows: rmean c6-c30 c4 rstd c6-c30 c5 Step 3. Store the lower bound and the upper bound of your 95% CIs in c2 and c3 respectively by typing successively: let c2=c4-2.064*c5/5 let c3=c4+2.064*c5/5 Then create a column cl containing 1 or 0 according to whether the corresponding interval [c2, c3] covers u or not, by typing: let cl=(c2 =4) Finally sum up the entries of column cl to find how many CIs cover the value p = 4 by typing: tally cl (a) What is the percentage of confidence intervals that contain the true value / = 4? (b) How do you compare this percentage to the confidence level 95%

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Entrepreneurship

Authors: Andrew Zacharakis, William D Bygrave

5th Edition

1119563097, 9781119563099

Students also viewed these Mathematics questions

Question

List some benefits of using project management techniques.

Answered: 1 week ago