Linear Regression through the Origin

The linear regression models examined so far have always included a constant that represents the point the regression line crosses the y-axis, called the intercept. However, there are some cases where an intercept may not conceptually apply to the data being modeled. For example, a factory cannot produce widgets if...

Linear Regression Confidence and Prediction Intervals

In a previous example, linear regression was examined through the simple regression setting, i.e., one independent variable. Fitting a linear model allows one to answer questions such as: What is the mean response for a particular value of x? What value will the response be assuming a particular value of x? In the...

Simple Linear Regression Models with R

Linear regression is a widely used technique to model the association between a dependent variable and one or more independent variables. In the Simple Linear Regression setting, which is what will be explored in this post, there is one independent and dependent variable. The linear regression model in the simple...