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

Re: st: Help: Spline model

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

--- n j cox <> 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.
> 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 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

Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
*   For searches and help try:

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