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

st: IMPLEMENTING XTGLS WITH IV


From   "John A Karikari" <KarikariJ@gao.gov>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: IMPLEMENTING XTGLS WITH IV
Date   Thu, 18 Dec 2003 09:30:38 -0500

Hi To All:

We are working on a project that requires the functions performed by
two of Stata routines, IVREG and XTGLS.  (Unfortunately, there is no
single Stata program that can do this, so we are trying to create our
own).  XTGLS performs the bulk of what we need, we would like to adjust
its ado file so that it can allow for IV estimation.  This can be done
if we can get the XTGLS to replace the OLS residuals that it calculates
in the first step of its two step estimation WITH the IVREG residuals
that we can input to it.

Do you think, you can help us identify what lines of code in XTGLS ado
file needs to be changed so it replaces its calculated OLS residuals
with the IV residuals that we provide it with.  Or can you help us to
implement XTGLS with IV.  We believe this will require someone with
excellent knowledge of Stata programming and the XTGLS program.

We will be glad to compensate you for your time.  

Please contact me off-list if you are interested to discuss this
further. We look forward to hearing back from you.

John Karikari

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index