precision {lestat}R Documentation

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.

Author(s)

Petter Mostad <mostad@chalmers.se>

See Also

expectation, variance

Examples

precision(normal(3, log(0.7)))
precision(binomialdistribution(7, 0.4))

[Package lestat version 1.9 Index]