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
Error in MLE "too few variables specified"Hello sir, I am doing MLE estimation experimental data, and putting programs for the estimation. it …
Event Study errorsHi all!! I just started using STATA and I'm learning how to use the software on my own - which is n…
Merging Refinitiv ESG data with Compustat dataHi Stata experts, I am trying to merge Refinitiv ESG data Compustat data. ESG data has 8 digit cusi…
Dropping data framesHello All, just a quick question: is there any deep underlying reason why I can do Code: drop var1…
Record-to-date value in a time series or panelI will illustrate my question with an example. Say I have a variable called Temperature for 100 yea…
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