Bayesian Fractional Polynomials

as.data.frame.BayesMfp | Convert a BayesMfp object to a data frame |

BayesMfp | Bayesian model inference for multiple fractional polynomial... |

BayesMfpMethods | Other methods for BayesMfp objects |

bmaPredict | BMA prediction for new data points |

BmaSamples | Bayesian model averaging over multiple fractional polynomial... |

BmaSamplesMethods | Other methods for BmaSamples objects |

constructNewdataMatrix | Construct the model matrix for new data based on an existing... |

empiricalHpd | Construct an empirical HPD interval from samples |

Extract.BayesMfp | Extract method for BayesMfp objects |

findModel | Find a specific fractional polynomial model in a BayesMfp... |

fpScale | Internal function for shifting and rescaling a fractional... |

getDesignMatrix | Extract the design matrix of a multiple FP model. |

getFpTransforms | Internal functions to handle FP transforms. |

getLogMargLik | Extract log marginal likelihood from a model. |

getLogPrior | Extract the log prior probability from a model. |

getPosteriorParms | Extract updated posterior parameters for the normal inverse... |

getPostExpectedgAndShrinkage | Extract posterior expected g and shrinkage factor (g/(1+g))... |

inclusionProbs | Compute (model averaged) posterior variable inclusion... |

invGamma | Functions for the inverse gamma distribution. |

ozone | Ozone data from Breiman and Friedman, 1985 |

plotCurveEstimate | Generic function for plotting a fractional polynomial curve... |

posteriors | Extract posterior model probability estimates from BayesMfp... |

predict.BayesMfp | Predict method for BayesMfp objects |

predict.BmaSamples | Predict method to extract point and interval predictions from... |

rmvt | Multivariate Student Random Deviates |

rshrinkage | Sample from the model-specific posterior of the shrinkage... |

scrBesag | Simultaneous credible band computation (Besag algorithm) |

scrHpd | Calculate an SCB from a samples matrix |

summary.BayesMfp | Calculate and print the summary of a BayesMfp object |

summary.BmaSamples | Calculate and print the summary of a BmaSamples object |

transformMfp | Transform a fitted mfp model into a BayesMfp model |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.