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

Covariate adjustment for continuous and binary trait #1209

Open
pupatel opened this issue May 12, 2021 · 0 comments
Open

Covariate adjustment for continuous and binary trait #1209

pupatel opened this issue May 12, 2021 · 0 comments

Comments

@pupatel
Copy link

pupatel commented May 12, 2021

I am trying to use ResAdjTranformer() for feature-only adjustments. How do I adjust for a continuous and binary trait together?

Context of the issue

I have done the adjustment by individual covariates depending on their type. For example, I used linear regression to adjust Age, and for binary trait-like Sex use logistic regression.

Here's the sample covariate file:
Feature, Type , Covariates
Feature-1 , linear , Age
Feature-1 , logistic , Sex
Feature-2 , linear , Age
Feature-2 , logistic , Sex
...

Could I do the following and TPOT will take of the binary trait automatically?
Feature-1, linear, Age;Sex

Additionally, after I use ResAdjTranformer(), Is there a way to know % variance explained by each covariate across different features? If so, could you please guide me to an example?

Thank you so much for helping me in advance.

Best,
P.

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

No branches or pull requests

1 participant