Closed mercifr1 closed 8 months ago
By inter-individual variability do you mean per patient effect? If so then I think that is covered by this line:
// parameters block
vector<lower={{ machine_double_eps }}, upper={{ 1 - machine_double_eps }}>[Nind] lm_gsf_psi_phi;
vector<lower={{ machine_double_eps }}>[n_arms] lm_gsf_a_phi;
vector<lower={{ machine_double_eps }}>[n_arms] lm_gsf_b_phi;
// model block
lm_gsf_psi_phi ~ beta(lm_gsf_a_phi[pt_arm_index], lm_gsf_b_phi[pt_arm_index]);
That is each subject gets their own individual Phi parameter and that the priors for the patient level Phi parameter are set based upon which treatment arm they belong to.
Yep, I see. I overlooked this. Sorry about that. Thanks a lot Craig.
@gowerc, If I interpret this correctly, in the GSF model, the phi parameter has no inter-individual variability (IIV). right? Do you think we could introduce IIV taking advantage of an
inv_logit()
transformation, like this:Ref. to: here.