Hi, I ask you help for a problem that I have.
I would create a new variable (gruppo) from 4 others (ftnd1 sex cat_sigdie cat_eta) that they have, respectively, 4,2,2,4 categories. I should have 64 different modalities for my new variable "gruppo", but some combinations of variables are missing (I obtain only 60 categories, because for some combinations there is no observation).
I have create a new variable with this command:
egen gruppo=group(ftnd1 sex cat_sigdie cat_eta)
Can I obtain whole modalities of "gruppo", altought I have some missing values?
Thanks
I would create a new variable (gruppo) from 4 others (ftnd1 sex cat_sigdie cat_eta) that they have, respectively, 4,2,2,4 categories. I should have 64 different modalities for my new variable "gruppo", but some combinations of variables are missing (I obtain only 60 categories, because for some combinations there is no observation).
I have create a new variable with this command:
egen gruppo=group(ftnd1 sex cat_sigdie cat_eta)
Can I obtain whole modalities of "gruppo", altought I have some missing values?
Thanks
Comment