Hello all
I came across this post on stata corp post https://www.stata.com/support/faqs/s...nce-intervals/
https://www.stata.com/support/faqs/s...nfidence-inter
vals/
I'm trying to understand this code written by an author on a publication

Author displays his code on how he calculated how Surgical cases in urology surgeons affects recurrence in prostate cancer.
So as you can see the author predicts xb (linear predictors) – as per post in stata corp
The author then goes on to generate the Upper Bound and lower bound CI (seen above in my green notes)
My questions
I don’t understand why the red steps are performed as this is not given in stata corp post...can anyone explain this ?
Also, with the -predict- in stata corp it says can be used with logistic regression. Can this be used with COX/ Parametric tests? From what I read one needs to take care as it is essentially summarising means for all values.
Is this correct?
I came across this post on stata corp post https://www.stata.com/support/faqs/s...nce-intervals/
https://www.stata.com/support/faqs/s...nfidence-inter
I'm trying to understand this code written by an author on a publication
Author displays his code on how he calculated how Surgical cases in urology surgeons affects recurrence in prostate cancer.
So as you can see the author predicts xb (linear predictors) – as per post in stata corp
The author then goes on to generate the Upper Bound and lower bound CI (seen above in my green notes)
My questions
- Why does the author use -exp- and a -xb ? (stata corp is positive)
- Why does the author also include a^(1/gamma) ^-1 ? Does this have any relation with Weibull at all ?
- If I may push my luck for another question - I don't understand what stata corp is trying to generate in the sections marked in blue
I don’t understand why the red steps are performed as this is not given in stata corp post...can anyone explain this ?
Also, with the -predict- in stata corp it says can be used with logistic regression. Can this be used with COX/ Parametric tests? From what I read one needs to take care as it is essentially summarising means for all values.
Is this correct?
Comment