Learn R Programming

lestat (version 1.9)

precision: The Precision of a Distribution

Description

Compute the precision (i.e., the inverse of the variance) of a probability distribution.

Usage

precision(object)

Arguments

object

A probability distribution.

Value

The precision of the probability distribution: Either a number or a matrix.

See Also

expectation, variance

Examples

Run this code
# NOT RUN {
precision(normal(3, log(0.7)))
precision(binomialdistribution(7, 0.4))
# }

Run the code above in your browser using DataLab