Linear Regression Analysis using R – Step Up Analytics
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 inR for fitting a range of linear models from the simple case of a single variable to more complex relationships. In this post we will consider the case of simple linear regression with one response variable and a single independent variable. The purpose of using this data is to determine whether there is a relationship, described by a simple linear regression model, between variables. You seen in the image that first i checked my working directory and then changed it to another directory, this means the working datafiles have another location so i changed it for my help.
Aug-20-2016, 09:35:38 GMT