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

st: RE: self excluded average


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: self excluded average
Date   Wed, 11 Dec 2002 22:19:56 -0000

Ersado, Lire
> 
> I would like to generate a new variable whose observations 
> are self-excluded
> averages of a variable of interest (as commonly done in obtaining
> group/community averages to address issues such as 
> endogeneity). Is there a
> Stata routine that can be used to generate such a variable?

This sounds like what I call the "everybody 
else" problem, on which I have bundled my thoughts 
at 

How do I create variables summarizing for each 
individual properties of the other members of a group?
http://www.stata.com/support/faqs/data/members.html

with a big assist from Guillermo Cruces. 

Nick 
[email protected] 

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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