Data Analysis with R statistical Software: A Guidebook for Scientists by and the Guidebook Development Team & Thomas Rob
Author:and the Guidebook Development Team & Thomas, Rob [and the Guidebook Development Team]
Language: eng
Format: epub
Publisher: Eco-Explore CIC
Published: 2015-08-30T16:00:00+00:00
Polynomial regression (parametric non-linear regression)
To fit a curved line to your data, there are two main options: (i) polynomial regression , which uses the square, cube, etc. of your independent variables, or (ii) generalised additive models (GAMs) . The main difference between these two approaches is that polynomial regression uses standard parametric terms to model the data, whereas GAMs use non-parametric “smoothers” to model the data.
To run a polynomial regression, for example with a linear term (x), a quadratic term (x 2 ) and a cubic term (x 3 )
model1 <- lm (y ~ x + I(x^2) + I(x^3))
Note that the letter “I ” (meaning “as is”) is used to prevent R reading what follows as a formula.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Administration | Assessment |
Educational Psychology | Experimental Methods |
History | Language Experience Approach |
Philosophy & Social Aspects | Reform & Policy |
Research |
The Art of Coaching Workbook by Elena Aguilar(50050)
Trainspotting by Irvine Welsh(20958)
Twilight of the Idols With the Antichrist and Ecce Homo by Friedrich Nietzsche(18274)
Fangirl by Rainbow Rowell(8768)
Periodization Training for Sports by Tudor Bompa(7894)
Change Your Questions, Change Your Life by Marilee Adams(7330)
This Is How You Lose Her by Junot Diaz(6407)
Asking the Right Questions: A Guide to Critical Thinking by M. Neil Browne & Stuart M. Keeley(5326)
Grit by Angela Duckworth(5269)
Red Sparrow by Jason Matthews(5172)
Paper Towns by Green John(4763)
Room 212 by Kate Stewart(4714)
Ken Follett - World without end by Ken Follett(4420)
The Sports Rules Book by Human Kinetics(4052)
Housekeeping by Marilynne Robinson(4031)
Double Down (Diary of a Wimpy Kid Book 11) by Jeff Kinney(3884)
Papillon (English) by Henri Charrière(3881)
The Motorcycle Diaries by Ernesto Che Guevara(3762)
Exercise Technique Manual for Resistance Training by National Strength & Conditioning Association(3762)
