- Hands-On Mathematics for Deep Learning
- Jay Dawani
- 326字
- 2021-06-18 18:55:24
Variance
We define the variance of X as follows:

The standard deviation of X is the square root of the variance:

We can think of this as how spread out or close values are from the expected (mean) value. If they are highly dispersed, then they have a high variance, but if they are grouped together, then they have a low variance.
Here are some properties for variance that are important to remember:
.
- If
, then
.
.
.
, given that all the Xi values are independent.
Let's suppose that we now have discrete random variables. Then, they are independent if we take the following:

Now, let our n random variables be independent and identically distributed (iid). We now have the following:

This concept is very important, especially in statistics. It implies that if we want to reduce the variance in the results of our experiment, then we can repeat the experiment a number of times and the sample average will have a small variance.
For example, let's imagine two pieces of rope that have unknown lengths—a and b, respectively. Because the objects are ropes—and, therefore, are non-rigid—we can measure the lengths of the ropes, but our measurements may not be accurate. Let A be the measured value of rope a and B be the measured value of rope b so that we have the following:

We can increase the accuracy of our measurements by measuring X = A + B and Y = A – B. Now, we can estimate a and b using the following:

Now, and
, which are both unbiased. Additionally, we can see that the variance has decreased in our measurement using the following:

From this, we can clearly see that measuring the ropes together instead of separately has improved our accuracy significantly.
- 我們都是數(shù)據(jù)控:用大數(shù)據(jù)改變商業(yè)、生活和思維方式
- Python數(shù)據(jù)挖掘:入門、進(jìn)階與實(shí)用案例分析
- 使用GitOps實(shí)現(xiàn)Kubernetes的持續(xù)部署:模式、流程及工具
- App+軟件+游戲+網(wǎng)站界面設(shè)計(jì)教程
- 深入淺出MySQL:數(shù)據(jù)庫開發(fā)、優(yōu)化與管理維護(hù)(第2版)
- Microsoft Power BI數(shù)據(jù)可視化與數(shù)據(jù)分析
- 基于Apache CXF構(gòu)建SOA應(yīng)用
- 數(shù)據(jù)挖掘原理與SPSS Clementine應(yīng)用寶典
- SQL應(yīng)用及誤區(qū)分析
- Python數(shù)據(jù)分析與數(shù)據(jù)化運(yùn)營
- Python 3爬蟲、數(shù)據(jù)清洗與可視化實(shí)戰(zhàn)
- 數(shù)字化轉(zhuǎn)型實(shí)踐:構(gòu)建云原生大數(shù)據(jù)平臺(tái)
- 大數(shù)據(jù)隱私保護(hù)技術(shù)與治理機(jī)制研究
- MySQL性能調(diào)優(yōu)與架構(gòu)設(shè)計(jì)
- SQL進(jìn)階教程(第2版)