Estimate the intercept
Linear regression models always fit a straight line to the data. Straight lines are defined by two properties: their intercept and their slope.
Here, you can see a scatter plot of house price per area versus number of nearby convenience stores, using the Taiwan real estate dataset.
Click the plot, then estimate the intercept of the linear regression trend line.
This exercise is part of the course
Introduction to Regression in R
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
