Hello everyone,
I am a STATA novice and still getting to grips with the software.
I am running a logit model and trying to include year fixed effects on Panel data from 2010-2019. I used i.year dummy variable however because the event I am studying does not occur in year t, the presence of a year dummy means that Stata omits the year dummy and the observation for that year.
I have been advised to change my approach, instead expressing all variables in deviation from the cross-section mean of that variable. I have searched around but am yet to find the commands to achieve this, any advice would be much appreciated.
Thanks
Related Posts with Expressing all other variables in deviation from the cross-section mean of 'year' variable
Marking Answer Sheets using STATAI am trying to find a quicker way to mark answer sheets using stata (over 500 answer sheets with eac…
Combining several variables in one datasetHi I am a political science student and quite new to stata I have used primary data from surveyxact…
How to make this graph with stack option?Dear all, I would like to make a graph as shown below. In my simple example, I calculated concentra…
overlapping graph lines are obscuredHi there I would like to plot multiple lines on a graph, but often these lines overlap, in which ca…
collinearity diagnostics for ordered logistic regressionDear researchers, I am trying to get the VIF after running the xtologit but it doesn't work with me…
Subscribe to:
Post Comments (Atom)
0 Response to Expressing all other variables in deviation from the cross-section mean of 'year' variable
Post a Comment