Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: Outputting results to a new dataset


From   "brad.cannell" <brad.cannell@me.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Outputting results to a new dataset
Date   Mon, 02 May 2011 14:23:18 +0000 (GMT)

Hello,

Generally, I would like to learn the equivalent of SAS's "out=dataset" option. Specifically, I'm working on descriptive tables for a report right now. I'm running proportions on categorical variables, and I would like stata to save those proportion estimates as a new dataset that I can quickly and easily use to make graphs. In SAS I would just type:

Proc Freq data="">
tables agecat / out = agefregs;
run;

Sorry to ask such a basic question, but I can't seem to find this information with any of the google searches I've tried.

Thank you,
Brad


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index