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 at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: Applying specific aweight to each explanatory variable


From   Austin Nichols <austinnichols@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Applying specific aweight to each explanatory variable
Date   Thu, 10 Nov 2011 13:35:35 -0500

Natacha <N.M.Postel-Vinay@lse.ac.uk>:
The request makes little sense as stated, but perhaps you have in mind
that individual observations on individual variables are measured with
error of (known) different variance, and you want to shrink
observations toward some group mean.  You could in theory adapt the
root-N factors in the aweight example in the Technical Note on page
1530 of the manual entry for -regress-, but it makes more sense to
mechanically shrink each value toward zero or toward some group mean
using an empirical Bayes shrinkage technique.  Without a reference
supporting the approach, you will probably have to marshal some
simulation evidence to show this improves over weights that multiply
all variable-specific weights together to get an observation-level
average precision aweight, or an approach that ignores all aweights.

On Thu, Nov 10, 2011 at 9:01 AM,  <N.M.Postel-Vinay@lse.ac.uk> wrote:
> Hi All,
>
> I'm running simple cross-sectional regressions. I would like to know whether it is possible to make Stata apply a different aweight to each separate explanatory variable.
>
> Usually at the end of the regression I can just write [aweight = exp], but this would apply the same aweight to each explanatory variable. I would like to know whether it's possible to specify a different exp as an aweight for each different explanatory variable, and whether that would make any sense or not.
>
> Many thanks,
>
> Natacha

*
*   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