Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

possible issue #47

Closed
chumbleycode opened this issue May 15, 2023 · 2 comments
Closed

possible issue #47

chumbleycode opened this issue May 15, 2023 · 2 comments

Comments

@chumbleycode
Copy link

chumbleycode commented May 15, 2023

possible issue - odd error - when calling with estimand ATC

 multiarm <- WeightIt::weightit(X~ Z+ K, 
+                                  data = datall,
+                                  method = "ebal", 
+                                  estimand = "ATC", focal = "4")

Error in sweep(covs, 2, targets, check.margin = FALSE) :
object 'targets' not found

@ngreifer
Copy link
Owner

Yup, you're right, that's a bug! To fix it, just set estimand = "ATT".

@chumbleycode
Copy link
Author

chumbleycode commented May 15, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants