NSAPH-Projects / space

SpaCE, the Spatial Confounding Environment, loads benchmark datasets for causal inference methods tackling spatial confounding
https://nsaph-projects.github.io/space/
MIT License
14 stars 5 forks source link

Issue30 dapsm #46

Closed sophi890 closed 1 year ago

sophi890 commented 1 year ago

Implementation of DAPSm (but not yet doing greedy matching). Agrees so far with R implementation of DAPSm when testing on the toy datasets provided (treated, control, distmat, psdiff)

codecov-commenter commented 1 year ago

Codecov Report

Merging #46 (89c583e) into dev (0bc3a12) will increase coverage by 7.50%. The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##              dev      #46      +/-   ##
==========================================
+ Coverage   40.00%   47.50%   +7.50%     
==========================================
  Files           3        4       +1     
  Lines         195      160      -35     
==========================================
- Hits           78       76       -2     
+ Misses        117       84      -33     
Flag Coverage Δ
unittests 47.50% <100.00%> (+7.50%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
spacebench/__init__.py 100.00% <100.00%> (ø)
spacebench/datasets/datasets.py 42.37% <100.00%> (+7.95%) :arrow_up:
Naeemkh commented 1 year ago

Closes #46

Naeemkh commented 1 year ago

@mauriciogtec, let's keep both tests and example folders. I will take care of the unit tests.