Dear all,
Thank you in advance for your help.
I have a logistic regression model in which I am evaluating, simplifying, the effect of BMI and age on the probability of edema, where age is modeled via cubic splines.
The model is essentially:
mkspline ages=age, cubic displayknots nknots(5)
logistic edema c.BMI##c.ages*
I am trying to find a way to create a smoothed graph where I can visualize the effect of BMI on the probability of Edema as age varies.
Do I necessarily need to go through margins, dydx(BMI) etc ?
Or does STATA hold ad-hoc commands?
Thank you again.
Gianfranco
Thank you in advance for your help.
I have a logistic regression model in which I am evaluating, simplifying, the effect of BMI and age on the probability of edema, where age is modeled via cubic splines.
The model is essentially:
mkspline ages=age, cubic displayknots nknots(5)
logistic edema c.BMI##c.ages*
I am trying to find a way to create a smoothed graph where I can visualize the effect of BMI on the probability of Edema as age varies.
Do I necessarily need to go through margins, dydx(BMI) etc ?
Or does STATA hold ad-hoc commands?
Thank you again.
Gianfranco