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
Uncertainty Indexi am trying to construct an uncertainty index using STATA and would like help with commands …
Trouble replacing missing values using bysort:replaceHello, I'm having trouble trying to fill in values for each person id (pid) in a long dataset. As y…
extract the year from an inconsistent string date variableHi everyone, I am having troubles extracting the year from my dateset. Some observations have the f…
Bookmark in Stata 17The combobox is not refreshed on deleting a bookmark? Is there any way to collapse/expand bookmark (…
Two-step system GMM estimationsHi all, I am trying to do a simulation of Canh, Binh, Thanh, &Schinckus (2020): https://www…
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