Is there an R-package to calculate pseudo R-squared measures for conditional (fixed effects) logistic models using clogit or bife?

坚强是说给别人听的谎言 提交于 2020-06-25 06:33:52

问题


Is there a R-package to calculate pseudo R-squared measures for my model? rcompanion neither supports clogit nor bife (due to missing intercept?).

Originally that was one question out of a larger context, which I edited to make it more readable.

Thanks in advance for your help!


回答1:


Relative to question 5: Definitions for pseudo r-squared values based (mostly) on log likelihood values are given by UCLA IDRE. If you are able to extract the log likelihood from the fitted model and null model, calculating these measures is fairly straightforward. I don't know which, if any, of these might make sense for this kind of model. If the log likelihood values are not available for this kind of model are not available, Efron's pseudo r-square, which is based on the predicted and actual y values. This might be serviceable in this case; I don't know.



来源:https://stackoverflow.com/questions/59007981/is-there-an-r-package-to-calculate-pseudo-r-squared-measures-for-conditional-fi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!