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
Taking the average of observations within a specific date rangeHi, I want to compute the average of a variable (teamsize) for observations within a specific time …
Variable Labels Hello dear forum members, I am new here and am currently learning Stata. I am a beginner and have o…
Problems creating Herfindahl-Hirschman IndexHello everyone, I want to create the Herfindahl-Hirschman Index for my data. I have quartlery data …
renaming variables using values they holdHey everyone, Is there a simple command (or few lines of code) to rename variables based on a speci…
Code of Patell Z-statisticGoodmorning everyone, I'd like to derive a Z-statistic by means of the Patell test (https://www.eve…
Subscribe to:
Post Comments (Atom)
0 Response to mi predict problem
Post a Comment