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


From   "John A Karikari" <>
To   <>
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:

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