Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: -gmm- and incorporate offset/exposure variable?


From   David Ward <[email protected]>
To   [email protected]
Subject   st: -gmm- and incorporate offset/exposure variable?
Date   Tue, 11 Jan 2011 16:48:04 -0500

The article by Brian Poi starting on page 6 of Stata News (Vol. 25(2)) at
http://www.stata.com/news/statanews.25.2.pdf
contains an example on using -gmm- to estimate a Poisson model with instruments.

***************************************************
. webuse docvisits, clear
. gmm (docvis - exp({xb:private chronic female income}+{b0})),
instruments(private chronic female age black hispanic)
***************************************************

Is there an easy way to modify this to include an offset variable;
that is, a variable that is constrained to enter with a coefficient
equal to 1.0?

Dave Ward
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index