Re: [Rd] Numerics behind splineDesign

From: Bert Gunter <>
Date: Tue, 31 Jul 2012 06:46:20 -0700

Well, I would first check the references given in the Help file!. That's what they're for, no? Hastie's book is likely to more complete on the algebra, I think.

You might also be interested in the relevant chapters of Friedman, Hastie, et. al "The Elements of Statistical Learning Theory," which might be a gentler exposition of the math.

Of course, the code (or a suitable exposition of it, which may not exist) is the ultimate reference.

On Tue, Jul 31, 2012 at 6:25 AM, Ben Bolker <> wrote:
> Nathaniel Smith <njs <at>> writes:
>> I find myself needing to be able to reproduce the spline bases that R
>> computes when using ns() and bs() -- but without using R. Before I go
>> diving headfirst into the C code in
>> ./src/library/splines/src/splines.c, are there any simpler references
>> anyone might recommend?
> [snip]
> Some of this stuff *might* be in the "White Book" (Statistical
> Models in S, ed Chambers & Hastie (esp. chapter 7?)
> Ben Bolker
> ______________________________________________
> mailing list


Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374

______________________________________________ mailing list
Received on Wed 01 Aug 2012 - 12:35:33 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 01 Aug 2012 - 14:20:35 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive