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: how to format tables with multiple variables


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: how to format tables with multiple variables
Date   Sun, 1 Jul 2012 13:38:49 +0100

The graph might be something like

graph dot (mean) Coloc , over(host) over(Bank)

The table could be something like

egen group = group(Bank host) , label
tab group, su(Coloc)

or use -table- instead.

On Sun, Jul 1, 2012 at 1:16 PM, Carlos Pinheiro
<[email protected]> wrote:

I have a Bank-host-year dataset with various variables.

I am trying to create a table in Stata 12 with 2 string variables
(Bank, host) in rows and the average of a numerical variable (Coloc)
across years in a column.

And also a graph with 'host' in x-axis, 'Coloc' in y-axis and points
with 'Bank'.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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