Hello, thanks for reading this and any advice. I'm using STATA 16.
My questions relates to whether a linear mixed effect model is appropriate and how to set up the model accordingly. I'm familiar with using these models and the mixed command. However, the question I'm asking about is different to previous times I've used mixed effects models.
I have a data set of repeated measures of a blood test in patients who start drug A at time 0. They then have further repeated blood tests done at scheduled times- time 1, time 2, time 3, time 4, time 5. Not every patient had blood taken at every scheduled time (eg some died before time 5 or missed a test but had the next scheduled one). In-between the scheduled blood taking times, all patients started another drug (drug B). I have the time to starting drug B in days from the start of the study. The day of starting drug B falls between different scheduled blood tests for different patients (eg time 0 = study day 1, time 1 = study day 28, time 2 = study day 42, time 3 = study day 70 and drug B could have been started on day 15, day 23, day 44, day 67 for patients A, B, C, D respectively).
I want to examine whether there was a change in the blood test values before and after starting drug B, eg were repeated blood test values rising before starting drug B and falling after?
Is a linear mixed effects model appropriate here?
How do I set up the model so that the repeated measures are organised into before or after the day drug B was started?
Hope that is clear. Any help is greatly appreciated, thanks,
James
My questions relates to whether a linear mixed effect model is appropriate and how to set up the model accordingly. I'm familiar with using these models and the mixed command. However, the question I'm asking about is different to previous times I've used mixed effects models.
I have a data set of repeated measures of a blood test in patients who start drug A at time 0. They then have further repeated blood tests done at scheduled times- time 1, time 2, time 3, time 4, time 5. Not every patient had blood taken at every scheduled time (eg some died before time 5 or missed a test but had the next scheduled one). In-between the scheduled blood taking times, all patients started another drug (drug B). I have the time to starting drug B in days from the start of the study. The day of starting drug B falls between different scheduled blood tests for different patients (eg time 0 = study day 1, time 1 = study day 28, time 2 = study day 42, time 3 = study day 70 and drug B could have been started on day 15, day 23, day 44, day 67 for patients A, B, C, D respectively).
I want to examine whether there was a change in the blood test values before and after starting drug B, eg were repeated blood test values rising before starting drug B and falling after?
Is a linear mixed effects model appropriate here?
How do I set up the model so that the repeated measures are organised into before or after the day drug B was started?
Hope that is clear. Any help is greatly appreciated, thanks,
James
Comment