CenterAndScalePrePeriod: Center and scale the pre-period data according to weights.

Description Usage Arguments

Description

Center and scale the pre-period data according to weights.

Usage

1

Arguments

data

A data.frame with 2 columns for each sample. The column condition indicating whether the sample is from the control or treatment group. A column pre indicating the observed value in the pre-period.

weights

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


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