Fitting non-linear Relationships

Fitting Non-linear Relationships 

When the relationship between X and Y is not linear, you can transform the Y or X variable to better match the relationship.  

How do we determine which transformation will best fit a non-linear relationship? Look at the residuals.