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

Define bins

A histogram is a bar chart that can be used to display the empirical distribution of historical stock returns. To build a histogram, the first step is to divide the range of historical returns into equal intervals, called bins.

In this exercise, your task is to divide the series of ABC historical returns into 30 bins.

To do so, use the following procedure:

  • Compute minimum and maximum return.

  • Compute the range by taking the difference between maximum and minimum return.

  • Divide such a difference by the number of bins minus one, and you’ll get the width of each bin.

  • Starting from the minimum, add iteratively the width and you’ll gradually come up with regular intervals of values.

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

Phân tích tài chính với Google Sheets

Xem khóa học

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

  • In F3:G3, use the functions MIN() and MAX() to find the minimum and maximum return.

  • In H3, compute the range based on the values found above.

  • In J3, compute the width of each interval.

  • In G7:H36, identify all the bins.

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