Primary endpoint was change from baseline to week 8 in the Montgomery-sberg Depression Rating Scale ( MADRS ) total score analysed by mixed model for repeated measurements , using a noninferiority test followed by a superiority test .