Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi Can you help with this assignment, I was trying to figure it out on my own, but I don't know if I am answering

Hi Can you help with this assignment, I was trying to figure it out on my own, but I don't know if I am answering the following questions correctly, because I am not familiar with how to use RStudio, I am just learning how to use it. Please explain each of the questions below correctly and briefly.

You have to use R-Studio to answer these questions:

1)Take a random sample of size 50 from the price. Using this sample, what is your best point estimate of the population mean?

2)Since you have access to the population, simulate the sampling distribution for xpricexprice by taking 5000 samples from the population of size 50 and computing 5000 sample means. Store these means in a vector called sample_means50. Plot the data, then describe the shape of this sampling distribution. Based on this sampling distribution, what would you guess the mean home price of the population to be? Finally, calculate and report the population mean.

3)Change your sample size from 50 to 150, then compute the sampling distribution using the same method as above, and store these means in a new vector called sample_means150. Describe the shape of this sampling distribution, and compare it to the sampling distribution for a sample size of 50. Based on this sampling distribution, what would you guess to be the mean sale price of homes in Ames?

4)Of the sampling distributions from 2 and 3, which has a smaller spread? If we're concerned with making estimates that are more often close to the true value, would we prefer a distribution with a large or small spread?

Here below I am also attaching screenshot files that contain the instructions that can help you with the 4 questions using RStudio.

`

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed
sample_means50

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

Basic College Mathematics With Early Integers

Authors: Marvin L Bittinger, Judith A Beecher

3rd Edition

0321922794, 9780321922793

More Books

Students also viewed these Mathematics questions

Question

The background knowledge of the interpreter

Answered: 1 week ago