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

Added functionality to build models with two compositions (baseline and follow-up) #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jhmigueles
Copy link

Hi @tystan, first congrats for a nice and useful package. I work in several projects in which we measured the movement behaviors twice (baseline and follow-up). We are often interested in running longitudinal analyses to investigate the prospective association of baseline behaviors with outcomes at follow-up, and we use the behaviors measured at follow-up to adjust the models. I added this functionality to the predict_delta_comps function, so that if comps_fup is provided and analysis_type == "longitudinal", then it would calculate the ilr coordinates for the follow-up composition and use them to adjust the linear regression model.

I'm doing this pull request just in case you are interested in adding this to your package, the original functionality is not compromised.

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.

None yet

1 participant