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''
How to Correct Data Errors in Longitudinal Format Data in Stata?I have a long format dataset with data error on the variables of kg5, k68, and k912 like this, clear…
How to convert my FE-IV model (with intuitions borrowed from the RDD literature) into STATA language - Is IVREGHDFE the one?Hello dear stata friends! I am having some confusion regarding the implementation of my Individual-F…
getting multiple variables information in one variable after importing txt fileAfter importing delimited using abcd.txt data this is the following output I'm getting on my data ed…
Editing a spatial weighting matrix in neighbor list formI used spmat to create a spatial weighting matrix. I exported it in neighbor list form. The first ro…
Run Seemingly unrelated regression (SUREG) with one of the explanatory variable being latentHi All I have difficulty running an SUREG translog cost function where one of my independent variabl…
Subscribe to:
Post Comments (Atom)
0 Response to Options in a Panel data regression using Sergio Correia's ''reghdfe''
Post a Comment