Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: equivalent to sas output statement for Stata


From   Christopher F Baum <[email protected]>
To   [email protected]
Subject   st: Re: equivalent to sas output statement for Stata
Date   Fri, 16 Jan 2004 07:25:56 -0500

On Jan 16, 2004, at 2:33 AM, Richard wrote:

Having used SAS for data management for many years, I have
become addicted to the OUTPUT statement which allows me to
write multiple output records from an input data file. A standard
application is going from wide format to long. Of course, Stata's
RESHAPE does that quite nicely, but there are other instances where
I still feel the need to use Output. I have looked at various web sites
that provide SAS to Stata equivalents, e. g. the Carolina Population
Center's very nice tutorial, but can't seem to find a discussion of
this particular issue. I suspect that most of the tasks I want to accomplish
can be done through some clever application of RESHAPE, but if
someone knows of an FAQ, discussion, comparison or whatever
regarding this particular issue I would appreciate knowing about it.

Richard T. Campbell
Professor of Sociology
University of Illinois at Chicago
help file, and you can write anything you want, however you want it to appear.

Kit

*
* 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