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]

st: Table with more than 2 differant variables as columns variables

From   "Jean-Marie Meier" <>
Subject   st: Table with more than 2 differant variables as columns variables
Date   Sat, 7 May 2011 18:26:20 +0200 (CEST)


for my current project I want to create a table which gives an impression of my data set (I am working on an M&A topic in Corporate Finance).

The table shall look the following:

in the rows are the different years

in the culumns are dummy or categorical variables (like friendly/hostile takveover, tender, cash as payment, stock as payment)


Year        Total Observations      Friendly      hostile          tender          cash      .... further variables

1980          204                              160           44                  50               123
1981          352                               251          101                43                243
1982         ...

I spent 2 hours reviewing the table functions in stata, but somehow I do not get the desired result. I am only able to get something with one row and column variable each or with one row variable and two dummy variables in the form

 tenderoffer and hostile
 ---- 0 ---    ---- 1 ---
    0     1       0     1

It would be great if someone has an approach to tackle this.

Kind regards,

Jean-Marie Meier

*   For searches and help try:

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