Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

cdf

Cumulative distribution function generic


Description

This function returns the cumulative distribution function (cdf) of the posterior distribution of the parameter interest over the range of values for which the posterior is specified.

Usage

cdf(x, ...)

## S3 method for class 'Bolstad'
cdf(x, ...)

Arguments

x

An object for which we want to compute the cdf

...

Any other parameters. Not currently used.

Value

either the exact cdf of the posterior if a conjugate prior has been used, or a a stats::splinefun which will compute the lower tail probability of the parameter for any valid input.

Methods (by class)

  • Bolstad: Cumulative distribution function for posterior density

Author(s)

James Curran


Bolstad

Functions for Elementary Bayesian Inference

v0.2-41
GPL (>= 2)
Authors
James Curran [aut, cre]
Initial release
2020-09-25

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.