Bayesian Fractional Polynomials
Extract updated posterior parameters for the normal inverse gamma dist...
Extract posterior expected g and shrinkage factor (g/(1+g)) from a mod...
Compute (model averaged) posterior variable inclusion probabilites
Functions for the inverse gamma distribution.
Generic function for plotting a fractional polynomial curve estimate
Extract posterior model probability estimates from BayesMfp objects
Predict method for BayesMfp objects
Predict method to extract point and interval predictions from BmaSampl...
Multivariate Student Random Deviates
Sample from the model-specific posterior of the shrinkage factor t = g...
Simultaneous credible band computation (Besag, Green et al algorithm)
Convert a BayesMfp object to a data frame
Bayesian model inference for multiple fractional polynomial models
Other methods for BayesMfp objects
BMA prediction for new data points
Bayesian model averaging over multiple fractional polynomial models
Other methods for BmaSamples objects
Construct the model matrix for new data based on an existing BayesMfp ...
Construct an empirical HPD interval from samples
Extract method for BayesMfp objects
Find a specific fractional polynomial model in a BayesMfp object
Internal function for shifting and rescaling a fractional polynomial c...
Extract the design matrix of a multiple FP model.
Internal functions to handle FP transforms.
Extract log marginal likelihood from a model.
Extract the log prior probability from a model.
Calculate an SCB from a samples matrix
Calculate and print the summary of a BayesMfp object
Calculate and print the summary of a BmaSamples object
Transform a fitted mfp model into a BayesMfp model
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>.