Dear all,
I have the following problem: I want to compute the percentage of people providing unpaid care across the 28 waves of data that I have.
To do so I have used the following code:
table wave, statistic (mean dcare care_changes_in care_changes_out care_changes)
1) Am I right to believe that being dcare a dummy variable that takes value one if the individual provides care and zero otherwise, the mean would give me the percentage of people providing care?
2) I want to split the percentage computed in step 1 across women and men in my sample.
If I use:
table (wave) (gender dcare), nototals statistic(percent, across(dcare))
(where gender takes value 0 for women and 1 for men)
it seems to me that I am computing the proportion of women among the subsample of women and the proportion of men among the subsample of men that provide care in that certain wave.
However ideally I would want to know of the overall percentage (computed in step 1) how much of it is to be attributed to men and how much to women. Does it make any sense?
Ideally I would love to avoid computing each single percentage because I will need to do this work also across nations, regions, age group, and social class.
Thank you so much for your help and your time.
I have the following problem: I want to compute the percentage of people providing unpaid care across the 28 waves of data that I have.
To do so I have used the following code:
table wave, statistic (mean dcare care_changes_in care_changes_out care_changes)
1) Am I right to believe that being dcare a dummy variable that takes value one if the individual provides care and zero otherwise, the mean would give me the percentage of people providing care?
2) I want to split the percentage computed in step 1 across women and men in my sample.
If I use:
table (wave) (gender dcare), nototals statistic(percent, across(dcare))
(where gender takes value 0 for women and 1 for men)
it seems to me that I am computing the proportion of women among the subsample of women and the proportion of men among the subsample of men that provide care in that certain wave.
However ideally I would want to know of the overall percentage (computed in step 1) how much of it is to be attributed to men and how much to women. Does it make any sense?
Ideally I would love to avoid computing each single percentage because I will need to do this work also across nations, regions, age group, and social class.
Thank you so much for your help and your time.
Comment