Solved – Interpretation of plotted component smooth functions of generalized additive model – transformed variables

data transformationdata visualizationgeneralized-additive-model

I have a plot of a GAM which models deforestation severity.

Component smooth functions of a GAM

The explanatory variables are transformed, with log10, inverse, and square root. Is it meaningful to interpret a gradient like this: 'Deforestation severity increases as log10(Distance to forest edge) increases' or 'Deforestation severity increases as distance to forest edge increases' for plot e (note, the lower the value of the y axis the greater the deforestation severity). If not, how could I plot the component smooth functions untransformed?

Best Answer

You can transform the graph by changing trans in plot.gam(..., trans = I, ...) to something else instead of I, for example the inverses of the functions you mentioned.

HTH.