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: tabulation with weights
From
Nick Cox <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: tabulation with weights
Date
Sun, 23 Mar 2014 11:43:46 +0000
As -table- allows -aweights- (indeed you would have got a different
error message otherwise), I guess you should be looking closely at
-weight_ppp-.
Nick
[email protected]
On 23 March 2014 11:07, Abu Camara <[email protected]> wrote:
> Dear Statalist,
> **---The following code works with the weight excluded
> table country year , c(mean value), if (indicator1==16 & unit1==6) &
> (year==1990 | year>=2000) & country!=57, row
>
> **--but when the weights is applied it returns the message "no observation"
> table country year [aweight=weight_ppp], c(mean value), if
> (indicator1==16 & unit1==6) & (year==1990 | year>=2000) & country!=57,
> row
>
> What is going wrong here?
>
> --
> Best Wishes,
> Abu Camara
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/faqs/resources/statalist-faq/
> * http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/