Dear Statalist.

I have a dataset from a three arms study (one of the arms is control, and the other two are two different treatments) where a participant was observed for occurrence of binary outcome at three time points (baseline midline and endline) six months apart. I would like to find out which treatment had the largest effect. kindly point me to the right comand to use.

Presently I am doing melogit outcome i.arm || timepoints:

Is this correct

Regards,
Christian