Linear regression is a fundamental statistical tool used to model the relationship between a dependent variable and one or more independent variables.
Interactive Visualization
Explore the relationship between Height (cm) and Weight (kg) below. Hover over points to see exact values.
## A marker object has been specified, but markers is not in the mode
## Adding markers to the mode...
The model output helps us determine if the relationship is statistically significant.
| Estimate | Std. Error | t value | Pr(>|t|) | |
|---|---|---|---|---|
| (Intercept) | 23.946 | 9.146 | 2.618 | 0.01 |
| height | 0.574 | 0.053 | 10.737 | 0.00 |
Insight: For every 1cm increase in height, the model predicts an average weight increase of 0.57 kg.