Hello Members,
I am a new Stata user and now trying to write a paper about prediction model. But we meet a problem now. As we had missing data in this analysis, we used multiple imputation to produce an overall estimate of regression coefficient (with syntax 'mi estimate : logistic' )and model performance measurements including C-statistic (with syntax 'mi xeq 0: roctab ', the probability is also an overall probability of all imputation calculated with code 'mi predict xb_mi' and 'mi xeq: generate phat = invlogit(xb_mi)') and calibration in the large and calibration slope (with syntax 'mi xeq 0:pmcalplot ') . But when we try to draw nomogram with syntax nomolog (with syntax 'mi xeq 0:nomolog ', maybe it is not the correct syntax?), the STATA indicated that nomolog must be executed after logit or logistic. But there were 10 imputation, and the model is the overall estimated model.
Would you please teach me how to draw a nomogram in the multiple imputated database?
Many thanks and best wishes!
Jing Pan
Related Posts with how can we draw a nomogram in 10 multiple imputated dataset?
Help to recall Mata function inside postfile commandHi there, I am trying to run at least 10,000 replications of my code with a Mata function inside us…
Why dummy variable is not correct?Dear Stata users, I am trying to create two dummy variables respecting a few conditions, but for so…
Macros and loopsDear All, I have a couple of problems with macro and loops (they migh be correlated anyway): First…
graph box plot with 6 variables and two groupsHey STATA I have tried (now for a couple of hours) to make an graph hbox with different variables 1…
variable does not uniquely identify observations in the using dataHi I'm working with two data bases but there they don't have the same observations. The first one be…
Subscribe to:
Post Comments (Atom)
0 Response to how can we draw a nomogram in 10 multiple imputated dataset?
Post a Comment