Closed DanielReedOcean closed 6 years ago
I'm not sure I see the problem. A 'contrast' plot shows the estimated effect of changing 'a' away from a reference value (here, 0). The effect of changing a from 0 to 0 (i.e., not changing a) is indeed 0, and there's no uncertainty involved. All contrast plots for all kinds of models do exactly this.
Hmm. I think I've misunderstood the purpose of the plot. Feel free to delete/close the issue.
I have an issue when trying to make a contrast plot for GAMs that have a quasi-parabolic relationship. I've included a toy example below.
This code produces the plot below:![rplot01](https://user-images.githubusercontent.com/11167566/30550379-ac488236-9c6d-11e7-817d-c3cd338c7110.png)
Notice that when
a
is zero, the confidence ribbon is zero.