Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: Cross-section regression with fixed effects


From   Cecilia Dassatti <[email protected]>
To   [email protected]
Subject   st: Cross-section regression with fixed effects
Date   Sun, 8 Sep 2013 16:24:35 -0300

Hi everybody,

I am working with a panel dataset in which the id is given by pairs of
bank-firm relationships and the time variable are months.

My LHS variable is the change in the log of strictly positive loans
given by one bank to a firm in t+1, while my RHS variable of interest
is the liquidity of the bank in t-1 (there's a change of policy in t).
I want to include firm fixed effects. I tried first with xtreg, but
since my panel id are bank-firm pairs, I can't find the way for

xtreg depvar indepvars, i(deudor) fe vce(cluster bank)

to work.

I thought about trying with areg o manually demeaning all my variables
at the firm level, but then I saw that i need to do a degrees of
freedom adjustment since I am using clusters for the standar errors. I
can do these other options, but i wanted to know if I am doing
something wrong with xtreg.

Thanks!

Cecilia
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index