Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Nick Cox <njcoxstata@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: instrumental variable |
Date | Thu, 29 Sep 2011 08:33:46 +0100 |
Stata is rich in commands for computing averages. -egen- with its -mean()- function may be what you want. Nick On Thu, Sep 29, 2011 at 3:02 AM, donsaane <donsaane@yahoo.fr> wrote: > I have an endogeneity problem with one my variables : corruption and I want > to control it with an instrumental variable: amount of bribes averages per > industry. > > Is there any stata command to compute the average ? How can I construct my > instrumental variable? * * 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/