Dear all,
I am having problems trying to get the baseline survivor function after mi predict.
I am using the following code:
mi predict basesurv using miest, basesurv
and get the following error:
option basesurv not allowed r(198)
Is there a way to calculate predicted probabilities after mi predict command? I can only calculate XB after mi predict, but I would like to calculate 10-year risks for each person in my dataset. Therefore I first need baseline survivor values.. Any suggestions are very welcome..
Thanks!
Related Posts with mi predict problem
converting unique string variables from two datasets that are characters and numbers to numeric variableHello, I currently have two datasets with a variable that is called scrambled_id. Scramble_id repre…
Header/footer information with -putexcel-Dear All, I am looking for a way to control header/footer information for the Excel (*.xlsx) file p…
Dropping data during while bootstrapping 95%CI using foreach loopsDear Statalisters, I am working with adminstrative data to compare hospital admission rates across …
Model development support: Mixed effects on a quantile regressionHi there, I am wondering the best way to go about accounting for mixed effects of a variable in quan…
Drop survey families where parents are not in specific survey roundsHi all, I would like to drop any family (as shown by their famid) when the "Head" and "Spouse" do n…
Subscribe to:
Post Comments (Atom)
0 Response to mi predict problem
Post a Comment