Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: -xt- weighting

From   "Clive Nicholas" <>
Subject   st: -xt- weighting
Date   Wed, 17 Dec 2003 02:51:30 -0000 (GMT)


Quick Q about -weights-.

In running -xtregar- models, I want to include a weight = (1/prob), where
prob denotes the probability of _i_ being selected for inclusion in each

. sum weight

    Variable |       Obs        Mean    Std. Dev.       Min        Max
      weight |      3457    .9997022    .0421402    .914787   1.092308

The Ns are grouped in panels of 6.

Now -pweight- is the natural candidate for use here, but since all -xt-
commands disallow the use of -[pw=...]- and -[iw=...]- and will not allow
-[fw=...]- since my weight includes noninteger values, could anybody on
the list tell me whether it is sensible to use -[aw=...]- purely on a
'last man standing' basis?

CLIVE NICHOLAS        |t: 0(44)191 222 5969
Politics Building     |e:
School of Geography,  |f: 0(44)870 126 2421
 Politics & Sociology |
University of         |
 Newcastle-upon-Tyne  |
Newcastle-upon-Tyne   |
NE1 7RU		      |
United Kingdom	      |

(c) The University of Newcastle upon Tyne is a registered trademark of
Universities UK, a division of World Wrestling Entertainment, a
subdivision of Fox Inc., part of Muddy Fox, a joint-stock partnership with
the band Mud. Muddy Fox is a subdivision of IMG/McCormack, a division of
Coca-Cola, part-owner of God, Jesus, Moses and Son (GJMS) Miracles plc.
GJMS Miracles is a registered trademark of the University of Newcastle
upon Tyne. All rights reserved 2003.
*   For searches and help try:

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