Lecture 16: Exponential Distribution

피망이·2023년 12월 14일
0
post-thumbnail

Exponential Distribution

  • rate(속도) parameter λ\lambda

  • XExpo(λ)X \sim Expo(\lambda) has PDF: λeλx\lambda e^{-\lambda x}, x>0x > 0 (0 otherwise)

    • valid 0λeλxdx=1\int_{0}^{∞} \lambda e^{-\lambda x} dx = 1
  • CDF: F(x)=0xλeλtdt=1eλxF(x) = \int_{0}^{x} \lambda e^{-\lambda t} dt = 1 - e^{\lambda x}, $ x> 0$.

  • Let Y=λXY = \lambda X, then YExpo(1)Y \sim Expo(1)

    • since P(Yy)=P(Xyλ)=1eyP(Y \le y) = P(X \le \frac{y}{\lambda}) = 1-e^{-y}
  • Let YExpo(1)Y \sim Expo(1), find E(Y)E(Y), Var(Y)Var(Y)

    • E(Y)=0yeydy=(yey)0+0eydy=0+(ey)0=1E(Y) = \int_{0}^{∞} ye^{-y} dy = (-ye^{-y})\biggr|_{0}^{∞} + \int_{0}^{∞} e^{-y} dy = 0 + (-e^{-y})\biggr|_{0}^{∞} = 1

      • u=yu = y, dv=eydydv = e^{-y} dydu=dydu = dy, v=eyv = e^{-y}
    • Var(Y)=E(Y2)(EY)2=0y2eydy1=21=1Var(Y) = E(Y^2) - (EY)^2 = \int_{0}^{∞} y^2 e^{-y} dy -1 = 2-1 = 1

      • u=y2u = y^2, then 20yeydy2*\int_{0}^{∞} ye^{-y} dy.
  • So X=YλX=\displaystyle \frac{Y}{\lambda} has E(X)=1λE(X) = \displaystyle \frac{1}{\lambda}, Var(X)=1λ2Var(X) = \displaystyle \frac{1}{\lambda^2}

Memoryless Property

  • P(Xs+tXs)=P(Xt)P(X \ge s+t | X \ge s) = P(X \ge t)

    • 최소 s 시간을 기다렸으나 전화를 받지 못했을 때, t만큼의 시간을 더 기다린대도 새로 기다림을 시작하는 일과 같은 기분일 때
  • Here P(Xs)=1P(Xs)=eλsP(X \ge s) = 1-P(X \le s) = e^{\lambda s} like a survival thing

    • P(Xs+tXs)=P(Xs+t,Xs)Xs=P(Xs+t)XsP(X \ge s+t | X \ge s) = \displaystyle \frac{P(X \ge s+t, X \ge s)}{X \ge s} = \frac{P(X \ge s+t)}{X \ge s}

      =eλ(s+t)eλs=eλt=P(Xt)= \displaystyle \frac{e^{-\lambda (s+t)}}{e^{-\lambda s}} = e^{-\lambda t} = P(X \ge t)

      • P(Xs+t,Xs)=P(Xs+t)P(X \ge s+t, X \ge s) = P(X \ge s+t): 중복 처리

      • Memoryless! ⇒ 지수함수로만 표현할 수 있어짐

  • XExpo(λ)X \sim Expo(\lambda)

    • E(XX>a)=a+E(XaX>a)=a+1λE(X|X > a) = a+E(X-a|X>a) = a + \displaystyle \frac{1}{\lambda} by memoryless.

      • a 시간을 기다린 이후에 XaX-a 시간을 새롭게 기다린다고 생각

profile
물리학 전공자의 프로그래밍 도전기

0개의 댓글