Package: bfp 0.0-48

bfp: Bayesian Fractional Polynomials

Implements the Bayesian paradigm for fractional polynomial models under the assumption of normally distributed error terms, see Sabanes Bove, D. and Held, L. (2011) <doi:10.1007/s11222-010-9170-7>.

Authors:Daniel Sabanes Bove [aut, cre], Isaac Gravestock [aut], Robert Davies [cph], Stephen Moshier [cph], Gareth Ambler [cph], Axel Benner [cph]

bfp_0.0-48.tar.gz
bfp_0.0-48.zip(r-4.5)bfp_0.0-48.zip(r-4.4)bfp_0.0-48.zip(r-4.3)
bfp_0.0-48.tgz(r-4.4-x86_64)bfp_0.0-48.tgz(r-4.4-arm64)bfp_0.0-48.tgz(r-4.3-x86_64)bfp_0.0-48.tgz(r-4.3-arm64)
bfp_0.0-48.tar.gz(r-4.5-noble)bfp_0.0-48.tar.gz(r-4.4-noble)
bfp_0.0-48.tgz(r-4.4-emscripten)bfp_0.0-48.tgz(r-4.3-emscripten)
bfp.pdf |bfp.html
bfp/json (API)

# Install 'bfp' in R:
install.packages('bfp', repos = c('https://danielinteractive.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • ozone - Ozone data from Breiman and Friedman, 1985

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

18 exports 0.61 score 1 dependencies 1 dependents 34 scripts 506 downloads

Last updated 6 months agofrom:57d371d4db. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 11 2024
R-4.5-win-x86_64OKSep 11 2024
R-4.5-linux-x86_64OKSep 11 2024
R-4.4-win-x86_64OKSep 11 2024
R-4.4-mac-x86_64OKSep 11 2024
R-4.4-mac-aarch64OKSep 11 2024
R-4.3-win-x86_64OKSep 11 2024
R-4.3-mac-x86_64OKSep 11 2024
R-4.3-mac-aarch64OKSep 11 2024

Exports:BayesMfpbfpbmaPredictBmaSamplesempiricalHpdfindModelgetLogMargLikgetLogPriorgetPosteriorParmsgetPostExpectedggetPostExpectedShrinkageinclusionProbsplotCurveEstimateposteriorsscrBesagscrHpdtransformMfpuc

Dependencies:Rcpp

Readme and manuals

Help Manual

Help pageTopics
Convert a BayesMfp object to a data frameas.data.frame.BayesMfp
Bayesian model inference for multiple fractional polynomial modelsBayesMfp bfp uc
Other methods for BayesMfp objectsBayesMfp Methods fitted.BayesMfp print.BayesMfp residuals.BayesMfp
BMA prediction for new data pointsbmaPredict
Bayesian model averaging over multiple fractional polynomial modelsBmaSamples
Other methods for BmaSamples objectsBmaSamples Methods fitted.BmaSamples print.BmaSamples residuals.BmaSamples
Construct an empirical HPD interval from samplesempiricalHpd
Extract method for BayesMfp objectsExtract.BayesMfp [.BayesMfp
Find a specific fractional polynomial model in a BayesMfp objectfindModel
Extract updated posterior parameters for the normal inverse gamma distribution from a model, given a shrinkage factor.getPosteriorParms
Compute (model averaged) posterior variable inclusion probabilitesinclusionProbs
Ozone data from Breiman and Friedman, 1985ozone
Generic function for plotting a fractional polynomial curve estimateplotCurveEstimate plotCurveEstimate.BayesMfp plotCurveEstimate.BmaSamples
Extract posterior model probability estimates from BayesMfp objectsposteriors
Predict method for BayesMfp objectspredict.BayesMfp
Predict method to extract point and interval predictions from BmaSamples objectspredict.BmaSamples print.predict.BmaSamples
Simultaneous credible band computation (Besag, Green et al algorithm)scrBesag
Calculate an SCB from a samples matrixscrHpd
Calculate and print the summary of a BayesMfp objectprint.summary.BayesMfp summary.BayesMfp
Calculate and print the summary of a BmaSamples objectprint.summary.BmaSamples summary.BmaSamples