Bắt đầu ngayBắt đầu miễn phí

Sampling in Google Sheets

Thus far, you've calculated statistics with all the data presented. Usually, it's more practical to create a sample from among a population.

  • Population: An entire collection of observations or events
  • Sample: A subset from a population meant to represent the population

There are many ways to sample data. Sampling choices affect the statistics and as a result, what you learn about the data population. A popular method for sampling is to do it randomly.

This data has an extra column of randomly generated numbers that was created with the RAND() function, which can be empty and returns numbers between 0 and 1. Once the second column has been created, sort the data array by the randomly created column. Then when constructing visuals or stats based on the sample, you can control the cell range. In this exercise you will randomly sample 20 observations of monthly US airline passenger miles, and then create a histogram of this sample to understand the distribution.

Bài tập này là một phần của khóa học

Nhập môn Thống kê với Google Sheets

Xem khóa học

Hướng dẫn bài tập

  • In cell E2, calculate the mean of the first 20 observations.
  • In cell F2, calculate the standard deviation of the same 20 observations.
  • Insert a histogram of A2:A21 in the highlighted region. Examine how "normal" this visual looks.

Bài tập tương tác thực hành

Biến lý thuyết thành hành động với một trong các bài tập tương tác của chúng tôi

Bắt đầu bài tập