The application of linear regression to data analysis is traditionally a tedious calculation delegated to a computer. This article presents a physical model to facilitate an intuitive way of thinking about the slope of a fit. In this simple model, data points are envisioned as beads applying torques on a massless, rigid, horizontal rod. To illustrate how this model can help colleagues directly address special questions about fits, the model is applied to two situations in which there are repeated measurements of data. This rod-and-bead model also arrives at the coefficient of determination formula in a very straightforward way and makes the recollection of the least-squared slope formula and coefficient of determination much easier.

1.
S. M.
Stigler
, “
Gauss and the invention of least squares
,”
Ann. Stat.
9
,
465
474
(
1981
).
2.
J. R.
Taylor
,
An Introduction to Error Analysis
, 2nd ed. (
University Science Books
,
Sausalito
,
1997
).
3.
M. A.
Salgueiro da Silva
and
T. M.
Seixas
, “
The role of data range in linear regression
,”
Phys. Teach.
55
,
371
372
(
2017
).
4.
E.
Zebrowski
, Jr.
and
L.
Takahashi
, “
Linear regression using a simple linear algorithm
,”
Phys. Teach.
25
,
320
321
(
1987
).
5.
M. H.
Edwards
, “
Linear regression revisited
,”
Phys. Teach.
27
,
280
281
(
1989
).
6.
J.
Higbie
, “
Uncertainty in linear regression slope
,”
Am. J. Phys.
59
,
184
185
(
1991
).
7.
L.
Hmurcik
,
A.
Slacik
,
H.
Miller
, and
S.
Samoncik
, “
Linear regression analysis in a first physics lab
,”
Am. J. Phys.
57
,
135
138
(
1989
).
8.
J. L.
Hubisz
, “
Error analysis in the introductory physics laboratory
,”
Phys. Teach.
51
,
447
(
2013
).
9.
M. A.
Heald
, “
Least squares made easy
,”
Am. J. Phys.
37
,
655
662
(
1969
).
10.
A.
Mersereau
and
J.
Metz
, “
True lines
,”
Phys. Teach.
36
,
174
175
(
1998
).
11.
B.
Cameron Reed
, “
Linear least-squares fits with errors in both coordinates
,”
Am. J. Phys.
57
,
642
646
(
1989
).
12.
G. A.
Gerhold
, “
Least-squares adjustment of weighted data to a general linear equation
,”
Am. J. Phys.
37
,
156
161
(
1969
).
13.
K. S.
Krane
and
L.
Schecter
, “
Regression line analysis
,”
Am. J. Phys.
50
,
82
84
(
1982
).
14.
A.
Petrolini
, “
Linear least-squares fit when both variables are affected by equal uncorrelated errors
,”
Am. J. Phys.
82
,
1178
1185
(
2014
).
15.
D.
York
, “
Least-squares fitting of a straight line
,”
Can. J. Phys.
44
,
1079
1086
(
1966
).
AAPT members receive access to the American Journal of Physics and The Physics Teacher as a member benefit. To learn more about this member benefit and becoming an AAPT member, visit the Joining AAPT page.