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

Add Markov DSL to make it a bit easier #828

Open
mattfidler opened this issue Dec 18, 2024 · 3 comments
Open

Add Markov DSL to make it a bit easier #828

mattfidler opened this issue Dec 18, 2024 · 3 comments

Comments

@mattfidler
Copy link
Member

mattfidler commented Dec 18, 2024

This has some example NONMEM models that could be used to create test cases:

https://ascpt.onlinelibrary.wiley.com/doi/full/10.1002/psp4.13278

And possibly

https://pubmed.ncbi.nlm.nih.gov/9819830/

@billdenney
Copy link
Contributor

This seems like it would be a simpler fit within nlmixr2lib where we have some way to add a Markov model by implied matrix operations. It would really just need a cumulative logit function to get each transition probability (maybe with a special case for binomial, single-transition models).

@mattfidler
Copy link
Member Author

mattfidler commented Dec 19, 2024

But it looses the ability to simulate someting closer to the input dataset and becomes simply a translation function.

@billdenney
Copy link
Contributor

That makes sense. I guess my thought was that both estimation and simulation could occur by helpers. Having them directly in the DSL would be easier (though harder to maintain the DSL).

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