Hello everybody,
I tried to use contrast in order to see if I should use some categorical variables after my regression. I have never used this command before so please let me know if my interpretation of the use of the command is wrong per se.
So I type my regression like:
xtreg yvar xvars i.year year#country year#industry, fe vce(cluster ID)
contrast year#country
contrast year#industry
and get an almost empty table apart from: year#country not testable and denominator = 2708.
What am I doing wrong?
Related Posts with contrast doesn't work
Problem with the data form a multi-line Excel cellDear community, I loaded an Excel file where two columns contain more than one line (The cell inclu…
first letters of each elementDear All, I have this data set: Code: * Example generated by -dataex-. For more info, type help dat…
Restricting ObservationsHi all, hoping this has an easy answer. I have different models which have different variables in th…
Creating a lead variable for fixed effect regressionsHi, I'm trying to run a couple of fixed effect regressions with my data. I want to understand whet…
Adding independent variables to xtlogitDear all, For my thesis I have to research the causes of layoffs for (big) Belgian firms. Period 20…
Subscribe to:
Post Comments (Atom)
0 Response to contrast doesn't work
Post a Comment