IsIllConditioned: Checks whether the pre-period data would result in a ill...

Description Usage Arguments

Description

Checks whether the pre-period data would result in a ill conditioned design matrix in the second stage.

Usage

1
IsIllConditioned(data, weights, threshold = 1e-10)

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.

threshold

The condition number threshold to determine if the design matrix is ill conditioned.


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