Dear community,

How do I show the proportion female/male for each income quintile as shown in the following table? I have the following variables specified:

Code:
q_ipcn: income quintile 
enaho: year
A4: sex
itrbt: labor income
Array

I have tried adding the col() option to the following command but with no success:

Code:
table q_ipcn A4 enaho, c(mean itrbt)
Thank you and sorry for the messy post, it is my first time posting here!