Calculating constant hazards in exponential survival distributions

4 ビュー (過去 30 日間)
Yuexun Tian
Yuexun Tian 2020 年 8 月 25 日
編集済み: Jeff Miller 2020 年 8 月 27 日
I am trying to do a survival anapysis by fitting exponential model. I was told that I shouldn't just fit my survival data to a exponential model. Instead, I should aim to calculate the hazard fundtion, which is λ in exponential distribution. My data will be like 10 surviving time, for example: 4,4,5,7,7,7,9,9,10,12.
My question is how do I fit the exponential survival distribution and calculate hazard. And what function should I use?
I am new to matlab and I appriciate any help and suggestions.

採用された回答

Jeff Miller
Jeff Miller 2020 年 8 月 25 日
The exponential distribution is a one-parameter distribution, so all you can do is estimate that parameter. Once you have that estimate, everything else is also determined, including the hazard function. So you could think of "estimating the parameter" as the same thing as "estimating the hazard function".
For the maximum likelihood estimator of the parameter and a bias-corrected estimator, check Wikipedia
  4 件のコメント
Yuexun Tian
Yuexun Tian 2020 年 8 月 27 日
Thank you so much!
I think the 'rate' parameter is where I was stucked!
Jeff Miller
Jeff Miller 2020 年 8 月 27 日
編集済み: Jeff Miller 2020 年 8 月 27 日
You are welcome. Please accept the answer if your questions have been resolved.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIndustrial Statistics についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by