Stats

Popular Posts

Followers

Mathematica 教學 How to compute cdf of Weibull Distribution

戴忠淵 於 2010年9月15日星期三 下午11:33 發表


fw[t_,beta_,alpha_,theta_]:=beta*(t-alpha)^(beta-1)/theta^beta*
Exp[-((t-alpha)/theta)^beta];

(*
Mathematica在做積分時有時候會有積不出來的時候,這時候必須要做變數變換。
A change in variables is required to evaluate the integral.
Let y=(x-alpha)/theta.Then the integral is
*)

Integrate[\[Theta]*fw[\[Theta]*y+\[Alpha],\[Beta],\[Alpha],\[Theta]],
{y,0,(x-\[Alpha])/\[Theta]},
Assumptions->{\[Beta]>0,x>\[Alpha],\[Theta]>0}]
Tags: ,

讀者回應 ( 0 意見 )

發佈留言

Please leave your name and tell me what you thought about this site. Comments, suggestions and views are welcomed.

如果這篇文章對你有幫助,那請留個訊息給我~