metrumresearchgroup / TFLGenerator

The TFL generator meta repository. This includes the GUI and TFL R packages as submodules and manages the shiny application deliverable.
0 stars 0 forks source link

Forest plots #5

Open dpolhamus opened 6 years ago

dpolhamus commented 6 years ago

Estimate: 16-32 hrs for a basic version using phorest Generally mimic the MetrumRG style of Forest Plots

We will plan on this just showing the effects on the population means. I.e., we will resample from the asymptotic normal distributions of the parameter estimates or bootstraps to get uncertainty around parameters at given covariate levels. This does not cover, at least for the foreseeable future, tasks that involve simulation of new data from the models.

We can probably use phorest as a substrate to get things going.

dpolhamus commented 6 years ago

So the GUI should allow the user to pass in:

  1. The levels of the covariates to be shown. Maybe in YAML?

Age: values: [q25, q50, q75] label: Age: (yrs) Weight: values: [10, 20, 30] label: Weight: (kg)

  1. Combinations of parameters and covariates to be presented

TVCL = THETA1 CL = TVCL * (Age/50) ^ THETA2

  1. Number of samples to base densities on

  2. Type of plot

    • Density / ridges
    • Pointrange
  3. Highlight a reference area

  4. Plot relative to a typical value, perhaps one listed in the parameter section

  5. Enter a run number to pull theta and covariance matrix from

dpolhamus commented 6 years ago

Should we automatically create a table to accompany this? It seems like I always have one of these in my reports.

dpolhamus commented 6 years ago

Est 40 hrs