Simulation and estimation of three-level survival models: IPD meta-analysis of recurrent event data

In this example I’ll look at the analysis of clustered survival data with three levels. This kind of data arises in the meta-analysis of recurrent event times, where we have observations (events or censored), k (level 1), nested within patients, j (level 2), nested within trials, i (level 3). Random intercepts The first example willContinue reading “Simulation and estimation of three-level survival models: IPD meta-analysis of recurrent event data”

Mixed effects for the level 1 variance function in a multilevel model

In this example, we look at a paper by the late great statistician Harvey Goldstein and colleagues (Goldstein et al., 2017) that proposed a two-level model with complex level 1 variation. This will be a nice illustration of the use of family(user) combined with the family(null) options of merlin to provide an accessible implementation ofContinue reading “Mixed effects for the level 1 variance function in a multilevel model”