Statalist


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

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


From   Kit Baum <baum@bc.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: re: rvpplot or rvfplot available after ivreg(2)?
Date   Tue, 11 Dec 2007 20:52:20 -0500

-rvfplot- is nothing more than

ivreg2...
predict resid,resid
predict xb, xb
scatter resid xb

whereas -rvpplot- is just

scatter resid xvar (where xvar is one of the regressors)

so you can readily generate either type of plot after -any- estimation command from which residuals and predicted values are available.

Kit Baum, Boston College Economics and DIW Berlin
http://ideas.repec.org/e/pba1.html
An Introduction to Modern Econometrics Using Stata:
http://www.stata-press.com/books/imeus.html


*
* 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