-
Notifications
You must be signed in to change notification settings - Fork 0
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
vcovDA's applicable to paired assignment, w/ illustrative vignette #67
Comments
(Xinhe and Josh, pls don't hesitate to update & add appropriate detail to issue statement.) |
The 2 papers I shared w/ @jwasserman2 today, as sources about the econometric conventional wisdom regarding sandwich estimation of covariance after paired assignment of clusters: |
@jwasserman2 and I had a brief discussion today of the implementation of logic deciding which flavor of design-based variance estimator should be applied in which strata. This post is a followup to that discussion. It would be useful for this purpose to have abstracted a table from the Design tallying the numbers of assignment unit by block, e.g.
I promised I'd poke around for some related code elsewhere. Found it not to exist in the form that I had remembered. But I'll point out that |
Edit: Nevermind I was completely misremembering how that function worked. I do agree that a more generic table'ing function could be useful. |
I expanded
> data(simdata)
> des <- rct_design(z ~ uoa(cid1, cid2) + block(bid), data = simdata)
> dtable(des, "tr", "bl")
treatment
blocks 0 1
1 3 1
2 2 1
3 1 2 (The 2nd and 3rd arguments, |
Thoughts on some of the implementation here, specifically the "cluster level" dispatch, have been updated by #85 |
The text was updated successfully, but these errors were encountered: