Posterior: Computes the posterior distribution of the post-period means.

Description Usage Arguments Value

Description

Computes the posterior distribution of the post-period means.

Usage

1
Posterior(trmt.data, ctrl.data, weights, n.nodes, pre.period)

Arguments

trmt.data

Data.frame for the treatment group.

ctrl.data

Data.frame for the control group.

weights

Data.frame with two variables and a single row. The variables control and treatment indicate the weight of the two groups.

n.nodes

The number of nodes used to approximate each univariate distribution.

pre.period

Boolean indicating whether to use the pre-period or not.

Value

A matrix with two columns, representing the posterior of the control and the treatment group.


google/abpackage documentation built on May 8, 2019, 11:44 a.m.