Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Rolling regression based on trading days

From   Bernice Mi <>
Subject   st: Rolling regression based on trading days
Date   Mon, 29 Apr 2013 17:53:55 +1000

Hi All,

I have an unbalanced panel data with the dates being trading days. I
have already defined and formatted (using %tbcalname) the dates as
business calendar. I checked by testing the lead and lag days - it
worked. However, when I xtset company date, it shows that delta is
0.001 seconds. Moreover, when I run rolling regression for 3 years, it
turns up to be 1035 (roughly 360*3) replications not around 780 (i.e.
260*3) replications.

I am new user of Stata and could not figure out where I went wrong.
Please help me.

Many thanks!!

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index