New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Column name '.pred' for prediction intervals? #921
Comments
Thanks for the suggestion! I think this is a great discussion to have now, before prediction intervals make it into a CRAN version. I think I agree here, except that the @grantmcdermott Do you have a sense for how common the Related to #908. |
Edited with more information. In the In terms of other possible types that might exist, the other one that comes to mind is credibility/credible ("cred") used in Bayesian analyses (but I'm not aware of any Bayesian package using a |
Yeah, I tend to agree. As it stands, it should be fairly straightforward to implement @bwiernik's suggestion and take the first four letters of the However, a potential concern I have is that you'd need to check compatibility with — and adjust output for — any other (It's something of an aside, but this seems as good a place as any to mention... the Another, even simpler option, is to follow with the |
I like |
We had this discussion a while back and basically decided to use conf.low
and conf.high as generic names for upper and lower bounds for intervals,
largely for backwards compatibility reasons. I understand the appeal of new
column names but my rather strong preference at the moment is to follow
this prior precedent.
…On Mon, Aug 31, 2020, 11:19 PM Brenton M. Wiernik ***@***.***> wrote:
I like .upr and .lwr a lot versus "high" and "low".
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#921 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADTBG277WJSLSC623MBGIQTSDRY5DANCNFSM4QQ22LCQ>
.
|
Backwards compatibility with what though? Most other packages use something like .lwr and .upr; cl.lb and cl.ub; or ci.lb and ci.ub. I think broom might be one of the only packages using “conf”. |
Thanks for the note on previous discussions, @alexpghayes. @bwiernik Backwards compatibility with tidiers from previous versions of the broom package. See the Closing for now--thanks again for bringing this up. |
I understand that backwards compatibility can be important, just wanted to chime in that I had several students who were confused in my office hour this morning asking "why does it always compute a confidence interval when I ask for a prediction interval". They didn't notice that the numbers were changing, only that the column labels were the same. |
My $0.02: I'm not sure if backwards compatibility is quite the issue here because we are dealing with different tidiers (i.e. Of course, it doesn't make sense to change "conf.low" and "conf.high" for TL;DR The more I think about this, the more |
Thanks for yalls input. I'd be glad to review a PR, and agree that |
If we're going to revisit this I'd say I'm also strongly opposed to abbreviations and would prefer |
I've opened a pull request changing the columns to |
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue. |
The interval column names in augment() are always called
.conf.low
and.conf.high
, regardless of whether"confidence"
or"prediction"
is specified forinterval
. I think this is potentially confusing and may be misleading in reports if the user doesn't rename the columns. I suggest changing the column names to.pred.low
and.pred.high
wheninterval = "prediction"
(cf. in the metafor package, confidence intervals are labeledci
and prediction intervals labeledpi
: https://github.com/wviechtb/metafor/blob/acacdcaa56ce6ed9c7c3239c15007b14d03012c8/man/predict.rma.Rd#L47).Created on 2020-08-31 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: