Hi,
I am working with xtivreg2 and just wanted to clarify
3 little things:
1. Is it OK to specified lagged value(s) of the
dependent vaiable as regressors, as in
xtivreg2 profit l.profit l4.profit ...(other
regressors etc)?
2. xtivreg2 does not allow one to put in time dummies
in order to carry out 2-way fixed effects by
specifying i.date, as one could with OLS. With
xtivreg2 one gets the error message:
i: operator invalid
r(198);
But if I generate individual time dummies (tab date,
g(time)) and then put these time dummies into the
specification as (time1-time48), the regression seems
to run OK. However, I wondered whether, since the
programme does not allow the i.date option, this
approach was wrong anyway? I did include time dummies
(i.date) in my OLS regression as this seemed to make
sense and some broad comparability between the
specifications would be nice, but perhaps it is
nonsensical for xtivreg2.
3. What criteria should one use for the # of the bw(3)
option, the bandwidth of the HAC (in the case of
robust) covariance estimator, in order to get
estimates robust to autocorrelation? The examples I
saw used 3 or 4, but I was not sure how to choose
this.
I would greatly appreciate any help with these small
but important (for me) questions.
Regards,
Debbie
___________________________________________________________
24 FIFA World Cup tickets to be won with Yahoo! Mail http://uk.mail.yahoo.com
*
* 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/