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]

st: RE: Save results from flexible frequency table in 'matrix like' format


From   "Radwin, David" <dradwin@rti.org>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Save results from flexible frequency table in 'matrix like' format
Date   Wed, 17 Jul 2013 13:53:52 -0400

Maybe creating CSV or HTML tables using Ian Watson's -tabout- from SSC?

. ssc install tabout

David
--
David Radwin
Senior Research Associate
Education Studies Division
RTI International
2150 Shattuck Ave., Suite 800
Berkeley, CA 94704
Phone: 510-665-8274

www.rti.org


> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-
> statalist@hsphsun2.harvard.edu] On Behalf Of Milena Przheska
> Sent: Wednesday, July 17, 2013 10:03 AM
> To: statalist@hsphsun2.harvard.edu
> Subject: st: Save results from flexible frequency table in 'matrix
like'
> format
> 
> Dear members of Statalist,
> 
> I have not been able to find appropriate way to save and export
> results from flexible frequency tables, so I kindly ask for your help.
> 
> I would like to save for later use, a frequency table with multiple
> categorical variables, just like it appears in the result - like a
> matrix. Also, I need to keep the names of the variables to mark rows
> and columns.
> 
> The dataset consists of many observations and mainly categorical
> variables (with some of them having tens of categories).
> 
> I have tried the following ways to save the result after creating
> flexible frequency table:
> 
> Copying and pasting the table into word is not good because the
> resulting table is very large;
> 
> Replacing the original data set with the frequencies does not give me
> the matrix like format of the table;
> 
> Collapsing the data after frequency also does not work well, because
> some of the variables are categorical and need to remain so, while
> frequencies are summed;
> 
> The -matcell- option only worked with two-way frequency tables;
> 
> -return- and -ereturn- did not contain any matrices.
> 
> I would very much appreciate your suggestions and I thank you in
advance.
> 
> Regards,
> Milena Przheska


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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