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.
Это упражнение является частью курса
Introduction to Regression in R
Практическое интерактивное упражнение
Превратите теорию в практику с помощью одного из наших интерактивных упражнений
Начать упражнение