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.
Diese Übung ist Teil des Kurses
<Kurs>Einführung in die Regression mit statsmodels in Python</Kurs>Interaktive praktische Übung
Verwandle Theorie mit einer unserer interaktiven Übungen in die Praxis
Übung starten