Posts

Showing posts from September, 2016

Linear Regression using R

Image
Iteration-0 Consolidated  2 good posts..This is just for personal reading..references use only. ------------------------------------------------------------------------ https://www.r-bloggers.com/simple-linear-regression-2/ One of the most frequent used techniques in statistics is linear regression where we investigate the potential relationship between a variable of interest (often called the response variable but there are many other names in use) and a set of one of more variables (known as the independent variables or some other term). Unsurprisingly there are flexible facilities in  R  for fitting a range of linear models from the simple case of a single variable to more complex relationships. For this example we will use some data from the book Mathematical Statistics with Applications by Mendenhall, Wackerly and Scheaffer (Fourth Edition – Duxbury 1990). This data is for a study in central Florida where 15 alligators were captured and two measurements were made on ea