-
Notifications
You must be signed in to change notification settings - Fork 16
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
Extract fitted and predicted probability distributions from model objects #83
Conversation
This is a very cool idea! I just took a look through and my one concern at the moment is the name. I had to read the implementation of Logistical note: I will be away from computers from the 16th through the 21st. I'm going to give you write access so you can make last minute changes before your UseR talk without me holding you up. |
Alex, thanks you so much for this and sorry for the late response. We're also going away in a few hours but I'll be online sporadically.
Thanks! |
For now let's use
Yes definitely add yourself as author! Am back in town today, will merge in a couple hours after you yourself as an author and I can submit to CRAN shortly after that! |
Thanks, Alex, this would be great! Adding another alias for |
In order to support/extend the vignette on Poisson GLMs and my forthcoming useR! 2022 presentation, I wrote a new generic function
prodist()
to extract probability distributions from model objects likelm
,glm
, andarima
.The idea is that authors of packages like
betareg
,pscl
, and maybe evenmgcv
orgamlss
can writeprodist()
methods for their model objects using the distribution objects fromdistributions3
. This facilitates making and assessing fitted probability distributions in a unified way.The accompanying manual page illustrates usage of the function. Tests are also included. The
NEWS.md
was updated with descriptions of this addition but also the other latest additions by Moritz and myself. (TheDESCRIPTION
still needs to be updated before the next CRAN release.)