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: may not use noninteger frequency weights

From   Maarten buis <>
Subject   Re: st: may not use noninteger frequency weights
Date   Mon, 23 Aug 2010 16:20:14 +0000 (GMT)

--- On Mon, 23/8/10, Kiss Sándor Csanád wrote:
> Why is it, that from the following 3 command, the first 2
> is ok, but the 3rd gives the error message in the subject?
> ta var1 var2
> ta var1 var2 [iw = var3]
> ta var2 [iw = var3], su(var2)

That is because -tabulate, summarize- does not allow iweights.
The only weights allowed are either aweights or fweights. You
can see that when you type -help tabulate_summarize-.

You are right, that Stata issued the wrong error message, it
should have told you:
iweight not allowed

Hope this helps,

Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen


*   For searches and help try:

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