Anyone know if it is possible to get the R scripts used in the "The Elements of Statistical Learning" book? It is a great book but sometimes some help would be useful to replicate the results presented in the book and so, understood things better. Thanks Manuel -- View this message in context: http://n4.nabble.com/Scripts-from-The-Elements-of-Statistical-Learning-book-tp1586751p1586751.html Sent from the R help mailing list archive at Nabble.com.
David Winsemius
2010-Mar-10 03:27 UTC
[R] Scripts from The Elements of Statistical Learning book
On Mar 9, 2010, at 6:59 PM, mramon wrote:> > Anyone know if it is possible to get the R scripts used in the "The > Elements > of Statistical Learning" book? It is a great book but sometimes some > help would > be useful to replicate the results presented in the book and so, > understood > things better.Your request is rather vague. I just flipped through my copy and do not see much R/S code at all. I sure you've already don the obvious search that would have quickly pulled up: http://www-stat.stanford.edu/~tibs/ElemStatLearn/Rfun.html http://www-stat.stanford.edu/~tibs/ElemStatLearn/data.html>-- David Winsemius, MD West Hartford, CT
Gavin Simpson
2010-Mar-10 11:51 UTC
[R] Scripts from The Elements of Statistical Learning book
On Tue, 2010-03-09 at 15:59 -0800, mramon wrote:> Anyone know if it is possible to get the R scripts used in the "The Elements > of > Statistical Learning" book? It is a great book but sometimes some help would > be useful to replicate the results presented in the book and so, understood > things better. > Thanks > > ManuelNot scripts exactly, but Halvorsen's ElemStatLearn package: http://r-forge.r-project.org/projects/elemstatlearn/ has data sets, functions and examples from the book. The latter are include in the example sections of the respective Rd (help) files. HTH G -- %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~% Dr. Gavin Simpson [t] +44 (0)20 7679 0522 ECRC, UCL Geography, [f] +44 (0)20 7679 0565 Pearson Building, [e] gavin.simpsonATNOSPAMucl.ac.uk Gower Street, London [w] http://www.ucl.ac.uk/~ucfagls/ UK. WC1E 6BT. [w] http://www.freshwaters.org.uk %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
If you are interested in machine learning in general, you might also want to have a look at the CRAN Task View on Machine Learning & Statistical Learning that contains this package, as well as others: http://cran.r-project.org/web/views/MachineLearning.html Best, --- Ralf Bierig Post-Doctoral Associate School of Communication and Information Rutgers University 4 Huntington Street New Brunswick, NJ 08901-1071, USA On Tue, Mar 9, 2010 at 6:59 PM, mramon <manugen at gmail.com> wrote:> > Anyone know if it is possible to get the R scripts used in the "The Elements > of > Statistical Learning" book? It is a great book but sometimes some help would > be useful to replicate the results presented in the book and so, understood > things better. > Thanks > > Manuel > -- > View this message in context: http://n4.nabble.com/Scripts-from-The-Elements-of-Statistical-Learning-book-tp1586751p1586751.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org 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. >
Thank you Ralf. I am starting with these things (just a couple of weeks). I have a data base with temperature records of 90 consecutive days (along the year) affecting the fertility (0 or 1) of animals and I want to identify what set of temperatures have more negative effect and what is the magnitude of that effect. Since temperature records of are highly correlated (more if days are close), in a first attempt I decided to used a ridge regression procedure. However, I would like to find another options and compared between they. Once I have chosen the days, I will try to identify differences on the responses of each animal. So my initial purpose is to find different options that could help me to solve that problem. -- View this message in context: http://n4.nabble.com/Scripts-from-The-Elements-of-Statistical-Learning-book-tp1586751p1588167.html Sent from the R help mailing list archive at Nabble.com.