Checks whether the pre-period data would result in a ill conditioned design matrix in the second stage.
1 | IsIllConditioned(data, weights, threshold = 1e-10)
|
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 |
threshold |
The condition number threshold to determine if the design matrix is ill conditioned. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.