/* --- file: ~carey/three_stooges_MANOVA.sas Example of a profile analysis using the three_stooges data --- */ LIBNAME mvstats '~carey/p7291dir'; DATA temp; SET mvstats.three_stooges; RUN; PROC GLM DATA=temp; CLASS favorite; MODEL brain_damage stupidity_index = favorite; MEANS favorite / tukey scheffe; TITLE2 Simple MANOVA; MANOVA H=favorite / printe; RUN; TITLE2 Profile Analysis: Level; MANOVA H=favorite M=brain_damage + stupidity_index MNAMES=Level/ summary; RUN; TITLE2 Profile Analysis: Shape; MANOVA H=favorite M=brain_damage - stupidity_index MNAMES=Shape/ summary; RUN; TITLE2 Repeated Measures Analysis; REPEATED measure 2 CONTRAST / SUMMARY PRINTE PRINTH; RUN; QUIT;