[R] comparing fit of cubic spline

From: Thomas Reed <tom.reed_at_ed.ac.uk>
Date: Mon, 21 May 2007 16:17:08 +0100


I want to compare the fit of a quadratic model to continuous data, with that of a cubic spline fit. Is there a way of computing AIC from for e.g. a GAM with a smoothing spine, and comparing this to AIC from a quadratic model?  

Cheers  


Tom Reed
PhD Student
Institute of Evolutionary Biology
102 Ashworth Laboratories
Kings Buildings
University of Edinburgh
Edinburgh EH9 3JT

tom.reed_at_ed.ac.uk

Tel. 00 44 (0)131 6505462
http://homepages.ed.ac.uk/ecunning/tom.html http://homepages.ed.ac.uk/loeske/tom.html


 

        [[alternative HTML version deleted]]



R-help_at_stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 21 May 2007 - 15:43:30 GMT

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 30 May 2007 - 11:31:34 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.