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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: How to easily insert all tab statistics into matrix for export


From   Stephen Cranney <scranney@sas.upenn.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: How to easily insert all tab statistics into matrix for export
Date   Wed, 17 Apr 2013 14:27:07 -0400

Hi all,

I'm trying to insert all of the statistics I derive from the tab
command into a matrix so that I can use the frmttable command to
automate the frequency table generation. Specifically, I'm using the
row percentage command, but the row statistics are not collected in
the  matrix. So I'm wondering if there's a way to automatically place
the row statistics in the matrix or, if that's not an option, if
there's an efficient way to calculate a percentage row beneath each
row in the matrix that doesn't require customizing the dimensions for
each respective frequency table. I've done way too many of these
tables by hand in excel. Surely there has to be a way to automate
this.

Thanks in advance,

Stephen


--
Stephen Cranney

PhD Student
Graduate Group in Demography
University of Pennsylvania
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index