I believe they are reasonably tightly coupled in a lot of situations, somewhat touched on above.
First, for the remaining discussion we can set aside models that only stan/winbugs/etc can handle, and instead focus on what can be done such that people who would normally have turned to nonmem would instead grab Stan.
1) Push out some more (simple, but holistic) examples.
This is going to be the largest hurdle once the ODE implementation settles. For better or worse, the majority of people will want to 'copy-paste' their way through scenarios they are familiar with to wrap their head around. Many companies have model libraries of 100's of models with 'tricks' on how to implement things.
Such case studies would cover:
- what the data looks like
- model setup with some information
- diagnostic outputs with some minimal interpretation
I know documentation is so low on priorities for the core team, but without some more examples, people such as myself are stuck being unable to directly contribute because it can be difficult to even get off the ground. 2-3 different case-study-based examples would give enough overlapping surface area to provide a feedback loop of being able to generate more community-driven examples off those templates. Similarly, as I mentioned at the beginning, there needs to be at least some guidance in terms of interpretation. This might be comparing a false model to the true model and noting some of the things, or even just a note here or there about what one might look for.
2) Provide some 'expert opinion' or commentary from Andrew or others that can allay some question to approaches to model selection. Namely companies often waste time debating over covariate selection. Giving a nod to reasonable approach(es) would be a huge boon. This is made more tricky by the current gold standard of stepwise covariate modeling via change in objective function values does not have a clear a bayesian equivalent?. Metrum, and myself personally, are using a full model approach to essentially select for covariates that can be deemed clinically relevant based on their posterior distribution
http://metrumrg.com/assets/pubs/GastonguayPAGE2011.pdf
2.1) If accomplishing this requires pre/post-processing, providing some tooling around accomplishing this goal. The #1 way via MLE right now is via step-wise modeling, and much of that is due to it being 'good enough' statistically, and dead simple due to it being implemented as little more than a config file + base model structure
http://psn.sourceforge.net/pdfdocs/scm_userguide.pdf I think the above full model approach diagnostics are almost completely implemented from a visually in jonah's bayesplot, but could use some additional helpers for continuous covariates (as shown on slide 27 above).
3) Stay the course with Metrum implementing an events system and general ODE implementation details. I imagine there will also need to be some wrappers/templating around other constructs that might not fall under that initial objective (lag time, bioavailability fractions, transit compartments)?
By and large, it seems people running models in pharma seem to fall under opposite ends of the spectrum: 1) your formally trained statisticians, and 2) (myself included) have background in biological sciences, some math and have been picking up stats on the way, but virtually no formal training, including 'simple' things like digesting proofs. For those of us in camp #2, there is this huge gap between the baby step of here is bayes rule and why its awesome, to 'introductory' texts where the expectation is still at minimum undergrad courses in inference, probability, and general comfort digesting proofs and formula. An intermediate ground of applied examples could allow people to more directly connect with the domain while also providing pointers to the theory such that they can digest as they become more comfortable.
Hopefully not too long winded.
And as a bonus, here, for example, might be an excellent case study:
Which dose should we choose to maximize the benefit/risk profile in a target population, given rich data from a small subset of individuals studied in a previous trial? Let's say we've done a trial and have data for ~100 individuals at 4 escalating dose levels, each with 4-6 samples. To answer this we will need to do the following
1) Build and evaluate structural and residual error model(s) - is it one cmt/two cmt, and is the residual error additive, exponential, some combination
- what are the diagnostic plots/calculated values used to compare such models
2) Determine the effect of covariates on model parameters to determine which to retain, as well as to get a feel for which will need to be most closely monitored for potential dose adjustment in later phases (or to kill the drug all together).
- how do you address covariate inclusion/exclusion and overall building
3) Simulate from the final model and compare against some criteria (such as % of individuals in a given exposure window).
- how to simulate under different designs
3.5) perform sensitivity analysis to determine the impact of being 'wrong' on a given parameter - say the population variability on clearance - what if it was 50% greater, lower, etc. This can be relevant when moving to different subpopulation, eg studied in healthy now going to sick patients with additional comorbidities that may effect drug clearance.
4) bonus: use the above model as a prior to fit some new data.
Hope this helps.
Devin