Bookmark and Share

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


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

st: creating a matrix of medians


From   "Data Analytics Corp." <[email protected]>
To   [email protected]
Subject   st: creating a matrix of medians
Date   Fri, 11 Mar 2011 18:14:37 -0500

Hi,

I have 12 variables: shoe1-shoe11 and segment. The shoe variables show the number of shoes people own for 11 styles. Segment is a segment classification: 1 - 4. I need a 4 by 11 matrix with the rows as the segments and the columns as the styles. The cells should be the median number of shoes for the segment-style combination. How can I create this matrix? Any help is appreciated.

Thanks,

Walt

________________________

Walter R. Paczkowski, Ph.D.
Data Analytics Corp.
44 Hamilton Lane
Plainsboro, NJ 08536
________________________
(V) 609-936-8999
(F) 609-936-3733
[email protected]
www.dataanalyticscorp.com
_____________________________________________________

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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