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,
every
observation has information on 3 groups where the information is stored
in
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
to
reshape the data?

----------------------------------------------------------------

See:
   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

__________________________________________

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
Email: [email protected]
__________________________________________ 

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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