Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: rvpplot or rvfplot available after ivreg(2) ?


From   Marck Bulter <177316mb@student.eur.nl>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: rvpplot or rvfplot available after ivreg(2) ?
Date   Wed, 12 Dec 2007 16:05:09 +0100

Austin Nichols wrote:
Marck Bulter <177316mb@student.eur.nl>:
One can always construct such plots using -predict- and -graph-

use http://fmwww.bc.edu/ec-p/data/wooldridge/card, clear
loc x "exper* smsa* south mar black reg662-reg669"
ivreg2 lw `x' (educ=nearc2 nearc4), first
qui reg educ `x' nearc2 nearc4
predict xhat
qui reg lw xhat `x'
predict ehat, resid
predict yhat
gr7 ehat xhat
gr7 ehat yhat

See also sec 4.7 of http://pped.org/stata/ciwod.pdf

On Dec 11, 2007 7:50 PM, Marck Bulter <177316mb@student.eur.nl> wrote:

Dear statalisters,

Just wondering, is there a post estimation command like rvpplot or
rvfplot available after ivreg(2). I have searched through the list, but
could not find something useful.

Thanks for any suggestions,

regards,
Marck Bulter
*
* 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/
Dear Austin and Kit,

Thank you both for your suggestions

regards,

Marck




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