. estat gatetest 1 4
{\smallskip}
Sorted group treatment-effects heterogeneity test
H0: Sorted group average treatment effects are homogeneous
{\smallskip}
 ( 1)  [GATES]1bn.rank - [GATES]4.rank = 0
{\smallskip}
    chi2(1) =   4.73
Prob > chi2 = 0.0297
{\smallskip}
