Welcome to the forum for MLwiN users. Feel free to post your question about MLwiN software here. The Centre for Multilevel Modelling take no responsibility for the accuracy of these posts, we are unable to monitor them closely. Do go ahead and post your question and thank you in advance if you find the time to post any answers!
I am trying to fit a piecewise multilevel model on mlwin where there are four measurements taken during a treatment study. 3 measurements (baseline, mid-treatment and end of treatment) are taken during the treatment phase and one measurement during follow up. I am interested in assessing the effect of treatment (treatment group by time interaction) at the end of treatment and at follow-up. In this case, is it correct to specify the first time piece as 0, 0.5, 1, 1 and the second time piece as 0, 0, 0, 1?