Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Location of the knots when estimating a spline model


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Location of the knots when estimating a spline model
Date   Tue, 19 Aug 2003 20:48:20 +0100

WEI-JANG HUANG
 
> Does anyone know how to determine where the knots are when 
> estimating a
> spline model?  Is there any ado file that will find the 
> location of the
> knots?
> 
> I'm using Stata 7.0

The short answer is, perhaps, not very helpful. 
There are several different kinds of spline 
and several different ways of choosing knot 
locations. One is that each distinct data point
is a knot, so there is, in that circumstance,
no question of choice. 

Some of these are implemented in 
Stata, although I guess only a small fraction
of the possibilities. 

Anyway, if you have some specific Stata command
or program in mind, please say what it is. 

Nick 
n.j.cox@durham.ac.uk 
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index