I am analysing patients cohort, all of them were treated with the same medication and 2 parameters were measured 3 times: before treatment and twice after treatment. Both parameters improve over time and associated with each other. I have a hypothesis that the treatment improves one parameter and this parameter improvement (predictor) explains the improvement of another parameter (response). I tried to use a linear mixed model to prove it:
model <- lmer(response parameter ~ predictor parameter*predictor state before treatment + time point + desease severity + age + sex +(1+time point|subject), data = data, REML = FALSE)
both response and predictor parameters are continuous, predictor parameter has an interaction term with dummy variable, which shows if predictor was at normal range or not before treatment to account for different relationship between the predictor and response variable in these groups. Random effect is to account for repeated measurements of each subject and by time point random slope is to allow indivdual overtime changes for each subject. Other fixed effects are just for controlling of their confounding.
I have three questions:
If the model is valid for this set up and research question? If it is right to include time point as a fixed effect and a random slope?
When I compare this model to the model without predictor parameter, it is significant, so predictor parameter significantly explains the changes in response variable. Can I say that the predictor parameter overtime changes explain the response variable overtime changes based on this model or it is rather the association between predictor and response variables independent of their over time changes? How should I build the model if I want to answer the questions if the predictor variable overtime changes explains the response variable overtime changes? Should I add time varying variables?
How can I prove that these are the overtime changes in predictor variable which explain the overtime changes in response variable and not that the treatment with the medication explains overtime changes of both predictor and response variable independently? Is inclusion of time point as fixed effect represent the treatment effect in the model?
I would be grateful for any thoughts and suggestions.
Thank you.