Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Profile analysis in Stata 11

From   "Liam O'Brien" <>
To   <>
Subject   st: Profile analysis in Stata 11
Date   Thu, 17 Jun 2010 15:41:41 -0400

Hi all,


I'm trying to perform a simple profile analysis in Stata on a dataset
containing four response variables (y1, y2, y3, y4) and a single grouping
variable (group).   


Here are the commands I'm issuing:


/* preliminary MANOVA */

manova y1 y2 y3 y4 = group


/* test for parallelism */

mat c1 = (1,-1,0,0\0,1,-1,0\0,0,1,-1)

manovatest group, ytrans(c1)


/* test for group differences */

mat c2 = (1,1,1,1)

manovatest group, ytrans(c2)


These steps work just fine, but when it comes to the test of flatness, I'm
not able to get anything to work.  According to the UCLA ATS help page
( something like this
should do the trick:


mat xm = (1,0,0)

manovatest, test(xm) trans(c1)


However, I'm getting a an error that says the constraint was
dropped.   I tried replicating the analysis on the UCLA page and got the
same error.  I'm wondering if there might be some change in Stata 11 that is
causing this not to work.  Any suggestions would be very much appreciated.




*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index