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 to simulate with uncertainty #5

Open
ronkeizer opened this issue May 24, 2018 · 3 comments
Open

feature to simulate with uncertainty #5

ronkeizer opened this issue May 24, 2018 · 3 comments

Comments

@ronkeizer
Copy link
Contributor

perhaps best to write a separate function to handle the looping over drawn parameter sets, rather than have an additional argument to PKPDsim? sim_uncertainty()?

@smouksassi
Copy link

indeed, as the uncertainty source can come from various sources:
varcov or from bootstrap or for likelihood profiling or SIR or bayesian posteriors or ... and if the user has not coded the model in a way to respect constraints/parameter ordering we can easily simulate illegal parameters from a var cov matrix.
e.g. mrgsolve::simpar

ggfan can also become handy to visualize uncertainty
https://cran.r-project.org/web/packages/ggfan/vignettes/geom_fan.html
or this:
http:https://www.nicebread.de/visually-weighted-watercolor-plots-new-variants-please-vote/

@ronkeizer
Copy link
Contributor Author

thanks for the links, Samer. I can't locate mrgsolve::simpar though... is that an experimental feature?

@smouksassi
Copy link

sorry while some mrgsolve examples use simpar it was my error it is actually a metrumrg function not an mrgsovle one

https://github.com/metrumresearchgroup/metrumrg/blob/master/R/simpar.R#L1

karawoo pushed a commit that referenced this issue Sep 28, 2021
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