Statalist


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

Re:st: DFFIT and Stata


From   [email protected]
To   [email protected]
Subject   Re:st: DFFIT and Stata
Date   Thu, 28 Aug 2008 14:26:28 +0200 (CEST)

Nuno,

I am not sure whether stata has a (post-) command for this, but you can
create a simple program to get the DFFIT measure in stata after your
regression:

program dffit
	version 9
	predict lev, lev
	predict res, resid
	gen dffit = (lev*res)/(1-lev)

end


Best,
Johan Hellstrom


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



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