Hi there,
I am running some cox regression analyses and want to estimate the explained variance with the str2ph and str2d command.
It works with the following: str2ph stcox var1 var2
However, my Cox model looks like this: str2ph stcox var1 var2 i.var3 i.var4
my error message is: factor-variable and time-series operators not allowed
is there a work-around so that I can incorporate my factor-variables in the model?
thank you!
kind regards Jessy
Related Posts with explained variance cox regression str2ph str2d with factor variables
Discriminate analysis using stataHello everyone ; i need to apply 'Discriminate analysis' on stata , how can i apply it and get both …
Timevar for survival analysisDear All, This might be a silly question, but it is driving me crazy. I am managing data which wer…
Split string variableDear Experts, I want to split the string variable. Please advice. The issue is: I have the respons…
about synth instruction questionhello great master I have a question My stata version is 14 when I perform the instruction, it alway…
how to estimate individual betas of coefficients in a province-sector-year panel data (with 2 sectional identifiers)Hello everyone: I'm trying to estimate production functions for a panel data of manufacturing with 2…
Subscribe to:
Post Comments (Atom)
0 Response to explained variance cox regression str2ph str2d with factor variables
Post a Comment