Using and interpreting restricted cubic splines
Sometimes one wants to model the effect of a variable as a nonlinear smooth curve. A convenient choice for such a curve is a restricted cubic spline. This option has existed in Stata for a while through user-written programs, but as of Stata 10, the mkspline command in combination with the cubic option has been implemented in official Stata. In this talk, I will briefly introduce splines and restricted cubic splines, but I will mainly focus on what happens after one has estimated a model with a restricted cubic spline, and in particular how the postrcspline package can help in the interpretation of the results.
Year of publication: |
2009-07-16
|
---|---|
Authors: | Buis, Maarten L. |
Institutions: | Stata User Group |
Saved in:
freely available
Saved in favorites
Similar items by person
-
Comparing observed and theoretical distributions
Buis, Maarten L., (2012)
-
Buis, Maarten L., (2010)
-
Linking process to outcome: The seqlogit package
Buis, Maarten L., (2007)
- More ...