Height and weight of schoolchildren

Model predictions

Linear model


      

Quadratic model


      

LOESS model

Note: categorical variable sex cannot be used as a predictor in a LOESS model. (The plot above uses two separate models.)