precision: Precision

Description Usage Arguments Value Examples

Description

Precision of error of a bayesian model.

Usage

1
precision(object, ...)

Arguments

object

a blm object.

...

other arguments (currently ignored).

Value

The precision used for the blm object.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
x <- rnorm(10)
b <- 1.3
w0 <- 0.2 ; w1 <- 3
y <- rnorm(10, mean = w0 + w1 * x, sd = sqrt(1/b))

#precision provided as argument
model <- blm(y ~ x, beta = b)
precision(model)

#precision estimated from the data
model2 <- blm(y ~ x)
precision(model2)

manschmi/blmr documentation built on May 21, 2019, 11:25 a.m.