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, is already up and running.

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

Re: st: how to format tables with multiple variables

From   Nick Cox <>
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
<> 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:

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