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