This is more of a design question than brms specific. I have minor versions of a software nested within major versions . The data I have has versions like
5.0b1,5.0b2,6.0b1,6.0b2, 6.0b3 and so on where major is 5 and 6 and minors are b1,b2 and b3. Note that different majors might have different number of minors (as in the example). We have a few data points per major:minor combination.
My initial approach was considering minor nested in major e.g
(1|major/minor) and this is equivalent to
(1|major) + (1|major:minor). If my understanding of the above is correct this implies
major follows (let’s assume)
normal(0, major_sigma) and
What I think happens here is rather the minors within a major have their own sigma that is
minors_within_major_1 ~ normal(0,major_1_sigma), and
minor_within_major_2 ~ normal(0,major_2_sigma),
Is such a thing possible using BRMS or would I need Stan for this?