pbreheny / visreg

Visualization of regression functions
http://pbreheny.github.io/visreg/
61 stars 18 forks source link

Interaction plots introduce extrapolation #24

Open pbreheny opened 7 years ago

pbreheny commented 7 years ago

Charles Eliot Timothy Paine (University of Stirling) writes:

When used to make interaction plots, visreg plots regression lines and confidence intervals beyond the region of support of the data...[reference to an attached plot in which this does not happen]...I suggest that you make this the default behaviour for visreg. Or, at the least, I would ask that you give users the option to trim their predictions to the region of the data.

pbreheny commented 7 years ago

This is a great point; I will do my best to work this into the next release of visreg.