Bayesian Instrument Variable Analysis

Bayesian Instrument Variable Analysis

Active bindings

version

BIVA package version used to fit model

Methods


Method new()

Usage

biva$new(
  data,
  y,
  d,
  z,
  x_ymodel,
  x_smodel,
  y_type = "real",
  ER = 1,
  side = 2,
  beta_mean_ymodel,
  beta_sd_ymodel,
  beta_mean_smodel,
  beta_sd_smodel,
  sigma_shape_ymodel,
  sigma_scale_ymodel,
  seed = 1997,
  fit = TRUE,
  ...
)


Method tracePlot()

Usage

biva$tracePlot(...)


Method weakIVTest()

Usage

biva$weakIVTest()


Method strataProbEstimate()

Usage

biva$strataProbEstimate()


Method calcProb()

Usage

biva$calcProb(a = 0, b = NULL, prior = FALSE)


Method pointEstimate()

Usage

biva$pointEstimate(median = TRUE)


Method credibleInterval()

Usage

biva$credibleInterval(width = 0.75, round = 2)


Method vizdraws()

Usage

biva$vizdraws(...)


Method lollipop()

Usage

biva$lollipop(threshold = 0, ...)


Method plotPrior()

Usage

biva$plotPrior()


Method predict()

Usage

biva$predict(new_data, name = NULL, M = NULL, ...)


Method clone()

The objects of this class are cloneable with this method.

Usage

biva$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.