Inference {brr}R Documentation

Inference summaries

Description

Credibility intervals, estimates

Usage

brr_intervals(x, y, S, T, a = 0.5, b = 0, c = 0.5, d = 0,
  level = 0.95, intervals = "equi-tailed*", ...)

brr_estimates(x, y, S, T, a = 0.5, b = 0, c = 0.5, d = 0,
  parameter = "phi", ...)

Arguments

x,y

Observed counts

S,T

sample sizes

a,b,c,d

Prior parameters

level

confidence level

intervals

a character vector, the intervals to be returned

...

arguments passed to IntrinsicInference and Intrinsic2Inference

parameter

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

Value

A list of confidence intervals (brr_intervals) or estimates (brr_estimates)

Note

Inference is a generic name for the functions documented.

See Also

confint.brr

Examples

brr_intervals(x=4, y=5, S=10, T=10, a=0.5, b=0, c=0.5, d=0)
brr_intervals(x=4, y=5, S=10, T=10, a=0.5, b=0, c=0.5, d=0, intervals=c("left","equi-tailed"))
brr_estimates(x=4, y=5, S=10, T=10, a=0.5, b=0, c=0.5, d=0)

[Package brr version 1.0.0 Index]