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
Panel data gaps and minimum number of observationsDear Statalisters, I am currently working on my Master Thesis and thus I analyze company financials…
To transform cross-section data to panel dataDear Sir/Madam, I am doing the research on commercial jet aircraft, and each sample has "lease star…
rlaplace(m,b) command not workingHi, I would like to generate a random variable according to the laplace distribution. The command '…
How to validate logit model?Hi, any ideas how to validate the logit model in Stata? I have a received a comment that there is n…
Facing problem in analyzing unbalanced panel data / using gmm both system and differenceHi dear all i am getting the below error of not sorting of data before running gmm...can you share w…
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