credint {borrowr}R Documentation

Posterior Credible Interval for Population Average Treatment Effect (PATE)

Description

Computes an equal-tailed credible interval for an object of class 'pate'

Usage

credint(object, level = 0.95)

Arguments

object

An object of class pate fit by the pate function.

level

the credible level required

Examples

data(adapt)

est <- pate(y ~ treatment*x + treatment*I(x ^ 2), data = adapt,
 estimator = "bayesian_lm", src_var = "source", primary_source = "Primary",
 trt_var = "treatment")

credint(est)


[Package borrowr version 0.2.0 Index]