From gunter.berton at gene.com  Tue Jul 31 15:46:20 2012
From: gunter.berton at gene.com (Bert Gunter)
Date: Tue, 31 Jul 2012 06:46:20 -0700
Subject: [Rd] Numerics behind splineDesign
In-Reply-To: <loom.20120731T152127-870@post.gmane.org>
References: <CAPJVwB=ppJ=SOs9k0p5ZHqGdnk8L1MZMBUbCSQ6oH5Zd5Pwpig@mail.gmail.com>
	<loom.20120731T152127-870@post.gmane.org>
Message-ID: <CACk-te3ERmEVe2f2YqU8t5iFSVj0E9a4RGDTudDvGiAUyUQUtg@mail.gmail.com>

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.

-- Bert

On Tue, Jul 31, 2012 at 6:25 AM, Ben Bolker <bbolker at gmail.com> wrote:
> Nathaniel Smith <njs <at> pobox.com> 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
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



-- 

Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374
Website:
http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm



[Rd] Numerics behind splineDesign
Bert Gunter