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
significance of dynamic multiplierhow can we understand that dm is significant by looking at dm table? below figure is taken as an exc…
egen concat including if functionI have a very simple issue, and I read some help material but can't quite solve it. I want to create…
Dropping excess character - String variableDear All, I have a string variable which captures the ICD-10 codes. However, some of the codes have…
Reading multiple files with infix #delimHi, I am a beginner in Stata, and I'm trying to do read a number of files to form a dataset (and pos…
Spmatrix command and its memory needDear All, I am using Stata 16. I try to run spatial regressions with sp commands. I am using an eco…
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