Hello everyone,
I am doing my thesis which seeks to find the variables that influence the survival of micro-enterprises in the 2015-2021 period, for this I have an unbalanced panel database that includes variables that vary over time, for example, I have the GDP by state that varies over time (that is, one value for 2015, another for 2016, etc), my question is, to estimate a Cox model, should I specify to stata that I’m using variables that change over time? I have read about it and I know that the extended Cox model exists, but I'm not sure that this extension of the model refers to these types of variables that change over time.
I also have another question: should I specify the ID variable for multiple records to the model or is it not necessary?
Thank you,
Ana
Related Posts with Doubt of the Cox model
for loopHi there, I have the following code in stata: *2018 *Form 4 generate Form4= 1 if Performance2018 =…
Unsure if SCARs are correct (event study)Dear Statalist community, I'm working on an event study and I want to use standardized cumulative a…
Calculating MHHI with triple summationHi everybody! I'm looking to create a Modified Herfindahl-Hirschmann Index (MHHI) in STATA from the …
generate yearly date variableHi, very simple question: I want to generate a yearly time variable from 1870 - 2017 in my stata s…
Generating a new variable but missing values have been includedHi, My code is: Code: generate var_66 = 1 if var_33 >=2 However it has put a 1 in the new va…
Subscribe to:
Post Comments (Atom)
0 Response to Doubt of the Cox model
Post a Comment