Download Data Modeling with Regress+

Transcript
CHAPTER 5. OPTIMIZING THE MODEL
48
Before leaving this example, there is one further issue that should be discussed. It is
tempting to look at (5.11) and note that, if you take logs of both sides, you get a linear
equation for log(y).
log(y) = log(A) + B x
(5.12)
Since (5.12) is algebraically equivalent to (5.11), one might think that they would give
the same parameters once the transform was undone. This is a common mistake.3 Table 5.3
lists the A and B parameters for the unweighted, weighted and (unweighted) log-transform
models. They are quite different.
Table 5.3: ML Parameters for Hale-Bopp Regressions
Regression
unweighted
weighted
transform
A
B
2763.39 -0.978253
2926.11 -1.04642
1936.35 -0.911981
A nonlinear transform such as the log transform affects large values more than small
values. In this case, points close to the Sun are affected more than those farther away.
It is possible to undo nonlinear transforms correctly but it requires a lot more work. In
contrast, linear transforms—adding a constant, multiplying by a constant or both—are
generally acceptable.4
3
4
and ubiquitous on pocket calculators with regression capability
but the parameters will have different units