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

Implement a CovariatePopulationModel #228

Closed
10 tasks done
DavAug opened this issue Jul 29, 2021 · 0 comments · Fixed by #243
Closed
10 tasks done

Implement a CovariatePopulationModel #228

DavAug opened this issue Jul 29, 2021 · 0 comments · Fixed by #243
Assignees

Comments

@DavAug
Copy link
Owner

DavAug commented Jul 29, 2021

A CovariatePopulationModel extends PopulationModel and

  • is instantiated with an instance of a PopulationModel and an instance of a CovariateModel.
  • extends all data related methods by an additional argument covariates which accepts the an array-like object of shape (n, c), where n is the number of individuals and c the number of covariates.

Extending the PopulationModel will lead to problems with the ReducedPopulationModel and the HierarchicalLogLikelihood, where we have to distinguish the covariate model from the simple model.
Make ReducedModel compatible with the covariate model by optionally allowing to pass covariates and introduce internal bookleeping variable. In the hierarchical model we first check for popmodels and next for covariate dependence.

Make sure that the CovariatePopulationModel works with

  • HierarchicalLogLikelihood
  • PopulationPredictiveModel
  • PosteriorPredictiveModel
  • ProblemModellingController
    • set_data
    • set_covariate_model (Will not be implemented. Is unnecessary because CovariatePopulationModels can just be constructed manually and set with set_population_model).
    • get_predictive_model
    • get_log_posterior
@DavAug DavAug self-assigned this Jul 30, 2021
DavAug added a commit that referenced this issue Jul 30, 2021
DavAug added a commit that referenced this issue Aug 2, 2021
DavAug added a commit that referenced this issue Aug 9, 2021
DavAug added a commit that referenced this issue Aug 9, 2021
DavAug added a commit that referenced this issue Aug 13, 2021
DavAug added a commit that referenced this issue Sep 2, 2021
DavAug added a commit that referenced this issue Sep 2, 2021
DavAug added a commit that referenced this issue Dec 10, 2021
DavAug added a commit that referenced this issue Dec 16, 2021
DavAug added a commit that referenced this issue Dec 16, 2021
DavAug added a commit that referenced this issue Dec 17, 2021
DavAug added a commit that referenced this issue Dec 17, 2021
DavAug added a commit that referenced this issue Dec 20, 2021
DavAug added a commit that referenced this issue Dec 20, 2021
DavAug added a commit that referenced this issue Dec 29, 2021
DavAug added a commit that referenced this issue Dec 29, 2021
DavAug added a commit that referenced this issue Dec 30, 2021
DavAug added a commit that referenced this issue Dec 30, 2021
DavAug added a commit that referenced this issue Dec 30, 2021
DavAug added a commit that referenced this issue Dec 30, 2021
DavAug added a commit that referenced this issue Dec 31, 2021
DavAug added a commit that referenced this issue Dec 31, 2021
DavAug added a commit that referenced this issue Dec 31, 2021
DavAug added a commit that referenced this issue Dec 31, 2021
DavAug added a commit that referenced this issue Jan 1, 2022
DavAug added a commit that referenced this issue Jan 1, 2022
DavAug added a commit that referenced this issue Jan 1, 2022
DavAug added a commit that referenced this issue Jan 1, 2022
DavAug added a commit that referenced this issue Jan 1, 2022
DavAug added a commit that referenced this issue Jan 1, 2022
DavAug added a commit that referenced this issue Jan 1, 2022
DavAug added a commit that referenced this issue Jan 2, 2022
DavAug added a commit that referenced this issue Jan 2, 2022
DavAug added a commit that referenced this issue Jan 2, 2022
DavAug added a commit that referenced this issue Jan 2, 2022
DavAug added a commit that referenced this issue Jan 2, 2022
DavAug added a commit that referenced this issue Jan 2, 2022
DavAug added a commit that referenced this issue Jan 2, 2022
DavAug added a commit that referenced this issue Jan 2, 2022
DavAug added a commit that referenced this issue Jan 2, 2022
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 a pull request may close this issue.

1 participant