Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

#The data #In the previous lab, ``Sampling Distributions'', we looked at the population # data of houses from Ames, Iowa. Let's start by loading that

#The data

#In the previous lab, ``Sampling Distributions'', we looked at the population # data of houses from Ames, Iowa. Let's start by loading that data set.

download.file("http://www.openintro.org/stat/data/ames.RData", destfile = "ames.RData") load("ames.RData") names(ames)

Questions

# .Using the following function (which was downloaded with the data set), plot all intervals. What proportion of your confidence intervals include the true population mean? Is this proportion exactly equal to the confidence level? If not, explain why. par(mfrow = c(1, 1)) plot_ci(lower_vector, upper_vector, mean(population))

# Pick a confidence level of your choosing, provided it is not 95%. What is the appropriate critical value?

Calculate 50 confidence intervals at the confidence level you chose in the previous question. You do not need to obtain new samples, simply calculate new intervals based on the sample means and standard deviations you have already collected. Using the plot_ci function, plot all intervals and calculate the proportion of intervals that include the true population mean. How does this percentage compare to the confidence level selected for the intervals?

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

Practical Linear Algebra A Geometry Toolbox

Authors: Gerald Farin, Dianne Hansford

4th Edition

1003051219, 9781003051213

More Books

Students also viewed these Mathematics questions

Question

5. Describe how contexts affect listening

Answered: 1 week ago