当前位置:网站首页>Understand expectations (mean / estimate) and variances
Understand expectations (mean / estimate) and variances
2022-07-03 05:49:00 【code bean】
Preface
The formula will be given at the beginning , Then combine the expectation and variance of normal distribution , To understand them more specifically .
expect
First , expect full name “ Mathematical expectation ”, also called mean value or Estimated value , Pay attention to and Average It's not a concept . I'll talk about it later .
Speaking of expectations , We have to talk about the distribution column first .

X It represents the corresponding value of different kinds of events ,P Indicates the probability of finding events per hour .
What is the value corresponding to the event , This is actually our own definition , For example, throw the front 1 branch .
Another example :

The score distribution here should be :

Then there is the distribution column , You can expect , Or to find the mean / Estimated value . Here we use EX Expressing expectations :

Where is the distribution column , It's very simple to sum expectations .( Pictured above : Multiply and add ). Here we also see the difference between it and the average , The average value is the statistics of what has happened , Averaging . Expectation is the distribution of known probability , Estimate the most likely value .
That's for , Further understand expectations , Introduce here , God's rule —— Normal distribution :

Here we can see , expect EX and X The shaft is hooked , In the normal distribution , When X Equal to expectation , At this time, the corresponding Y Value is the largest , But pay attention here , In the normal distribution ,Y The value is not X Corresponding probability value , Normal distribution is not a curve of probability , But the density curve of probability , Here's my understanding ( Not necessarily ): hypothesis X It can be infinitely subdivided , This curve is a positive distribution of height , Suppose a person's height is 1.60025499 Infinite subdivision , The height of the other person is 2.045648842 Infinite subdivision . Then these two heights , Whose probability is high ? They are infinitely close 0. But if it's a range , For example, the height is 1.65 About meters and height in 2.2 About meters , Whose probability is high , That is obviously the former .
Here, the area below the curve is the probability P. The total area under the curve is 1.
This graph corresponds to the probability density function f(X), therefore Y The value corresponds to the cumulative distribution function F(X) First derivative of , namely F(X) Instantaneous rate of change . The actual meaning is that X Corresponding density value . That is, the place where the probability accumulates fastest .
So here , We found that Y Value is actually a very abstract , That's what I know X But I got one Y, But this Y It doesn't mean much to me , I know at this time Y Maximum . So we often look the other way ! We know the biggest Y, Then look at the corresponding X How much is the , and X The meaning of is specific . such as Y Maximum time X=1.6, that 1.6 Expectation is the mean . When the sample is determined , The mean value and the mean value are equal .
Class reference :
Is the mean and expectation the same thing ? - You know (zhihu.com)
https://zhuanlan.zhihu.com/p/311896697 Speaking of this , The part about expectation is over .
When is the variance ?
First, the formula is given

From the formula , Variance is related to expectation and probability ,( Expectation itself is also related to probability ). Variance describes a set of data ( sample ) The degree of dispersion of .

Here we can combine the deviation , To compare and understand the variance .
Then by simplifying the formula , We finally get the formula , among D(x) Variance :

The simplification process is as follows :

Here I also introduce normal distribution , Further understand variance .

When Sigma is determined , There is another one 3 Sigma principles , You can see :( There is also a concept of standard deviation , This is sigma , The square of sigma is variance )

It can be seen here that when the variance is larger , In the same area , Smaller area , That is, the smaller the probability , This shows that the more scattered the data .
Summary :
1 That's in deep learning , This large variance model may need more classification to better define .
2 Variance and expectation are strongly correlated with probability , The corresponding value of each event needs to be multiplied by the probability P, Doing other calculations .
Reference material :
边栏推荐
- [teacher Zhao Yuqiang] index in mongodb (Part 1)
- Communication - how to be a good listener?
- CAD插件的安装和自动加载dll、arx
- Source insight License Activation
- 2022.DAY592
- Strategy pattern: encapsulate changes and respond flexibly to changes in requirements
- AtCoder Beginner Contest 258(A-D)
- [teacher Zhao Yuqiang] Cassandra foundation of NoSQL database
- Introduction to redis using Lua script
- Mapbox tasting value cloud animation
猜你喜欢

Kubernetes resource object introduction and common commands (V) - (configmap)

今天很多 CTO 都是被干掉的,因为他没有成就业务

一起上水碩系列】Day 9

Capacity expansion mechanism of map

Export the altaro event log to a text file
![[teacher Zhao Yuqiang] Flink's dataset operator](/img/cc/5509b62756dddc6e5d4facbc6a7c5f.jpg)
[teacher Zhao Yuqiang] Flink's dataset operator

Personal outlook | looking forward to the future from Xiaobai's self analysis and future planning

How to install and configure altaro VM backup for VMware vSphere

Redis使用Lua脚本简介
![[Shangshui Shuo series together] day 10](/img/a3/e8b9df588bef67ead925813a75c8c0.png)
[Shangshui Shuo series together] day 10
随机推荐
How to use source insight
mapbox尝鲜值之云图动画
【一起上水硕系列】Day 10
Final review (Day6)
NG Textarea-auto-resize
QT read write excel -- qxlsx insert chart 5
@Solutions to null pointer error caused by Autowired
1. 两数之和
ansible防火墙firewalld设置
Ensemble, série shuishu] jour 9
Shanghai daoning, together with American /n software, will provide you with more powerful Internet enterprise communication and security component services
CAD插件的安裝和自動加載dll、arx
Apache+php+mysql environment construction is super detailed!!!
The programmer shell with a monthly salary of more than 10000 becomes a grammar skill for secondary school. Do you often use it!!!
[teacher Zhao Yuqiang] MySQL flashback
最大似然估计,散度,交叉熵
How to create and configure ZABBIX
[video of Teacher Zhao Yuqiang's speech on wot] redis high performance cache and persistence
Redis encountered noauth authentication required
redis 遇到 NOAUTH Authentication required