Hello everyone.
I am doing a longitudinal analysis using fixed effect. I am interested in how child's gender will influence parental economic outcome.
So here is how I do it. I categorized the age of parent's child into several categories. Say, 1 for 0-2, 2 for 3-7, 3 for 8-18. Then if they are not parents yet, I codify their child's age into 0. Since my question is whether child's gender matters then I would like to do an interaction effect between child's gender and child's age. Then my question is, since I am using fixed effect, I am comparing difference within the same individual. I want the reference category to be the group that are not parents yet and that's why I codify them into 0 in child's age.
My question is that, while I am doing the interaction effect, the reference category is the group with child age form 0 to 2 rather than those without a child, because the information of the child's gender of the reference group (those without child yet) is missing. Pairwise deletion then wipes out the group which I expect to be the reference category.
I know stata is doing it job. But is there something I have done wrong. My intention is to compare the outcome difference between when individual are parents yet and when they have child of difference ages, and whether this relationship will differ by child's gender.
Your help will be much appreciated.
Thank you.
Grek
I am doing a longitudinal analysis using fixed effect. I am interested in how child's gender will influence parental economic outcome.
So here is how I do it. I categorized the age of parent's child into several categories. Say, 1 for 0-2, 2 for 3-7, 3 for 8-18. Then if they are not parents yet, I codify their child's age into 0. Since my question is whether child's gender matters then I would like to do an interaction effect between child's gender and child's age. Then my question is, since I am using fixed effect, I am comparing difference within the same individual. I want the reference category to be the group that are not parents yet and that's why I codify them into 0 in child's age.
My question is that, while I am doing the interaction effect, the reference category is the group with child age form 0 to 2 rather than those without a child, because the information of the child's gender of the reference group (those without child yet) is missing. Pairwise deletion then wipes out the group which I expect to be the reference category.
I know stata is doing it job. But is there something I have done wrong. My intention is to compare the outcome difference between when individual are parents yet and when they have child of difference ages, and whether this relationship will differ by child's gender.
Your help will be much appreciated.
Thank you.
Grek
Comment