Skip to content

Commit

Permalink
edit readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenkewu committed Dec 10, 2014
1 parent d96e10d commit 1b96608
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ devtools::install_github("zhenkewu/mpcr")
```
Why should someone use `mpcr`?
------------------------------
- Estimation of Treatment Effects in Matched-Pair Cluster Randomized Trials by Calibrating Covariate Imbalance Between Clusters. We address estimation of intervention effects in experimental designs in which
- (a) interventions are assigned at the cluster level;
- (b) clusters are selected to form pairs, matched on observed characteristics; and
- (c) intervention is assigned to one cluster at random within each pair. One goal of policy interest is to estimate the average outcome if all clusters in all pairs are assigned control versus if all clusters in all pairs are assigned to intervention. In such designs, inference that ignores individual level covariates can be imprecise because cluster-level assignment can leave substantial imbalance in the covariate distribution between experimental arms within each pair. However, most existing methods that adjust for covariates have estimands that are not of policy interest. We propose a methodology that explicitly balances the observed covariates among clusters in a pair, and retains the original estimand of interest.

How does it compare to other existing solutions?
------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test_table_figure.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ library(sandwich)
library(mpcr)

## read in data set:
#dat = read.csv('/Users/zhenkewu/Dropbox/ZW/working_projects/ZW_R_packages/mpcr_test/data/data_5.csv',header=TRUE)
#dat = read.csv('XXXX.csv',header=TRUE) #<-- replace with your own data; format is in README.md

res = mpcr(dat,
arm = "tx",
Expand Down

0 comments on commit 1b96608

Please sign in to comment.