Replies: 2 comments
-
|
I would describe the plots for the first model as showing the partial effect of For the second model, I would say the plots show the same thing as for the first model, except that now the response is not in units of I'm a bit rusty in the terminology but IIRC these are also marginal effects. The plots certainly seem to correspond to the There is such a thing as an average marginal effect, which is the average of the marginal effects (slope) of each data point. |
Beta Was this translation helpful? Give feedback.
-
|
As for
no, it is not possible to do this with gratia; if you want that, use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @gavinsimpson,
Not really an issue per se rather just trying to clarify something that I haven't been able to find an answer to. If I run the following model:
My understanding is that the resultant plot provides the marginal effects of
x0ony- that is the effect ofx0averaged over the values ofx1. Is the same true if I run the following:Except now it is the effect of
x0averaged over the values ofx1andz? Is it possible to setzto some reference level? In my casezrefers to fishing effort and I am interested in presenting plots that show the estimates ofx0,x1, etc. on harvest given 1 unit of effort (i.e.,z = 1).Thanks for your help, and for all the effort you go to answering GAM-related questions across the web (e.g., StackOverflow). Between that and your blog you've taught me most of what I know!
Beta Was this translation helpful? Give feedback.
All reactions