Dear all,
I want to plot the predicted probability of the outcome variable from regression coefficients under different specifications of the main exposure variable (linear, log-transformed, and spline with three knots) on the same plot. Specially, my main challenge is to get the predicted probability of the outcome variable at different levels of the exposure variable (after spline of different knots).
If it helps, this is the type of figure I want to produce: https://images.app.goo.gl/6dC2Br18f5UkzRZ28
Thank you for any suggestions!
I want to plot the predicted probability of the outcome variable from regression coefficients under different specifications of the main exposure variable (linear, log-transformed, and spline with three knots) on the same plot. Specially, my main challenge is to get the predicted probability of the outcome variable at different levels of the exposure variable (after spline of different knots).
If it helps, this is the type of figure I want to produce: https://images.app.goo.gl/6dC2Br18f5UkzRZ28
Thank you for any suggestions!
