Now: prices!

So far, we have only focused on estimating the mean living area in homes in Ames.

Now let's take off our training wheels and do the same analysis for the sales prices. Don't worry, we'll start off easy!

Remember from the first exercise that we saved the sales prices in the object price.

This exercise is part of the course

Data Analysis and Statistical Inference

View Course

Exercise instructions

  • To start, just take a random sample of size 50 from price and assign it to sample_50.
  • Print its mean.

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# The ames data frame and area and price objects are already loaded into the workspace

# Take a sample of size 50 from price


# Print the mean