I'm trying to run a panel data regression where the dependent variable is a binary variable and I need to measure the effect of an independent variable which is time invariant.
Please consider the following:
Code:
input HM Age gender income caste HM Age gender income caste 1. 0 45 0 4000 0 2. 1 23 1 2500 1 3. 1 56 1 3000 1 4. 1 38 1 3000 0 5. 0 60 1 1000 1 6. 1 65 0 5000 1 7. 0 50 0 6000 1 8. end . list +------------------------------------+ | HM Age gender income caste | |------------------------------------| 1. | 0 45 0 4000 0 | 2. | 1 23 1 2500 1 | 3. | 1 56 1 3000 1 | 4. | 1 38 1 3000 0 | 5. | 0 60 1 1000 1 | |------------------------------------| 6. | 1 65 0 5000 1 | 7. | 0 50 0 6000 1 | +------------------------------------+
I'm struggling terribly with this regression and am completely lost. Any help would be greatly appreciated.
Thanks.
0 Response to Help with Logit in panel data and measuring a time invariant independent variable.
Post a Comment