PHReg.get_distribution()

statsmodels.duration.hazard_regression.PHReg.get_distribution

PHReg.get_distribution(params) [source]

Returns a scipy distribution object corresponding to the distribution of uncensored endog (duration) values for each case.

Parameters:

params : array-like

The proportional hazards model parameters.

Returns:

A list of objects of type scipy.stats.distributions.rv_discrete

Notes

The distributions are obtained from a simple discrete estimate of the survivor function that puts all mass on the observed failure times within a stratum.

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.duration.hazard_regression.PHReg.get_distribution.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部