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

fix: the way essential covariates and one-hot-encoded ones are processed #256

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MarIniOnz
Copy link
Contributor

  • Essential covariates are no longer "gender" and "age" by default, but all attributes from the patients group. Raises errors in case there are not enough control/treated patients with those attributes.

  • One-hot-encoded variables are not "gender" by default, but all attributes characterised by extract_attribute_summary function as Categorical.

  • Added tests to the Matching Class

  • Changed some variable names (hyperparam -> hyperparameters) for better variable naming consistency.

… values are assigned in essential and hot-encoded covariates for matching
@MarIniOnz MarIniOnz force-pushed the 254-default-values-for-essential_covariates-in-treatmenteffect branch from 00b086d to 1fe006e Compare December 2, 2024 13:47
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.

Default values for essential_covariates in TreatmentEffect
1 participant