cdf: Cumulative distribution function generic

Description Usage Arguments Value Methods (by class) Author(s)

View source: R/cdf.R

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

1
2
3
4
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)

Author(s)

James Curran


Bolstad documentation built on Jan. 8, 2021, 2:03 a.m.