Learn R Programming

Bolstad (version 0.2-41)

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 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