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
Difference-in-differences estimator for time-invariant subgroupsI have a conceptual question. I have a standard difference in differences (DiD) model Code: Y_{i,…
Problems with Merge 1:1 using unique id numberGood morning all, I am a PhD student and relative newcomer to Stata and was hoping you might be able…
Finding two adjacent events in time.Dear users, I’m currently stuck in a script and would very much appreciate some help. I am using a…
Export excel decimalDear all, Could you advise how I can use export excel command with specific number of decimal? I co…
Running a tabulation and putexcel loop when some tabulate outcomes have no observations.Hi, I want to create a daily report of survey submissions for each enumerator-supervisor team made …
Subscribe to:
Post Comments (Atom)
0 Response to contrast doesn't work
Post a Comment