Open gowerc opened 1 year ago
Need to check with @mercifr1 how important this is
Agreed to defer this to a version 2 of the package:
Preference for having the GSF model formulated as:
psi_ks_<patient> = logN(mu_ks_<arm>, sigma_1)
mu_ks_<arm> ~ N(mean_mu_ks, sigma_2)
mean_mu_ks ~ prior()
sigma_1 ~ prior()
sigma_2 ~ prior()
However still need further discussion on wether or not we want to re-implement the shared vs independent flag that @danielinteractive had originally implemented.
This is linked to #113
The current implementation of the kinetics mean parameters is
where j = 1 to number of arms across all studies.
That is the parameters are treated as being independent.
In Daniels original "D2" model implementation he had the ability for users to specify that some (but, importantly, not all) of the parameters belong to a hierarchical distribution e.g.
The request is to re-implement this functionality. Care is needed though on how to get users to specify which parameters belong to the shared and separate groups though.