When I run the following code
webuse grunfeld, clear
bys company: asreg invest mvalue kstock, fmb newey(2)
I get the following results
Array
If I do not run the regression by company
asreg invest mvalue kstock, fmb newey(2)
I get exactly the same results.
Array
Does anyone know why these two different codes generate the same results?
Related Posts with Asreg
alternative to interaction term in regressionHi all, I am examining the interaction effect between X and Y (outcome var is Z) using fixed effect…
Generating a new variable as a result of comparing the mean of a variable (t-test) in two different timesHi, I have three variables here in my example, as described below. 1) EXP: is the time dummy variab…
Compare percentage across different tablesHey I want to compare percentages across tables. So, for example I want to test if investor_A inve…
Coefficient interpretation in log-level regression- Actual impact of independent variable on dependent variable.Hi all, I have a regression where the dependent variable is in log form. I was wondering if we can …
Replacing missing values by certain datesHi, I have dataset which has the format as shown in the code below. I would like to replace the miss…
Subscribe to:
Post Comments (Atom)
0 Response to Asreg
Post a Comment