Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

Re: st: Spss vs Stata

From   Neil Shephard <>
Subject   Re: st: Spss vs Stata
Date   Mon, 2 Aug 2010 14:43:47 +0000

n Mon, Aug 2, 2010 at 2:30 PM, Kaulisch, Marc
<> wrote:
> I am more concerned about the flexibility to generate pivot tables than about pretty tables.

I've no idea what a "pivot table" is, but if the structure below....

> My previous example in was:
> Table
> Rowvar  colvar1 colvar2
>                1       2       1       2       3
>                n C%    n C%    n C%    n C%    n C%
> 1
> 2
> 3
> Total
> In order to avoid weeks of Stata programming etc. we decided to generate those tables in SPSS.

You could likely achieve it using Ian Watson's -tabout- (available on
SSC) or likely achieve it from first principles using
-contract-/-collapse- in conjunction with some -append-/-merge- and a
small amount of programming.

Although of course I've assumed that you know how to do this sort of
programming, and if not it may well take "weeks", but next time it
will take you far less, and eventually it will become second nature if
you use Stata regularly.

"... no scientific worker has a fixed level of significance at which
from year to year, and in all circumstances, he rejects hypotheses; he
rather gives his mind to each particular case in the light of his
evidence and his ideas." - Sir Ronald A. Fisher (1956)

Email -
Website -
Photos -

*   For searches and help try:

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