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
ROC curves after cox models ideal cut offHi! Does anyone know how to create ROC curves after Cox models? Basically, here is what I am workin…
Multiple comparisonsHi everyone, I am working on minor revision of a manuscript and I have been asked to correct for mu…
Iteratively export and reshapeHi all, I have a database made as follows, where there are basically Molecules observed for a set o…
Help on ICC / dice scoreDear Stata community, I have some data for which I want to calculate intraclass correlation coeffic…
Reference category in logistic regression??I have a variable where 0 is coded for X, 1 for Y, 2 for Z... etc. (numeric variable). How do I then…
Subscribe to:
Post Comments (Atom)
0 Response to contrast doesn't work
Post a Comment