開始使用免費開始

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.

本練習屬於課程

Google Sheets 統計學入門

檢視課程

練習說明

  • 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.

動手互動練習

將理論付諸實踐,立即體驗我們的互動練習

開始練習