Credibility intervals and estimates

Description

Get credibility intervals and estimates from a brr object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## S3 method for class 'brr'
confint(object, parm = NULL, level = 0.95,
  intervals = "all", ...)

## S3 method for class 'confint.brr'
print(x, style = "grid", ...)

## S3 method for class 'brr'
coef(object, parameter = "phi", ...)

## S3 method for class 'coef.brr'
print(x, ...)

## S3 method for class 'brr'
predict(object, level = 0.95, ...)

## S3 method for class 'predict.brr'
print(x, style = "grid", ...)

Arguments

object

a brr object

parm

ignored

level

confidence level

intervals

a character vector, the intervals to be returned

...

other aguments passed to brr_intervals or brr_estimates

x

the output to be printed

style

the style of the table to print (passed to pandoc.table.return)

parameter

parameter of interest "phi" or "VE" (=1-phi)

Details

confint.brr is a wrapper to brr_intervals and coef.brr is a wrapper to brr_estimates

Value

confint.brr returns a list of confidence intervals, coef.brr returns a list of estimates, predict.brr returns a data frame.

Examples

1
2
3
4
5
6
7
model <- Brr(x=10, y=10, S=100, T=100)
confint(model)
coef(model)
predict(model)
predict(model, Snew=1000, Tnew=1000)
model <- model(Snew=1000, Tnew=1000)
predict(model)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.