Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: update postrcspline available from SSC


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   stata list <statalist@hsphsun2.harvard.edu>
Subject   st: update postrcspline available from SSC
Date   Sat, 12 Feb 2011 09:04:58 +0000 (GMT)

Thanks to Kit Baum an update of the -postrcspline- package is
now available from SSC. It is a set of post-estimation commands
for models that included an explanatory variable as a restricted
cubic spline. The relationship between that variable and the 
dependent variable will than follow a smooth non-linear curve.
This curve can be graphed, while fixing other explanatory 
variables at certain values (default is the mean), using the
-adjustrcpline- command. The effect, that is the slope of this
curve, can be plotted using -mfxrcspline-. Examples can be seen
at <http://www.maartenbuis.nl/software/postrcspline.html>

This update fixes a number of bugs. The most important one is
that the old version ignored any -offset()- or -exposure()- 
options specified in the estimation command. Moreover, these 
commands returned an error when trying to use it after models
that estimated multiple equations. These two bugs have been
fixed. Finally, when -adjustrcspline- and -mfxrcspline- fix 
values of other explanatory variables (and offsets or 
exporsures), they will return a matrix (r(atmat)) containing 
the values at which these variables are fixed.

To install this update type in Stata 
-ssc install postrcspline, replace- or -adoupdate, update-.

-- Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index