Linear relationship
Linearity is the property of a relationship, function, or transformation whose behavior follows a straight-line rule, with changes proportional to inputs or lines mapped to lines.
Statistics Slam Dunk
Linearity is the property that a relationship can be represented by a straight-line pattern or a linear function.
- How it is used
- Uses correlations and diagnostic plots to explore associations and decide whether linear modeling is appropriate.
- How deep it goes
- Defines direction and strength, demonstrates R visualization, and checks regression assumptions without presenting a formal proof.
- Examples
- Compares NBA draft Age, games, minutes, Win Shares, and Win Shares per 48 minutes with a correlation matrix and heat map.
- What you can do after
- Apply it via R to compute correlations, visualize relationships, and diagnose linear-model assumptions.
Read how Statistics Slam Dunk explains linear relationship →
Grokking Statistics
A relationship in which changes in one variable are proportional to changes in another.
- How it is used
- Uses linear patterns to assess relationships between variables and support correlation, regression, and prediction.
- How deep it goes
- Explains visual patterns and Pearson r interpretation, while deferring formula proofs and broader nonlinear treatment.
- Examples
- Uses temperature and sports-drink sales, contrasting sleep and rainfall as a likely coincidental association.
- What you can do after
- Evaluate/understand whether paired data suggests a linear pattern and what correlation direction and strength imply.
Related concepts
- power-law relationshipcontrasts with · A power-law relationship is a mathematical relationship in which one quantity is proportional to another quantity raised to a fixed exponent.
- correlationmeasured by · Correlation is a statistical relationship describing how two or more variables or quantities vary together, including the strength and direction of their association, without by itself implying causation.
- line equationuses · A line equation is an equation linear in its variables that represents a straight line in two dimensions or a linear relationship in higher dimensions.
- linear regressionused by · Linear regression is a statistical modeling method that estimates a continuous response as a linear combination of predictor variables and fitted coefficients.
- intercepthas part · An intercept is an additive constant in a model that shifts its output independently of its input features.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

