MulaiMulai sekarang secara gratis

Predicting house price with waterfront

You just saw that houses with a view of the waterfront tend to be much more expensive. But by how much? Let's compute group means of log10_price, convert them back to dollar units, and compare!

The variable log10_price has already been added to house_prices for you.

Latihan ini adalah bagian dari kursus

Modeling with Data in the Tidyverse

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Calculate stats
house_prices %>%
  group_by(___) %>%
  summarize(mean_log10_price = ___, n = ___)
  
Edit dan Jalankan Kode