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''
Difference in Difference with propensity score matchingHello Statalist team, may I ask you the following qustion? I would like to use the DID with propens…
Lagged dependent variableHi dear, I have a question. In my dataset, the dependent variable is related to 2020 but the indepen…
How to give different color for all the scatter plots in a graph?Hello everyone, I am using Stata 16.0, The data is in wide format with 29 observations. It is a Nati…
Tobit regression with "outreg2" output?Dear All, I run this Tobit model Code: sysuse auto, clear gen wgt=weight/1000 // Censored from belo…
How to convert to date when data is saved as long format (%tdD_m_Y ); for example-15 Oct 13How to convert to date when data is saved as long format (%tdD_m_Y ); for example-15 Oct 13 …
Subscribe to:
Post Comments (Atom)
0 Response to Options in a Panel data regression using Sergio Correia's ''reghdfe''
Post a Comment