nicholasehamilton / ggtern

Extension to ggplot2 for plotting ternary diagrams
www.ggtern.com
55 stars 14 forks source link

geom_confidence_tern seems to plot prediction regions? #51

Open R-Walmsley opened 2 years ago

R-Walmsley commented 2 years ago

In using ggtern, I think the region plotted by geom_confidence_tern may be what is more normally termed a prediction region, rather than a confidence region? i.e. probabilities relate to a new data point, rather than to a population parameter?

My reasoning is analogous to this discussion for stat_ellipse in ggplot2. In particular, they don't get tighter with increasing sample size, and seem to roughly contain the proportion of the data points indicated by the probability values.

References https://en.wikipedia.org/wiki/Prediction_interval https://github.com/tidyverse/ggplot2/issues/2776