欢迎访问 生活随笔!

生活随笔

当前位置: 首页 >

精算模型1 一元生存分析2 参数生存模型

发布时间:2025/4/14 63 豆豆
生活随笔 收集整理的这篇文章主要介绍了 精算模型1 一元生存分析2 参数生存模型 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

精算模型1 一元生存分析2 参数生存模型

    • 均匀分布 (de Moivre 1724)
    • 指数分布
    • Gompertz分布 (1825)
    • Makeham分布 (1860)
    • Weibull分布 (Frechet,1927; Weibull 1951)
      • Gamma函数
      • Weibull分布的基本生存函数

这一讲介绍几个常用的剩余寿命TTT的分布。

均匀分布 (de Moivre 1724)

假设www表示极限年龄,则T∼U(0,w)T \sim U(0,w)TU(0,w),
fT(t)=1wI0≤t≤wf_T(t) = \frac{1}{w}I_{0 \le t \le w}fT(t)=w1I0tw

特点:第一个寿命的连续概率模型;剩余寿命均匀分布,随着年龄增长危险率上升,达到极限年龄时必死无疑;
适用性:长时间区间不适用。

性质

  • 生存函数
    S(t)=w−twS(t)=\frac{w-t}{w}S(t)=wwt
  • 危险率函数h(t)=1w−th(t)=\frac{1}{w-t}h(t)=wt1
  • 平均剩余寿命(期望)E[T]=w2E[T]=\frac{w}{2}E[T]=2w
  • 方差 Var[T]=w212Var[T]=\frac{w^2}{12}Var[T]=12w2
  • 指数分布

    假设T∼f(t)T \sim f(t)Tf(t),
    fT(t)=1θe−1θt,t>0f_T(t)=\frac{1}{\theta}e^{-\frac{1}{\theta}t},t>0fT(t)=θ1eθ1t,t>0

    特点:常值死亡力(危险率函数为常数);一段时间内的死亡概率与当前年龄无关;是Gamma分布与Weibull分布的特例;
    适用性:一般用在一年、一年以内的年龄区间。

    性质

  • 生存函数
    S(t)=e−1θtS(t)=e^{-\frac{1}{\theta}t}S(t)=eθ1t
  • 危险率函数h(t)=1θh(t)=\frac{1}{\theta}h(t)=θ1
  • 期望 E[T]=θE[T]=\thetaE[T]=θ
  • 方差 Var[T]=θ2Var[T]=\theta^2Var[T]=θ2
  • 无记忆性 P(T≥y+t∣T≥y)=P(T≥t)P(T\ge y+t|T\ge y)=P(T\ge t)P(Ty+tTy)=P(Tt)
  • Gompertz分布 (1825)

    Gompertz分布通过直接定义危险率函数得到:
    h(t)=Bct,t≥0,c>1,B>0h(t) = Bc^t,t \ge 0, c >1 ,B>0h(t)=Bct,t0,c>1,B>0

    它的适用性不强,因为相关的生存分析基本函数的形式非常复杂,生存函数稍微简单一点
    S(t)=exp⁡(Bln⁡c(1−ct))S(t)=\exp \left( \frac{B}{\ln c}(1-c^t) \right)S(t)=exp(lncB(1ct))

    Makeham分布 (1860)

    Makeham分布是对Gompertz分布的修正,Gompertz分布用幂函数对与年龄相关的危险率进行建模,但没有考虑到所有年龄段共有的一些死亡风险,于是Makeham分布的危险率函数修正为
    h(t)=A+Bct,t≥0,c>1,B>0,A>−Bh(t) = A+Bc^t,t \ge 0, c >1 ,B>0, A>-Bh(t)=A+Bct,t0,c>1,B>0,A>B

    这个形式比Gompertz分布的形式还要复杂一点,因此相关的生存分析基本函数的形式也非常复杂,生存函数为
    S(t)=exp⁡(Bln⁡c(1−ct)−At)S(t)=\exp \left( \frac{B}{\ln c}(1-c^t) -At\right)S(t)=exp(lncB(1ct)At)

    Weibull分布 (Frechet,1927; Weibull 1951)

    Weibull分布参数为θ,γ\theta,\gammaθ,γ,概率密度函数为
    f(x)=γθxγ−1e−1θxγ,x>0,γ,θ>0f(x)=\frac{\gamma}{\theta}x^{\gamma-1}e^{-\frac{1}{\theta}x^{\gamma}},x>0,\gamma,\theta>0f(x)=θγxγ1eθ1xγ,x>0,γ,θ>0

    Gamma函数

    Gamma函数是阶乘在实数域的延拓,它由如下的积分形式定义:
    Γ(x)=∫0∞tx−1e−tdt,x>0\Gamma(x)=\int_0^{\infty}t^{x-1}e^{-t}dt,x>0Γ(x)=0tx1etdt,x>0

    Gamma函数及其相关计算技巧在概率统计中非常重要,

    性质

  • Γ(x)=xΓ(x−1)\Gamma(x)=x\Gamma(x-1)Γ(x)=xΓ(x1)
  • Γ(1/2)=π\Gamma(1/2)=\sqrt{\pi}Γ(1/2)=π
  • Γ(x)∼2πe−xxx−12\Gamma(x) \sim \sqrt{2\pi}e^{-x}x^{x-\frac{1}{2}}Γ(x)2πexxx21 (Stirling’s Formula)
  • 证明
    这里用概率论的思路给出性质3的简单证明,也可以查阅任何一本数学分析的教材,学习用分析的思路证明性质3的方法。

    We try to proof it using probability theory. Suppose X1X_1X1, X2X_2X2, … , XnX_nXn independently follow Poisson distribution with mean of each is 1. Define Sn=∑i=1nXiS_n = \sum_{i=1}^n X_iSn=i=1nXi, then E(Sn)=Var(Sn)=nE(S_n)=Var(S_n)=nE(Sn)=Var(Sn)=n. So
    P(Sn=n)=e−nnnn!P(S_n = n) = \frac{e^{-n}n^n}{n!} P(Sn=n)=n!ennn
    According CLT,
    Sn−nn→dN(0,1)\frac{S_n-n}{\sqrt{n}} \to_d N(0,1) nSnndN(0,1)
    which means ∀n∈N\forall n \in \mathbb{N}nN, ∀ϵ>0\forall \epsilon >0ϵ>0, ∃δ>0\exists \delta>0δ>0 such that ∀x∈B(n,δ)\forall x \in B(n,\delta)xB(n,δ),
    ∣P(Sn=n)−[F(0)−F(−1x)]∣<ϵ2|P(S_n=n)-[F(0)-F(-\frac{1}{\sqrt{x}})]|<\frac{\epsilon}{2} P(Sn=n)[F(0)F(x1)]<2ϵ
    Here F(x)F(x)F(x) is the CDF of standard normal distribution.Since P(Sn=n)=P(n−1<Sn≤n)=P(−1/n<Sn≤0)P(S_n=n) = P(n-1<S_n\le n) = P(-1/\sqrt{n}<S_n \le 0)P(Sn=n)=P(n1<Snn)=P(1/n<Sn0), this is approximately F(0)−F(−1/n)F(0)-F(-1/\sqrt{n})F(0)F(1/n) according to convergence in distribution. Notice F(x)F(x)F(x) is continuous, so ∀x∈B(n,δ)\forall x \in B(n,\delta)xB(n,δ),
    ∣[F(0)−F(−1x)]−[F(0)−F(−1n)]∣<ϵ2|[F(0)-F(-\frac{1}{\sqrt{x}})]-[F(0)-F(-\frac{1}{\sqrt{n}})]|<\frac{\epsilon}{2} [F(0)F(x1)][F(0)F(n1)]<2ϵ
    So
    ∣P(Sn=n)−[F(0)−F(−1n)]∣≤∣P(Sn=n)−[F(0)−F(−1x)]∣−∣F(x)−[F(0)−F(−1n)]∣<ϵ|P(S_n=n)-[F(0)-F(-\frac{1}{\sqrt{n}})] | \\ \le |P(S_n=n)-[F(0)-F(-\frac{1}{\sqrt{x}})]| -|F(x)-[F(0)-F(-\frac{1}{\sqrt{n}})]| <\epsilon P(Sn=n)[F(0)F(n1)]P(Sn=n)[F(0)F(x1)]F(x)[F(0)F(n1)]<ϵ
    Notice F(x)F(x)F(x) is also bounded, so ∃M>0\exists M>0M>0 such that ∀x,F(x)≤M\forall x,\ F(x) \le Mx, F(x)M
    ∣P(Sn=n)F(0)−F(−1n)−1∣<ϵM|\frac{P(S_n=n)}{F(0)-F(-\frac{1}{\sqrt{n}})}-1| <\frac{\epsilon}{M} F(0)F(n1)P(Sn=n)1<Mϵ
    F(0)−F(−1n)=∫−1n012πe−x22dx=∫−1n012π(1−x22+o(x3))dx=12πn−112πn3+o(1n2)F(0)-F(-\frac{1}{\sqrt{n}}) = \int_{-\frac{1}{\sqrt{n}}}^0 \frac{1}{\sqrt{2 \pi}} e^{-\frac{x^2}{2}} dx \\ = \int_{-\frac{1}{\sqrt{n}}}^0 \frac{1}{\sqrt{2 \pi}}( 1-\frac{x^2}{2}+o(x^3)) dx \\ = \frac{1}{\sqrt{2 \pi n}} - \frac{1}{\sqrt{12 \pi n^3}} + o(\frac{1}{n^2}) F(0)F(n1)=n102π1e2x2dx=n102π1(12x2+o(x3))dx=2πn112πn31+o(n21)
    According to the two equations and inequality, when n is large enough, we can ignore −112πn3+o(1n2)- \frac{1}{\sqrt{12 \pi n^3}} + o(\frac{1}{n^2})12πn31+o(n21), so
    e−nnnn!→12π\frac{e^{-n}n^n}{n!} \to \frac{1}{\sqrt{2\pi}}n!ennn2π1

    证毕

    Weibull分布的基本生存函数

    性质

  • 生存函数
    S(x)=e−1θxγ,x≥0S(x)=e^{-\frac{1}{\theta}x^{\gamma}},x \ge 0S(x)=eθ1xγ,x0
  • 危险率函数h(x)=γθxγ−1,x≥0h(x)=\frac{\gamma}{\theta}x^{\gamma-1},x \ge 0h(x)=θγxγ1,x0显然γ\gammaγ控制hhh的单调性
  • 期望EX=θ1/γΓ(1+1/γ)EX=\theta^{1/\gamma}\Gamma(1+1/\gamma)EX=θ1/γΓ(1+1/γ)
  • rrr阶矩EXr=θr/γΓ(1+r/γ)EX^r=\theta^{r/\gamma}\Gamma(1+r/\gamma)EXr=θr/γΓ(1+r/γ)
  • 总结

    以上是生活随笔为你收集整理的精算模型1 一元生存分析2 参数生存模型的全部内容,希望文章能够帮你解决所遇到的问题。

    如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。