I provide a new tool (marginscontplot) for plotting the marginal effect of continuous covariates in regression models. The plots may be univariate or according to levels or user-selected values of a second covariate. Nonlinear relationships involving transformed covariates may be plotted on the original scale.
RoystonP., and AltmanD. G.1994. Regression using fractional polynomials of continuous covariates: Parsimonious parametric modelling (with discussion). Journal of the Royal Statistical Society, Series C43: 429–467.
2.
RoystonP., and SauerbreiW.2008. Multivariable Model-building: A Pragmatic Approach to Regression Analysis Based on Fractional Polynomials for Modelling Continuous Variables.Chichester, UK: Wiley.
3.
WilliamsR.2012. Using the margins command to estimate and interpret adjusted predictions and marginal effects. Stata Journal12: 308–331.