1. Moment (Probability Moment) : Statistics
💡 statistics에서 moment는 probability distribution에서 계산되어진 특징값
- 확률 분포를 이용하여 구해지는 random variable의 대표값(or 통계량)을 일반화(generalization)시킨 것을
probability moment라고 함. - mean(or 기댓값)과 variance 는 moment의 하나임
- 적률 이라고도 불림.
Moment의 종류
moment 는
- moment about origin,
- central moment 로 나뉨.
central moment의 수식은 다음과 같음.
μn=E[(X−μ)n]=∫(x−μ)np(x)dx
where
- μn : n차 (central) moment
- μ : mean, 1차 moment (엄밀하게는 1차 moment about origin)
- p(x) : random variable X의 값이 x가 될 확률.
moment about origin의 수식은 다음과 같음.
μn=E[Xn]=∫xnp(x)dx
동일한 확률분포란?
두 개의 확률분포를 따르는 random variable X, Y로부터 계산된 1에서 무한대 차수에 이루는 moment가 동일할 경우(=mgf가 동일할 경우), 두 확률분포는 동일한 확률분포라고 함.
이를 수식으로 표현하면 다음과 같음.
Xd=Y
2. 다양한 moments
일반적으로 moment about origin은 1차를 주로 사용하고, mean을 의미함.
←1st moment라고 하면 보통 1st moment about origin으로 mean임.
2.1 mean (expected value) : 1차 moment about origin (1st moment)
∫(x)1p(x)dx or ∑(x)1p(x)
💡 2차부터는 주로 central moment가 사용됨.
2.2 variance (분산) : 2차 central moment. (2nd moment)
∫(x−μ)2p(x)dx or ∑(x−μ)2p(x)
2.3 skewness (왜도, 비대칭도) : 3차 central moment. (3rd moment)
∫(x−μ)3p(x)dx or ∑(x−μ)3p(x)
Skewness는 데이터의 분포가 대칭인지 비대칭인지를 나타내며 값에 따라 다음과 같이 해석됨.
- Skewness가 0일 경우, 완벽하게 대칭임.
- Skewness가 양수(positive skew)일 경우, skewed to right로 tail이 오른쪽을 길게 됨.
- Skewness가 음수(negative skew)일 경우, skewed to left로로 tail이 왼쪽으로길게 됨.

Skewness는 위의 3rd central moment를 이용하여 다음과 같이 계산됨.
Skewness=n∑ni=1(xi−μx)3(n−1)(n−2)σ3
2.4 kurtosis (첨도) : 4차 central moment. (4th moment)
∫(x−μ)4p(x)dx or ∑(x−μ)4p(x)
4차 central moment는 데이터가 중심에서 얼마나 멀리 퍼져있는지(dispersion) 와 함께 극단적인 값들의 영향을 얼마나 받는지를 나타내기 때문에, 이를 2nd central moment의 제곱으로 나누고 특정상수(3_를 조정하여 kurtosis 를 나타내는 지표로 계산함.
많이 사용되는 지표는 excess Kurtosis 이며 공식은 다음과 같음
Excess Kurtosis=n∑ni=1(xi−μx)4(∑ni=1(xi−μ)2)2−3
excess Kurtosis는
- Mesokurtic: normal distribution에서 0의 값을 가지며,
- Leptokurtic: 양의 값을 가질 경우 normal distribution에 비해 더 뾰족하거나 tail이 두꺼운 것(heavy tail)을 의미함(이는 outliar가 많을 가능성 높아짐)
- Platykurtic: 음의 값을 가질 경우 noraml distirbution에 비해 뭉툭하고 tail이 얇은 것을 의미함.

https://turtle-dennis.tistory.com/5
첨도(kurtosis)
첨도(kurtosis)란 확률 분포의 뾰족한 정도를 나타내는 척도로, 관측치들이 얼마만큼 평균에 몰려 있는가를 측정할 때 사용됩니다. 첨도값(κ, kappa)이 3에 가까우면 산포도가 정규분포에 가깝다고
turtle-dennis.tistory.com
3. Moment Generating Function
다양한 경우에서 moment를 쉽게 구하기위해 고안된 함수.
Expected value(기댓값)의 정의로 표현하면 다음과 같음.
Mx(n)=E[enx]
expected value, E[x]는 다음과 같이 정의됨.
E[x]=∫xp(x)dx=∑xp(x)
즉, moment generating function Mx(n)은 다음과 같음.
Mx(n)=E[enx]=enx1p(x1)+enx2p(x2)+enx3p(x3)+⋯
moment generating function의 사용에 대한 예제로서
moment generating function으로부터 mean과 variance를 구하는 것을 살펴보면 다음과 같음.
3-1. mean
μ=M′x(0)
M′x(0) : moment generating func.를 n에 대해 1차 미분 (1차 moment=mean)하고, n=0 대입.
M′x(0)=E[xe0x]=x1e0x1p(x1)+x2e0x2p(x2)+x3e0x3p(x3)+⋯=∑xp(x)
3-2. variance
σ2=M′′x(0)−μ2
M′′x(0) : moment generating func.를 n에 대해 2차 미분 (2차 moment : variance)하고 n=0 대입하여 구함.
M′′x(0)=E[xe0x]=x21e0x1p(x1)+x22e0x2p(x2)+x23e0x3p(x3)+⋯=∑x2p(x)
읽어볼 자료
2022.05.09 - [.../Physics] - [Physics] Moment (모멘트)
[Physics] Moment (모멘트)
어떤 물리적인 effect(e.g.회전운동)등을 정량화하는 물리량의 일종으로 그 크기가 하나의 물리량(e.g. mass) 뿐 아니라 해당 물리량의 분포(or 위치) 까지 고려하여 정해지는 경우 moment라고 부름. momen
dsaint31.tistory.com
2022.05.09 - [.../Physics] - [Physics] Moment of Force (or Torque)
[Physics] Moment of Force (or Torque)
물체의 회전 또는 회전운동의 원인 더보기 Torque : The tendency of a force to cause rotation Torque depends upon three factors: Magnitude of the force The direction in which it acts The point at which it is applied on the object 물체를
dsaint31.tistory.com
https://dsaint31.me/mkdocs_site/DIP/cv2/ch02/dip_contour_features/#moment
BME228
Contour Features Moment Image moments은 물체의 중심, 물체의 면적 등을 계산하는데 이용되는 quantity(양)임. pixel intensity(←물리에서 force, mass등)의 정량적 크기 와 함께 분포 (어떤 기준에 대한) 를 고려한
dsaint31.me
Skew and Kurtosis: 2 Important Statistics terms you need to know in Data Science
If you don’t know some of the other frequently used terms in data science. Then click here.
codeburst.io
https://blog.naver.com/s2ak74/220616766539
[보충] 왜도(skewness)와 첨도(Kurtosis)
왜도(Skewness) 왜도는 분포의 비대칭도를 나타내는 통계량이다. 정규분포, T분포와 같이 대칭인 분...
blog.naver.com
'... > Math' 카테고리의 다른 글
[Math] Definition of Vector Space and Sub-Space (0) | 2022.04.05 |
---|---|
[Statistics] Central Limit Theorem (0) | 2022.03.31 |
[Math] Vector (2) : Vector Function (0) | 2022.03.28 |
[Math] Vector (1) (1) | 2022.03.28 |
Softplus (0) | 2022.03.14 |