Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: Outputting results to a new dataset


From   Daniel Feenberg <[email protected]>
To   [email protected]
Subject   Re: st: Outputting results to a new dataset
Date   Mon, 2 May 2011 10:27:11 -0400 (EDT)




On Mon, 2 May 2011, brad.cannell wrote:

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=data1;
	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.

You probably want to look at -postfile- and -statsby- but they are not really equivalent to out=. Not worse, but certainly different.

Daniel Feenberg


Thank you,
Brad


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index