Začněte nyníZačněte zdarma

Compute the volatility

The volatility, known in statistics as the standard deviation, is probably the most used indicator to assess the past variability of stock returns. It is a proxy for risk.

Your first task, here, is to compute the volatility of the historical returns of ABC stock.

To do so, take the square root of [(R_1-Average)^2 + (R_2-Average)^2 + ... + (R_T-Average)^2] / (T-1).

Use a combination of SUM(), COUNT(), SQRT() and ARRAYFORMULA().

Toto cvičení je součástí kurzu

Finanční analytika v Google Sheets

Zobrazit kurz

Pokyny k cvičení

  • In G5, start by subtracting the average return from the range of periodic returns D3:D62.

  • Next, take the square and use the function SUM() to compute the sum of the squared deviations. This is the numerator of the formula.

  • Count the number of returns using COUNT() and subtract 1 from the result. This is the denominator.

  • Use SQRT() and type CTRL+SHIFT+ENTER to enter ARRAYFORMULA().

Interaktivní praktické cvičení

Proměňte teorii v praxi s jedním z našich interaktivních cvičení

Začít cvičení