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

26 treatment effect #27

Merged
merged 4 commits into from
Jul 15, 2024
Merged

26 treatment effect #27

merged 4 commits into from
Jul 15, 2024

Conversation

clarkliming
Copy link
Collaborator

close #26

add function to obtain treatment effect

Copy link
Contributor

github-actions bot commented Jun 27, 2024

badge

Code Coverage Summary

Filename                     Stmts    Miss  Cover    Missing
-------------------------  -------  ------  -------  --------------------
R/bias.R                        11       0  100.00%
R/predict_couterfactual.R       46       0  100.00%
R/prediction_cf.R                3       0  100.00%
R/treatment_effect.R            64      11  82.81%   31, 37, 43, 61-77
R/utils.R                       21       1  95.24%   16
R/variance_anhecova.R           45      19  57.78%   30, 45-46, 59, 65-80
R/variance_hc.R                  9       0  100.00%
TOTAL                          199      31  84.42%

Diff against main

Filename                Stmts    Miss  Cover
--------------------  -------  ------  -------
R/treatment_effect.R      +64     +11  +82.81%
TOTAL                     +64     +11  -0.76%

Results for commit: 1e84b2c

Minimum allowed coverage is 80%

♻️ This comment has been updated with latest results

Copy link
Contributor

github-actions bot commented Jun 27, 2024

Unit Test Performance Difference

Test Suite $Status$ Time on main $±Time$ $±Tests$ $±Skipped$ $±Failures$ $±Errors$
treatment_effect 👶 $+0.18$ $+24$ $0$ $0$ $0$
Additional test case details
Test Suite $Status$ Time on main $±Time$ Test Case
treatment_effect 👶 $+0.05$ h_diff_works_as_expected
treatment_effect 👶 $+0.02$ h_jac_diff_work_as_expected
treatment_effect 👶 $+0.01$ h_jac_odds_ratio_work_as_expected
treatment_effect 👶 $+0.02$ h_jac_ratio_work_as_expected
treatment_effect 👶 $+0.01$ h_odds_ratio_works_as_expected
treatment_effect 👶 $+0.01$ h_ratio_works_as_expected
treatment_effect 👶 $+0.06$ treatment_effect_works_as_expected

Results for commit 5950de1

♻️ This comment has been updated with latest results.

Copy link
Contributor

Unit Tests Summary

 1 files   5 suites   0s ⏱️
15 tests  9 ✅ 6 💤 0 ❌
42 runs  36 ✅ 6 💤 0 ❌

Results for commit 1e84b2c.

@clarkliming clarkliming merged commit 8a67460 into main Jul 15, 2024
25 checks passed
@clarkliming clarkliming deleted the 26_treatment_effect branch July 15, 2024 05:50
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

Successfully merging this pull request may close these issues.

implement commonly used treatment effect function
1 participant