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
ODBC, *Stata 16 and Big SurHello, After updating to MacOS BigSur 11.1.3, i am now facing the following problem with Stata 16 a…
Problem with the option xline with the user-written command coefplotDear all, I am currently working with Stata 16.1 on an event study analysis. I am having troubles w…
Merging/Appending excel datasetHi everyone! So I need to import a new variable 'x' from an excel dataset (ED) within a Stata datase…
estpost correlate command for time series operatorsDear Stata members I would like to do a correlation analysis with some lag values and -estpost corre…
Fixed effect ordered logitHi Stata users, I have an ordered dependent variable and I am trying to implement fixed effect orde…
Subscribe to:
Post Comments (Atom)
0 Response to contrast doesn't work
Post a Comment