Closed
Description
Hello,
if I use geom_smooth()
, then an interval is shown in the standard se = TRUE
, which does not have a constant width. Especially for linear estimates of slope parameters.
However, the documentation states that se
is a confidence interval (https://ggplot2.tidyverse.org/reference/geom_smooth.html):
Display confidence interval around smooth? (
TRUE
by default, seelevel
to control.)
However, this cannot be the case, as a confidence interval is always a fixed interval around the slope parameter.
What geom_smooth()
shows, however, is the prediction interval (https://en.wikipedia.org/wiki/Prediction_interval).
The same for level
.
Example image (from the documentation), dark grey area:
Or have I made a mistake?
If not, this should be changed.