WOLFRAM|DEMONSTRATIONS PROJECT

Regression Model with Transformations

​
dataset
lead
AIDS
lichens
birth weight
crickets
kittiwakes
CPK enzyme
Mazda price
population of USA
transformation
None
log
square root
square
reciprocal
Box–Cox λ
Tukey λ
λ for Box–Cox or Tukey
1
This Demonstration shows the simple linear regression model for various datasets. You can transform the response variable (i.e. the dependent variable), and display the least-squares fit, the coefficient of determination
2
R
, and estimates of the marginal variance of
y
, as well as the conditional variance assumed to be common across all values of
x
. Box–Cox and Tukey power transformations are available; you can vary the power parameter
λ
and display a plot of the effect of various values of
λ
on
2
R
. When the transformation used is either Box–Cox or Tukey's transformation, a plot of
2
R
versus the parameter
λ
is shown.