Contour of Gaussian Distribution
来源:互联网 发布:卫浴设计软件 编辑:程序博客网 时间:2024/06/17 21:00
Contour of Gaussian Distribution
Ethara
How much do you know about ellipse especially when I present you with an equation like this,
Chances are that you will fail to obtain an intuitive interpretation on its analytical shape in the 2-dimensional Cartesian coordinate.
As a matter of fact, (1) is the general form of an ellipse equation. An ellipse formalized by (1) can be obtained by linear transformation on the standard form (2). And matrix multiplication plays an essential role of this process.
Proof:
Suppose P = (x, y)T is the point conforming to (2), P' = (x',y')T is the corresponding point after a series of linear transformations including rotation and shift. Algebraically, rotation transformation is represented by matrix R parameterized by the rotation angle (anticlockwise), and shift transformation by matrix delta.
Using linear transformation, we have,
Solve for P,
After expansion, we obtain,
Further,
Plug it back to (2),
Finally, we obtain the following general form (*) that P’ conforms to analytically and explicitly,
Apparently, referring to (1),
Consequently, we are done with the proof.
Analysis:
The parameter B in (*) can be regarded as the proof to discriminate whether there exists a rotation in the linear transformation while D and E are to check the existence of a shift.
If a equals to b, equation (*) degenerates to
where the cross term is eliminated. This indicates that, no matter how the pattern is rotated, it stays the same, which only a circle in 2-dimensional plane can achieve.
More properties of (*) can be derived by choosing some particular values.
Those who noticed the topic must now be confused with the irrelevant discussion above. Let me head for the highlight, the elliptical contour of Gaussian distribution.
Given a continuous-valued random variable,
The above figure shows the standard normal distribution (2-dimensional) with mean zero and covariance matrix sigma = I(the 2 by 2 identity matrix).
More generally, to see the contour of the 2-dimensional Gaussian distribution, we make the following assumptions,
To solve for the contour of a Gaussian distribution, we have,
where z0 conforms to z = z0, parallel to the planexoy and X = (x,y)T.
Further,
where
Referring to (*), we arrive at a conclusion that the contour of a Gaussian distribution is an axis-parallel ellipse exactly when
and is a circle when
The figure above shows an elliptical contour of a 2-dimensional Gaussian distribution with
On the other hand, the mean of a Gaussian distribution, mu, changes the position of the bell-shaped curve surface only.
Acknowledgement
This work has benefited greatly from the discussion with my comrade, C. Huang, who is a graduate-to-be of Peking University. Figures and data are from the handout of Andrew Ng's Coursera, Machine Learning.
Postscript
Inevitably, there might be some mistakes in the above discussion and derivation. I’m looking forward to your opinions and corrections. Thanks.
- Contour of Gaussian Distribution
- Exponential family form of Multivariate Gaussian Distribution
- Gaussian distribution
- Normal distribution & Gaussian distribution
- Multivariate Gaussian Distribution
- getting multivariate gaussian distribution from independent ones
- # Maximum likelihood in multivariate Gaussian distribution (1)
- Maximum likelihood in multivariate Gaussian distribution (2)
- 高斯分布(Gaussian distribution)/正态分布(Normal distribution)
- Algorithm of Contour Detection Improvement
- Get the center of contour
- Difference of Gaussian (DoG)
- Laplacian of Gaussian (LoG)
- Laplacian of Gaussian (LoG)
- Laplacian of Gaussian (LoG)
- Laplacian of Gaussian (LoG)
- Laplacian of Gaussian
- laplacian of gaussian filter
- Android--SurfaceView截屏问题
- 模板之泛化仿函数(二)
- MS14-068 | Kerberos 中的漏洞可能允许特权提升
- SpringMVC系列(三)JQuery和JSON方式参数传递并处理JAVAWEB中文乱码问题
- libhighgui.so: undefined reference to `cvCreateCameraCapture_V4L(int)'
- Contour of Gaussian Distribution
- 实战 Lucene,第 1 部分: 初识 Lucene
- androdi 图像级别资源注意点
- 一种基于Android智能手机的远程视频监控的设计
- 【水枚举】#83 A. Palindromic Times
- android中的Service
- C++实现单层感知器网络_智能计算作业1
- 《浪潮之巅(下)》阅读笔记
- 学生信息链表