Hi all,
I am fitting a Cox model with shared frailty and I hope to get the (pseudo) R squared for my model. Here is my code:
stcox x1 x2 x3 x4, shared(ID)
display e(r2_p)
Nothing comes out.
However, if I take out the shared command, I can get an output of (pseudo) R squared.
stcox x1 x2 x3 x4
display e(r2_p)
.05290264
Can anyone help with this problem? Is it even possible to get the (pseudo) R squared in a Cox model with shared frailty?
Thanks!
Jasmine
Related Posts with Help with R squared in Cox model with shared frailty
merging two data setshello, my project involves merging two very large data sets . I used an id number to merge the two d…
p-value for comparison of adjusted curves from RocregHello, I am trying to compare two curves generated using rocreg - one curve that is not adjusted and…
Is there no way to include "industry fixed effects" in an FE regression?Dear Stata community, I am running a model of the following form: xtset CompanyID Year, yearly xtr…
Drop base variables from fvexpand listI want to modify the variable list produced by fvexpand, e.g. Code: . webuse nhanes2f, clear . f…
Clarification of Results InterpretationI am conducting a cross-sectional study of UK firms to investigate the relationship between boardroo…
Subscribe to:
Post Comments (Atom)
0 Response to Help with R squared in Cox model with shared frailty
Post a Comment