martin--
That older post uses the earlier (now obsolete) forms of the
user-written commands. Of course, nothing is lost if you simply
ignore those commands:
sysuse auto, clear
treatreg pri wei, treat(for=mpg) r
ivreg pri wei (for=mpg), r
probit for wei mpg
predict ghat
ivreg pri wei (for=ghat), r
reg for wei ghat, r
predict vhat, resid
reg pri wei for vhat, r
or rewrite:
est clear
sysuse auto, clear
treatreg pri wei, treat(for=mpg) r
est sto treat
ivreg pri wei (for=mpg), r
est sto ivreg
probit for wei mpg
predict ghat
ivreg pri wei (for=ghat), r
est sto pr18_1
reg for wei ghat, r
predict vhat, resid
reg pri wei for vhat, r
est sto pr18_1cf
est table *, t eq(1)
On Thu, Jan 7, 2010 at 9:40 AM, Martin Weiss <[email protected]> wrote:
>
> <>
>
> " or e.g.
> http://www.stata.com/statalist/archive/2007-04/msg00415.html"
>
>
> Did some characters go missing at some point from the code in this post?
> "esto" should probably be "eststo"?
>
*
* 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/