เริ่มต้นใช้งานเริ่มต้นใช้งานได้ฟรี

Are these findings generalizable?

Let's look at another sample to see if it is representative of the population. This time, you'll look at the duration_minutes column of the Spotify dataset, which contains the length of the song in minutes.

spotify_population and spotify_mysterious_sample2 are available; dplyr and ggplot2 are loaded.

แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร

Sampling in R

ดูคอร์ส

แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ

ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์

# Visualize the distribution of duration_minutes as a histogram with a binwidth of 0.5
___
แก้ไขและรันโค้ด