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


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

RE: st: RE: Means for Metan


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: Means for Metan
Date   Mon, 12 Apr 2010 22:32:41 +0100

Sorry, that was wrong, I think: 

su wt [fw=j1] 
su wt [fw=j2] 
... 

Just using _n for observation and frequency weights. 

[U] 13.4 System variables
[U] 11.1.6 Weights 

Nick 
n.j.cox@durham.ac.uk 

Aggie Chidlow

Thanks Nick,
This is good, but could you suggest something for me to read about it,
please? I would like to understand what I am doing not just copy your
work. Thanks

On Mon, Apr 12, 2010 at 10:14 PM, Nick Cox <n.j.cox@durham.ac.uk> wrote:
> That's a bit clearer. Thanks.
>
> On the understanding that the first, second, ... observation contain
information for 0, 1, ... mentions
>
> gen wt = _n - 1
> su j? [fw=wt]
>
> Nick
> n.j.cox@durham.ac.uk
>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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