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]

From |
Austin Nichols <austinnichols@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: proper use of aweight |

Date |
Fri, 20 Apr 2012 11:07:01 -0400 |

Carlianne Patrick <patrick.170@buckeyemail.osu.edu>: I cannot speak to whether unreferenced "posted codes" (presumably, a contraction of "posted code snippets" that sounds terrible to native English speakers who also program, since code is a mass noun here) are correct in their use, but aweights are of very general use. Their use gives the same point estimates as other weights, fweights and pweights, but does not inflate the overall sample size as does the use of fweights, nor impose robust variance estimation as does the use of pweights. If you are unsure about how to do correct inference, in many cases you may well be better off bootstrapping and using aweights in each bootstrap resample. Unless you are matching; the bootstrap is inappropriate for matching. See also http://www.stata-journal.com/sjpdf.html?articlenum=st0136_1 On Thu, Apr 19, 2012 at 6:21 PM, Carlianne Patrick <patrick.170@buckeyemail.osu.edu> wrote: > I am new to STATAlist, so please excuse any posting faux pas I may make in my initial posting(s). Also, thank you in advance for any help. > > I am using STATA11.2; however, my question is regarding the posted code from some published papers (and thus I don't know which version they were using). I would like to use the techniques in these papers for my analysis, but am concerned that the code isn't doing what the papers say it is doing. > > After reading the available STATA documentation on aweight, it appears that this particular weighting option is really only suitable when the observations are means of underlying data. However, in the posted codes it is used to accomplish one of two things: > 1) Weight the data with lagged values of the dependent variable. > 2) Weight "matches" by the inverse of their number or log odds ratio (specifically, in situations where multiple untreated observations are "matched" to one treated observation). > > I may misunderstand what aweights is doing. If not, then it appears that it is not the appropriate weighting option command to accomplish (1) or (2) if you are weighting by the log odds ratio. It seems appropriate only if you have already taken the average of the matches. Then, the average of the matches could by weighted by their number and the treated observation weighted by 1. > > Is this the correct interpretation? > > If it isn't, is there a reference that might help me understand why aweight is appropriate in these situations? * * 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/

**Follow-Ups**:**RE: st: proper use of aweight***From:*Carlianne Patrick <patrick.170@buckeyemail.osu.edu>

**References**:**st: proper use of aweight***From:*Carlianne Patrick <patrick.170@buckeyemail.osu.edu>

- Prev by Date:
**st: prediction of panel tobit with random effects** - Next by Date:
**Re: st: St: interpret the result of Hausman test** - Previous by thread:
**st: proper use of aweight** - Next by thread:
**RE: st: proper use of aweight** - Index(es):