Hello,
I am currently working with a panel, using Correia's reghdfe command. Suppose I have a panel of firms with quarterly observations. If I only wanted to include firm specific fixed effects, then the code would be
reghdfe Y X1 X2 X3 , absorb(firm_id)
The above equation runs nicely. I only have a very silly question: how do I ask the program to get the residuals from this procedure and also, how do I specify no-intercept in the equation?
I know that Correia's procedure allows for both options: residuals(newvar) and noconstant. But I'm having trouble with the syntax (how to properly include those two statements in the code)
can anyone help me on this? I'm sorry for the sloppiness (I'm quite new with stata)
Thank you
Related Posts with Options in a Panel data regression using Sergio Correia's ''reghdfe''
Issues with HHI creationHi, I am new to the forum and to stata as well. I know this topic has been covered multiple times b…
Stata job opportunity in Cmabridge MA NBER has an opening for a "professional to work with researchers to explore, procure, & curate …
Rename a function?How should I rename a function in Stata? I combine Stata and R, and to reduce confusion, I’d like t…
Testing means with missing valuesHello everyone, I have a small problem executing a one-would-think simple t-test and I hope you can…
Multilevel regression and/or clustering standard errorsHello, In case of multilevel data, it is obvious to use for example - mixed -, but using - mixed - …
Subscribe to:
Post Comments (Atom)
0 Response to Options in a Panel data regression using Sergio Correia's ''reghdfe''
Post a Comment