Linearity
Linearity is the property of a relationship, function, or transformation being governed by a linear rule, such as proportional change or preservation of linear structure.
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.
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.
Also covered in
What to know first
- independent variableAn independent variable is an input or explanatory variable used to model, explain, or predict variation in an outcome, without necessarily causing it.
- meanThe mean is a measure of central location equal to the arithmetic average of numerical observations, or the probability-weighted average of a random variable’s possible values.
- statistical significanceStatistical significance is a judgment that observed data are sufficiently inconsistent with a specified null hypothesis under a statistical test and chosen criterion.
- varianceVariance is the expected squared deviation of a random variable from its mean and measures the dispersion of its values.
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 association describing how variables vary together in direction or degree, without by itself establishing 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 method that models a numeric response as a linear function of one or more predictor variables with fitted parameters.
- intercepthas part · An intercept is an additive constant parameter in a model that shifts its output independently of its input features.
Questions about linearity
What is linearity?
Linearity is the property of a relationship, function, or transformation being governed by a linear rule, such as proportional change or preservation of linear structure.
Which Manning books explain linearity?
Statistics Slam Dunk and Grokking Statistics.
What should I know before learning linearity?
Manning books that teach linearity usually introduce independent variable, mean, statistical significance and variance first.
What is the difference between linearity and power-law relationship?
Linearity is the property of a relationship, function, or transformation being governed by a linear rule, such as proportional change or preservation of linear structure. A power-law relationship is a mathematical relationship in which one quantity is proportional to another quantity raised to a fixed exponent.
What are the parts of linearity?
Linearity includes intercept.
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.

