Package: bfp 0.0-50

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-50.tar.gz
bfp_0.0-50.zip(r-4.7)bfp_0.0-50.zip(r-4.6)bfp_0.0-50.zip(r-4.5)
bfp_0.0-50.tgz(r-4.6-x86_64)bfp_0.0-50.tgz(r-4.6-arm64)bfp_0.0-50.tgz(r-4.5-x86_64)bfp_0.0-50.tgz(r-4.5-arm64)
bfp_0.0-50.tar.gz(r-4.7-arm64)bfp_0.0-50.tar.gz(r-4.7-x86_64)bfp_0.0-50.tar.gz(r-4.6-arm64)bfp_0.0-50.tar.gz(r-4.6-x86_64)
bfp_0.0-50.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
bfp/json (API)

# Install 'bfp' in R:
install.packages('bfp', repos = c('https://danielinteractive.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • ozone - Ozone data from Breiman and Friedman, 1985

On CRAN:

Conda:

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

cpp

1.68 score 48 scripts 706 downloads 18 exports 1 dependencies

Last updated from:6e053d214b. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK166
linux-devel-x86_64OK169
source / vignettesOK193
linux-release-arm64OK210
linux-release-x86_64OK188
macos-release-arm64OK171
macos-release-x86_64OK419
macos-oldrel-arm64OK155
macos-oldrel-x86_64OK253
windows-develOK153
windows-releaseOK140
windows-oldrelOK139
wasm-releaseOK170

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