-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Future enhancement wishlist #38
Comments
Apologies if this is the wrong place (happy to move) to ask this: would it be possible to add the Example use case: Given binary data [0, 1] of absence/presence of a disease, we expect the positivity to change in a sampled population over time, and would like to extract this from the logistic regression while taking the temporal trend into account (currently just doing an mgcv spline, but would prefer a GP, AR, RW). Love the package, planning to dig more into the forecasting aspect now winter has ended in our northern hemisphere and considering whether we can nowcast as well. |
Thanks @jonathonmellor, yes absolutely. I'm planning to include Binomial and Beta-Binomial. Happy to make that a first priority if it can be useful to you |
That would be amazing thank you @nicholasjclark ! For awareness I am also exploring upgrading our RSV age-region stratified forecasting model to mvgam. Great to see how much progress has been made with the package, well done! |
Hi again @jonathonmellor, I've pushed a new release that brings support for Binomial, Bernoulli and Beta-Binomial. Still working on documentation to show how these work but you can try them out now if you like. The examples I use in the test script give an idea of how they should function: https://github.com/nicholasjclark/mvgam/blob/master/tests/testthat/test-binomial.R. Thanks again for the suggestion, and do let me know if I can be of help to upgrade your models |
Amazing, thanks @nicholasjclark! I've had a look for my use case and got the modelling working on a subset of the data. I think I have an additional challenge as this is a survey cohort with irregular temporal sampling - as a result I needed to do 1 series per participant, which makes the majority of the data empty because of the Model formula roughly:
|
Thanks @jonathonmellor for the explanation. That does sound interesting and challenging. Would you mind sharing an example of what the data might look like so I can think about whether anything else could be done? |
The text was updated successfully, but these errors were encountered: