Statalist


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

Re: st: RE: -mkspline- reference


From   Jacob Wegelin <jacob.wegelin@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: -mkspline- reference
Date   Tue, 5 May 2009 20:54:02 -0400

Kieran,

Thanks.  Actually, -mkspline- computes *linear* splines. For instance,
the following code:

. mkspline  Age1  44  Age2 = Age

. regress Y Age1 Age2

fits a continuous, piecewise linear model of E(Y|Age) for which the
slope is permitted to change abruptly at Age=44.

Thus I am looking for a reference that specifically explains what
algorithm and formulas are implemented in -mkspline-, and perhaps also
discusses uses of linear splines and gives examples where they are
used to good effect.

Jake

On Tue, May 5, 2009 at 7:05 PM, Kieran McCaul <Kieran.McCaul@uwa.edu.au> wrote:
> .
> .
>
> Frank Harrell's book "Regression Modelling Strategies" has a chapter on
> restricted cubic splines.
>
> ______________________________________________
> Kieran McCaul MPH PhD
> WA Centre for Health & Ageing (M573)
> University of Western Australia
> Level 6, Ainslie House
> 48 Murray St
> Perth 6000
> Phone: (08) 9224-2701
> Fax: (08) 9224 8009
> email: Kieran.McCaul@uwa.edu.au
> http://myprofile.cos.com/mccaul
> http://www.researcherid.com/rid/B-8751-2008
> ______________________________________________
> Epidemiology is so beautiful and provides such an important perspective
> on human life and death,
> but an incredible amount of rubbish is published.  Richard Peto (2007)
>
> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Jacob Wegelin
> Sent: Wednesday, 6 May 2009 6:51 AM
> To: statalist@hsphsun2.harvard.edu
> Subject: st: -mkspline- reference
>
> Can anyone point me to a reference for  -mkspline- ?
>
> I mean, ideally, a published article or book that describes in
> software-independent terms (so that statisticians who do not know
> Stata will understand) exactly the algorithm and/or formula that the
> Stata programmers implemented when they wrote -mkspline-.
>
> I apologize if the answer is in [R] Stata Reference Manual. I do not
> own that book.
>
> Jacob A. Wegelin
> Assistant Professor
> Department of Biostatistics
> Virginia Commonwealth University
> 730 East Broad Street Room 3006
> P. O. Box 980032
> Richmond VA 23298-0032
> U.S.A.
> E-mail: jwegelin@vcu.edu
> URL: http://www.people.vcu.edu/~jwegelin
> *
> *   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/
>
>
>
> *
> *   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/
>

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index