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

st: Re:rollreg fix


From   Kit Baum <[email protected]>
To   [email protected]
Subject   st: Re:rollreg fix
Date   Mon, 7 Mar 2005 11:34:22 +0000

That may work in this instance, but that is not the fix I have come up with. When I get a chance I will try to get it on the SSC server. I have communicated privately with Cameron Hooper regarding the corrected code.

Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html

On Mar 5, 2005, at 7:33 AM, Scott wrote:


Subject: st: Rolling your own  [was: Programming question]

If you clone -rollreg- and alter line 402 so it reads
		local f =`in1' -1

and add line 404
		local lower = `lower' -1

you will now get coefficients for observations 1/5.
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index