- Descriptive Vs. Inferential Statistics
- Types of Measurement Scales
- Parameter, Sample Statistic, and Frequency Distribution
- Relative Frequencies and Cumulative Relative Frequencies
- Properties of a Data Set (Histogram / Frequency Polygon)
- Measures of Central Tendency
- Calculating Arithmetic Mean
- Calculating Weighted Average Mean
- Calculating Geometric Mean
- Calculating Harmonic Mean
- Calculating Median and Mode of a Data Set
- Quartiles, Quintiles, Deciles, and Percentiles
- Range and Mean Absolute Deviation
- Variance and Standard Deviation
- Chebyshev’s Inequality
- Coefficient of Variation
- Sharpe Ratio
- Skewness and Kurtosis
- Relative Locations of Mean, Median and Mode

# Variance and Standard Deviation

Risk is the possibility that actual returns might differ, or vary, from expected returns. In fact, actual returns will most likely differ from expected returns. It is important for decision-makers to estimate the magnitude and likelihood of the difference between actual and estimated returns. After all, there is a big difference if your predictions result in an error of only $100 versus an error of $1 million.

By using the concepts of variance and standard deviation, investors can judge not only how wrong their estimates might be, but also estimate the likelihood, or probability, of favorable or unfavorable outcomes. With the tools of expected return and standard deviation, financial decision-makers are better able to evaluate alternative investments based on risk-return tradeoffs, and their own risk preferences.

In general, the risk of an asset or a portfolio is measured in the form of the standard deviation of the returns, where standard deviation is the square root of variance. Let’s look at how standard deviation and variance is calculated.

Let’s say our observation data set is the returns data of a stock. Using this data, we calculate the mean/average returns. The variance of the asset returns will then be the average of the square of the difference between the returns and the mean.

The standard deviation will simply be the square root of the variance.

The following is a simple example that illustrates the calculation:

Note that in the above example we start with the stock price. Once we have the stock price data, the first step is to calculate the returns. What kind of returns we have depends on the periodicity of the data. For example, if we have daily prices, then we calculate the daily returns, which is calculated as (P(t1) – P(t0) /P(t0).

**Notations**

The population variance and standard deviation are written as s2 and s while the sample variance and standard deviation are written as s2 and s. For sample variance, we use n-1 in the denominator instead of N. This is done because as per the theory, using the entire sample set n, will underestimate the population variance.

#### Related Downloads

#### Related Quizzes

## Data Science in Finance: 9-Book Bundle

Master R and Python for financial data science with our comprehensive bundle of 9 ebooks.

### What's Included:

- Getting Started with R
- R Programming for Data Science
- Data Visualization with R
- Financial Time Series Analysis with R
- Quantitative Trading Strategies with R
- Derivatives with R
- Credit Risk Modelling With R
- Python for Data Science
- Machine Learning in Finance using Python

Each book includes PDFs, explanations, instructions, data files, and R code for all examples.

Get the Bundle for $39 (Regular $57)## Free Guides - Getting Started with R and Python

Enter your name and email address below and we will email you the guides for R programming and Python.