Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Help: Spline model


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: Help: Spline model
Date   Wed, 18 Jul 2007 21:08:48 +0100 (BST)

--- n j cox <[email protected]> wrote:
> I have played around with several examples and written
> a wrapper program -rcspline- that calls up -mkspline-,
> generating the splines as temporary variables, runs the regression
> and then plots response, smoothed response, and predictor. Various
> options allow tweaking of number and positions of knots, display of
> confidence intervals, and so on. Only the tedious job of writing a
> help file remains.
<snip> 
> In due course, I will ask Kit Baum to put -rcspline- on SSC. Note
> as above that Stata 10 is required.

Those poor people still stuck with Stata 9 (me for instance) or even
Stata 8 can use Patrick Royston's -splinegen- to create restricted
cubic splines.

Hope this helps,
Maarten

-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      ___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index