You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
This is only a problem for the 'new' bootstrap types.
s3alfisc
changed the title
Problems when regressing on only one covariate
Problems when regressing on only one covariate for new 'WCR' implementations
Dec 17, 2022
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
The text was updated successfully, but these errors were encountered: