Suppose you have used a restricted cubic spline to model a nonlinear response to your predictor of primary interest, similar to one of the models for HDL in Fig. 4.7. Figure out how to use the spline basis variables, which in Stata would be made by the mkspline command, and corresponding regression coefficients to plot the shape of the response estimated by the regression model.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here