I am interested in answering such questions about fold change and significance of contrast of contrast: (drug at visit2 vs. drug at visit1) vs. (placebo at visit2 vs. placebo at visit1). I have played with interaction term but not sure that’s exactly what I want? Below is how currently I formulate and any advice would be much appreciated. Thank you.
formula = ~visit + treatment + visit:treatment
to get the results reflecting (drug at visit2 vs. drug at visit1) vs. (placebo at visit2 vs. placebo at visit1):
contrast = list(c(maintreatmenteffect, drugatvisit_2))
Yeah your visit 2 solution is what I am using currently, thanks for reassuring.