Re: MMRM implementation in nonmem?
Hi Matts,
In my experience, a typical MMRM model is made of many unconnected model parameters usually with an unstructured variance/covariance matrix of residual error and a single inter-individual parameter. It would be relatively painful to copy and paste everything, but the general model could look like this (this was typed directly into email, so it may not work precisely).
Thanks,
Bill
$PRED
USE11 = 0 ; Trial arm 1, time point 1
USE12 = 0 ; Trial arm 1, time point 2
USE21 = 0 ; Trial arm 2, time point 1
USE22 = 0 ; Trial arm 2, time point 2
IF (TIME .EQ. 0 .AND. ARM .EQ. 1) USE11 = 1
IF (TIME .EQ. 1 .AND. ARM .EQ. 1) USE12 = 1
IF (TIME .EQ. 0 .AND. ARM .EQ. 2) USE21 = 1
IF (TIME .EQ. 1 .AND. ARM .EQ. 2) USE22 = 1
EFFECT = USE11 * THETA(1) + USE12 * THETA(2) + USE21 * THETA(3) + USE22 * THETA(4) + ETA(1)
$SIGMA BLOCK(4)
0.1
0.01 0.1
0.01 0.01 0.1
0.01 0.01 0.01 0.1
$THETA
1
1
1
1
$OMEGA
0.1
$ERROR
Y = EFFECT + USE11 * EPS(1) + USE12 * EPS(2) + USE21 * EPS(3) + USE22 * EPS(4)
Quoted reply history
On 4/12/2016 7:10 PM, Matts Kågedal wrote:
> Hi all,
>
> Would any one be willing to share a nonmem control stream where mixed model repeated measures (MMRM) is implemented.
>
> Best,
> Matts Kagedal