Hi,
I have a dataset of 7,000 patients but multiple observations were missing (around 20-30% of the whole dataset).
I have tried to use mi (multiple imputation command) before running the Cox regression in the training dataset.
I successfully ran the "mi estimate: stcox x1 x2 x3,..." command, with good Harrell's C statistic results when tested in the validation dataset.
However, for the calibration, I could not use "stcoxcal" command as stated in this articles. https://journals.sagepub.com/doi/pdf/10.1177/1536867X1401400403.
The error massage after "mi estimate :stcoxcal xb, val(val) times(7) test" was
"mi estimate: command not supported
stcoxcal is not officially supported by mi estimate; see mi estimation for a
list of Stata estimation commands that are supported by mi estimate. You can
use option cmdok to allow estimation anyway."
Any suggestion to do the calibration in the model after Cox regression in multiple imputation dataset?
Thank you
Related Posts with stcoxcal after multiple imputation
Stata vs Python for data managementStata has the best data management of a single data set (a single data frame) that I have come acros…
Creating a Complicated Variable.Hello all, I have 7 variable all coded 0 = no and 1 = yes. (nothing else). All variables ask if you…
Generate new Variable and based on that cumulate by monthHi, I do have a question regarding a dataset. I try to cumulate my "usd" by month for each country.…
regress by stateHi Statalist, I have a dataset, which includes wk(weekdays), wk2(weekend), sn(state by group), reso…
Stata error code: Factor Variables may not contain negative valuesHello, I am very new to Stata - I have tried reading around to solve my error but I am struggling! …
Subscribe to:
Post Comments (Atom)
0 Response to stcoxcal after multiple imputation
Post a Comment