Question: 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.

Please answer as clear and as legible as possible. Will rate highly

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!