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

Feature Request: Concomitant Variable Model for priors #51

Open
travis-leith opened this issue May 1, 2024 · 1 comment
Open

Feature Request: Concomitant Variable Model for priors #51

travis-leith opened this issue May 1, 2024 · 1 comment

Comments

@travis-leith
Copy link

In the R package flexmix, I can specify a model for the priors, rather than just a vector a numbers. The model can depend on some arbitrary set of associated variables, called concomitant variables.

https://cran.r-project.org/web/packages/flexmix/vignettes/mixture-regressions.pdf

The idea is that there are some explanatory variables which have some information guiding the prior distribution.

 A general model class of finite mixtures of regression models is considered in the following. The
 mixture is assumed to consist of K components where each component follows a parametric
 distribution. Each component has a weight assigned which indicates the a-priori probability
 for an observation to come from this component and the mixture distribution is given by the
 weighted sum over the K components. If the weights depend on further variables, these are
 referred to as concomitant variables.

flexmix is designed to be extensible, but requires some level of expertise in order to achieve such extension. Out of the box, it has only a single concomitant model form. Would be good to have a similar capability for python.

@AlexanderFabisch
Copy link
Owner

Hi @travis-leith,

sounds interesting, but I currently don't have time to implement this. If you are interested, you could make a pull request. Otherwise I will leave the issue open for anyone to take the task.

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

2 participants