Thanks to Kit Baum, there is now a new version of -bspline- downloadable
from SSC. In Stata, type -ssc desc bspline- to find out more.
The -bspline- package is described as below on my website. The new version
is still Stata 6, but fixes 2 bugs, which caused it sometimes to ignore the
-noexknot- option and always to disallow Stata 7+ 32-character names for
the generated spline basis variables. I have also slightly revised the help
file and the manual, which is distributed as -bspline.pdf-. I would like to
thank Buzz Burhans for drawing my attention to the first of these bugs.
Best wishes
Roger
--------------------------------------------------------------------------
package bspline from http://www.kcl-phs.org.uk/rogernewson/stata6
--------------------------------------------------------------------------
TITLE
bspline: Create a basis of B-splines or reference splines
DESCRIPTION/AUTHOR(S)
The bspline package contains the programs bspline and frencurv, whic
> h
generate bases of splines in an X-variable for inclusion in the
design matrix of a regression model. The program bspline generates a
basis of Schoenberg B-splines. The program frencurv ("French curve")
generates a basis of reference splines, spanning the same spline
space as the corresponding B-splines, but the fitted parameters
in the regression model corresponding to the reference splines are
simply values of the spline at reference points on the X-axis.
These parameters are easy for non-mathematicians to understand.
The user is allowed to specify the power of the spline, and also the
positions of the knots and/or reference points.
Full documentation of the program (including Methods and Formulas)
can be found in the ancillary file bspline.pdf, which can be viewed
using the Adobe Acrobat Reader.
Author: Roger Newson
Distribution-date: 20 October 2003
Stata-version: 6
INSTALLATION FILES (click here to install
> )
bspline.ado
bspline.hlp
frencurv.ado
frencurv.hlp
ANCILLARY FILES (click here to get)
bspline.pdf
--------------------------------------------------------------------------
(click here to return to the previous screen)
--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom
Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605
Email: [email protected]
Website: http://www.kcl-phs.org.uk/rogernewson
Opinions expressed are those of the author, not the institution.