E.g. in classical A/B test settings without controls:
data(voters)
feols_fit <-
fixest::feols(proposition_vote ~ 0 + treatment, data = voters)
expect_no_error(
boottest(
feols_fit,
param = "treatment",
clustid = "group_id1",
B = 999,
bootstrap_type = "31"
)
)
# error in solve.default(tX1X1) 'a' is 0-dim
What happens? X1 is equal to the full design matrix X minus the column k for which the hypothesis beta_k = 0 is tested. If X is only a vector, X1 is obviously not something one can compute on.
E.g. in classical A/B test settings without controls:
What happens? X1 is equal to the full design matrix X minus the column k for which the hypothesis beta_k = 0 is tested. If X is only a vector, X1 is obviously not something one can compute on.
Related to #72