powered by
Compute the precision (i.e., the inverse of the variance) of a probability distribution.
precision(object)
A probability distribution.
The precision of the probability distribution: Either a number or a matrix.
expectation, variance
expectation
variance
# NOT RUN { precision(normal(3, log(0.7))) precision(binomialdistribution(7, 0.4)) # }
Run the code above in your browser using DataLab