Other packages > Find by keyword >

fitdistcp  

Distribution Fitting with Calibrating Priors for Commonly Used Distributions
View on CRAN: Click here


Download and install fitdistcp package within the R console
Install from CRAN:
install.packages("fitdistcp")

Install from Github:
library("remotes")
install_github("cran/fitdistcp")

Install by package version:
library("remotes")
install_version("fitdistcp", "0.1.1")



Attach the package and use:
library("fitdistcp")
Maintained by
Stephen Jewson
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2025-04-23
Latest Update: 2025-04-23
Description:
Generates predictive distributions based on calibrating priors for various commonly used statistical models, including models with predictors. Routines for densities, probabilities, quantiles, random deviates and the parameter posterior are provided. The predictions are generated from the Bayesian prediction integral, with priors chosen to give good reliability (also known as calibration). For homogeneous models, the prior is set to the right Haar prior, giving predictions which are exactly reliable. As a result, in repeated testing, the frequencies of out-of-sample outcomes and the probabilities from the predictions agree. For other models, the prior is chosen to give good reliability. Where possible, the Bayesian prediction integral is solved exactly. Where exact solutions are not possible, the Bayesian prediction integral is solved using the Datta-Mukerjee-Ghosh-Sweeting (DMGS) asymptotic expansion. Optionally, the prediction integral can also be solved using posterior samples generated using Paul Northrop's ratio of uniforms sampling package ('rust'). Results are also generated based on maximum likelihood, for comparison purposes. Various model selection diagnostics and testing routines are included. Based on "Reducing reliability bias in assessments of extreme weather risk using calibrating priors", Jewson, S., Sweeting, T. and Jewson, L. (2024); <doi:10.5194/ascmo-11-1-2025>.
How to cite:
Stephen Jewson (2025). fitdistcp: Distribution Fitting with Calibrating Priors for Commonly Used Distributions. R package version 0.1.1, https://cran.r-project.org/web/packages/fitdistcp. Accessed 08 May. 2025.
Previous versions and publish date:
No previous versions
Other packages that cited fitdistcp R package
View fitdistcp citation profile
Other R packages that fitdistcp depends, imports, suggests or enhances
Complete documentation for fitdistcp
Functions, R codes and Examples using the fitdistcp R package
Full fitdistcp package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
gms  
'GAMS' Modularization Support Package
A collection of tools to create, use and maintain modularized model code written in the modeling la ...
Download / Learn more Package Citations See dependency  
trajr  
Animal Trajectory Analysis
A toolbox to assist with statistical analysis of animal trajectories. It provides simple access to a ...
Download / Learn more Package Citations See dependency  
MXM  
Feature Selection (Including Multiple Solutions) and Bayesian Networks
Many feature selection methods for a wide range of response variables, including minimal, statistica ...
Download / Learn more Package Citations See dependency  
gaussDiff  
Difference measures for multivariate Gaussian probability density functions
A collection difference measures for multivariate Gaussian probability density functions, such as t ...
Download / Learn more Package Citations See dependency  
MultiATSM  
Multicountry Term Structure of Interest Rates Models
Estimation routines for several classes of affine term structure of interest rates models. All the m ...
Download / Learn more Package Citations See dependency  

24,205

R Packages

207,311

Dependencies

65,312

Author Associations

24,206

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA