forked from usaskulc/population_matching
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a simple example and sample datafile.
- Loading branch information
Showing
3 changed files
with
1,012 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
Install | ||
------- | ||
======= | ||
Method for matching a subsample to a representative sample from a larger population. | ||
Install dependencies from pip -r requirements.txt | ||
Install dependencies from pip -r requirements.txt | ||
|
||
Example Usage | ||
============= | ||
Imagine a sample datafile that had a special study group as a treatement. One might | ||
match this pairwise against the general population using: | ||
|
||
python resample.py -i example_datafile.csv -c example_definitions.csv -m "Study Group" -o out.csv |
Oops, something went wrong.