Hi Statalist,
I'm a sociology student looking at the impact of job changes. I'm using panel data from the BHPS to ask "Who benefits from a job change?", I'm answering this question using panel logit models (-xtlogit, fe-) with fixed effects, or conditional logit models grouped by ID (-clogit-). I'm trying to learn more about interactions between time varying covariates (reference category- no change versus a change in employer, or a change in job with the same employer) and non time-varying covariates (gender, or skill). My hunch is that certain workers benefit from an employer change more than others.
This topic has been mentioned before, lots of people cite Stata tip #87 by Maarten Buis (2010) but the paper seems to focus on logit models for cross sectional data; when I try to run the margins command to see the mobility effect for different genders, I get empty values (not estimable) for the reference category (no change) for both males, and separately for females. Am I doing something wrong? More generally what am I looking at when I see interactions between time invariant and time variant variables in fixed effects logit models? Many have mentioned that they are odds of odds ratios; does that mean that non significant interactions show no differences between time invariant groups (example; males and females) in how time variant covariates affect the dependent variable?
What are some of the post-estimation commands that communicate clogit interactions effectively?
Small Edit: I am using Stata 13
Any help would be greatly appreciated. Thanks!
I'm a sociology student looking at the impact of job changes. I'm using panel data from the BHPS to ask "Who benefits from a job change?", I'm answering this question using panel logit models (-xtlogit, fe-) with fixed effects, or conditional logit models grouped by ID (-clogit-). I'm trying to learn more about interactions between time varying covariates (reference category- no change versus a change in employer, or a change in job with the same employer) and non time-varying covariates (gender, or skill). My hunch is that certain workers benefit from an employer change more than others.
This topic has been mentioned before, lots of people cite Stata tip #87 by Maarten Buis (2010) but the paper seems to focus on logit models for cross sectional data; when I try to run the margins command to see the mobility effect for different genders, I get empty values (not estimable) for the reference category (no change) for both males, and separately for females. Am I doing something wrong? More generally what am I looking at when I see interactions between time invariant and time variant variables in fixed effects logit models? Many have mentioned that they are odds of odds ratios; does that mean that non significant interactions show no differences between time invariant groups (example; males and females) in how time variant covariates affect the dependent variable?
What are some of the post-estimation commands that communicate clogit interactions effectively?
Code:
. margins, over(female mob2) expression(exp(xb())) post Predictive margins Number of obs = 44862 Model VCE : OIM Expression : exp(xb()) over : female mob2 ------------------------------------------------------------------------------ | Delta-method | Margin Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- female#mob2 | male#0 | . (not estimable) male#1 | 5.299811 8.522933 0.62 0.534 -11.40483 22.00445 female#0 | . (not estimable) female#1 | 5.026775 7.968148 0.63 0.528 -10.59051 20.64406 ------------------------------------------------------------------------------ . end of do-file
Any help would be greatly appreciated. Thanks!
Comment