Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

[no subject]

I want to do a graph box where my data is in wide form. For example,
observation has information on 3 groups where the information is stored
separate variables, say age1 age2 age3.
If I would reshape the data to long form I could do

.gr box age, over(groupid)

Is there an option to do that with my wide data table or is it necessary
reshape the data?


   help graph box

You need not reshape the data; the following does what I think you want:
   graph box age1 age2 age3

Hope this helps


Svend Juul
Institut for Folkesundhed, Afdeling for Epidemiologi
(Institute of Public Health, Department of Epidemiology)
Vennelyst Boulevard 6
DK-8000  Aarhus C, Denmark
Phone: +45 8942 6090
Home:  +45 8693 7796

*   For searches and help try:

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