Building a linear model, and when weighted least squares is used
Answer: The chapter shows how to build linear models from verbal descriptions. Weighted least squares can often be used when the equal-precision assumption does not hold.
From words to a line
The chapter shows how to build linear models from verbal descriptions.
We can also identify the initial value and the rate of change. In one example, $400 per week is the rate of change, or slope.
How the fit is estimated
NIST reviews statistical methods for model building, including linear and nonlinear least squares. Each data point is treated as equally precise, but that assumption does not hold in every modeling application.
When that assumption does not hold, weighted least squares can often be used. Weighted least squares reflects the behavior of the random errors in the model.
See also
Claims
- id: C1 claim: The section shows how to build linear models from verbal descriptions. source: S1 evidence: "Build linear models from verbal descriptions."
- id: C2 claim: In the example, $400 per week is the slope, or rate of change. source: S1 evidence: "$400 per week is the rate of change, or slope"
- id: C3 claim: NIST reviews statistical methods for model building, including least squares. source: S2 evidence: "What are some of the different statistical methods for model building?"
- id: C4 claim: Weighted least squares focuses on the behavior of the random errors. source: S2 evidence: "weighted least squares reflects the behavior of the random errors in the model"
Sources
- [S1] 4.2 Modeling with Linear Functions. OpenStax College Algebra. https://openstax.org/books/college-algebra/pages/4-2-modeling-with-linear-functions . License: CC-BY-4.0. Accessed 2026-11-27.
- [S2] Statistical methods for model building. National Institute of Standards and Technology. https://www.itl.nist.gov/div898/handbook/pmd/section1/pmd143.htm . License: US government work, public domain. Accessed 2026-11-27.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: OpenStax College Algebra, 4.2 Modeling with Linear Functions; National Institute of Standards and Technology, Statistical methods for model building. CC-BY-4.0 (https://creativecommons.org/licenses/by/4.0/). OpenStax College Algebra, Creative Commons Attribution License 4.0. US government work, public domain (https://www.usa.gov/government-works). Work of the U.S. government (National Institute of Standards and Technology). Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: OpenStax College Algebra, 4.2 Modeling with Linear Functions; National Institute of Standards and Technology, Statistical methods for model building. CC-BY-4.0 (https://creativecommons.org/licenses/by/4.0/). OpenStax College Algebra, Creative Commons Attribution License 4.0. US government work, public domain (https://www.usa.gov/government-works). Work of the U.S. government (National Institute of Standards and Technology).
Cite this
iinventedlight. 2026. "Building a linear model, and when weighted least squares is used." iinventedlight Library, iil:note:c5v7azr2, version of 2026-11-27. https://iinventedlight.com/library/notes/modeling-with-linear-functions/. License: CC-BY-4.0.
@misc{iil_note_c5v7azr2,
author = {{iinventedlight}},
title = {{Building a linear model, and when weighted least squares is used}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-27},
url = {https://iinventedlight.com/library/notes/modeling-with-linear-functions/},
note = {Permanent ID iil:note:c5v7azr2. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/modeling-with-linear-functions.md.