Statalist forum,
I am trying to do 4 regression models with fixed effects. However, when I run the regressions, I get omitted values. The first regression is between my dependent and independent variable. The second is between the dependent variable and control variables. Third between dependent variable and dummy variables. The fourth is between all the variables. I have looked into many statalist topics, but I cannot seem to find the answer.
My data consists of 536 observations, with 14 variables.
My code:
xtset OFTICid Year
xtreg Avg_r CMR, fe
eststo model1
xtreg Avg_r CMR LEV Beta LTG MB, fe
eststo model2
xtreg Avg_r CMR EXCH_dummy US_dummy FIL_dummy, fe
eststo model3
xi: xtreg Avg_r CMR LEV Beta LTG MB EXCH_dummy US_dummy FIL_dummy, fe
eststo model4
In the attached files are my dataset and code.
Best regards
Related Posts with Omitted values while doing regression with fixed effects
panel data with 2 different kinds of time unitsHello! I have an issue with some data I want to work with. I like to use panel data to execute a dif…
Reshape data and order contents in columnsDear community, I would like to transfer a data record from the long to the wide format and combine…
Creating a dummy based on groupI am having some data by group and would want to create a dummy of whether there’s at least one case…
Computing Partial Effect and Average Partial Effect of Binary VariablesI tried to compute the PE and the APE of a dummy using the usual Code: margins command. However, I …
Calculating portfolio returns before formationHi all, I am trying to create hedge portfolios for different asset pricing models like Daniel, Mota,…
Subscribe to:
Post Comments (Atom)
0 Response to Omitted values while doing regression with fixed effects
Post a Comment