Statalist The Stata Listserver


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

Re: st: help in data manipulation (extraction of components in database and transposition of entries)


From   "Pere-Joan Ventura" <pjventura@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: help in data manipulation (extraction of components in database and transposition of entries)
Date   Fri, 31 Mar 2006 16:27:03 +0200

Hi,

You can use the commands tabulate and collapse

tabulate commodity, generate(dumcom)
collapse (sum) dumcom1 dumcom2 dumcom3, by(farm parcel)

Regards

--
Pere-Joan Ventura

*
*   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–2020 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index