Hello.
I was hoping I could get some advice with how to think about a question.
I'm interested in the effect of drug x on the continuous variable y.
y is measured in 10,000 patients before drug x is given and then at random time points over a 24 hour period after receiving drug x.
I want to set up a model to help estimate the effect of drug x on y over the 24 hour period.
I would like to control for demographic variable - age, sex, and race.
Eventually I would like to add to the model three different doses of drug x - to determine if higher doses are associated with a bigger change in y.
I'm comfortable with the concepts of linear regression and performing this in stata.
Doing some research, because of the repeated measure in my dataset, is a mixed linear model what I need to use? Or am I thinking about this incorrectly. Any advice or resources you point me to would be appreciated.
Best.
I was hoping I could get some advice with how to think about a question.
I'm interested in the effect of drug x on the continuous variable y.
y is measured in 10,000 patients before drug x is given and then at random time points over a 24 hour period after receiving drug x.
I want to set up a model to help estimate the effect of drug x on y over the 24 hour period.
I would like to control for demographic variable - age, sex, and race.
Eventually I would like to add to the model three different doses of drug x - to determine if higher doses are associated with a bigger change in y.
I'm comfortable with the concepts of linear regression and performing this in stata.
Doing some research, because of the repeated measure in my dataset, is a mixed linear model what I need to use? Or am I thinking about this incorrectly. Any advice or resources you point me to would be appreciated.
Best.
Comment