From pdalgd at gmail.com  Wed Aug  1 15:39:47 2012
From: pdalgd at gmail.com (peter dalgaard)
Date: Wed, 1 Aug 2012 15:39:47 +0200
Subject: [Rd] Numerics behind splineDesign
In-Reply-To: <CACk-te3ERmEVe2f2YqU8t5iFSVj0E9a4RGDTudDvGiAUyUQUtg@mail.gmail.com>
References: <CAPJVwB=ppJ=SOs9k0p5ZHqGdnk8L1MZMBUbCSQ6oH5Zd5Pwpig@mail.gmail.com>
	<loom.20120731T152127-870@post.gmane.org>
	<CACk-te3ERmEVe2f2YqU8t5iFSVj0E9a4RGDTudDvGiAUyUQUtg@mail.gmail.com>
Message-ID: <D7CCBAE0-4D80-436D-8594-17EDF691A75A@gmail.com>


On Jul 31, 2012, at 15:46 , Bert Gunter wrote:

> 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.

Also check out the various web resources (Google for basis spline or B-spline). I don't recall the white book chapter, but it might be a little short on the algebraic details. Another Google point is "de Boor".  


> 
> -- 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
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



[Rd] Numerics behind splineDesign
peter dalgaard