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
regression by industry and yearHi members, I am trying to run a regression by industry and year. I used the following code but I g…
Plotting Matrix as pdf with two values in each cell and coloring with respect to both valuesHello, I'm trying to plot a matrix as a pdf file. There are two things in particular I would like t…
Adding values in estpost/esttabHi, i'm using estpost and esttab to export variables summarizes. I would like to get Count/750 for e…
Propensity score matching with restrictionsDear all, I have a monthly panel data of firm (variable: gvkey) and their turnover (variable: trn) …
Robust standard errors for Panel Count DataHi Statalisters, I have panel count data and it appears to me that it has rather a negative binomia…
Subscribe to:
Post Comments (Atom)
0 Response to contrast doesn't work
Post a Comment