Hello,

I am trying to put together a table to see the frequency of occurrence of 1 (it is a dummy variable) for a specific variable (a) conditioned to another variable (status, which goes from 1 to 7. Also want one of the lines to not be conditioned at all). Also, I would like to group them together and have a collumn for each year (year). And to top it off, I need to use [aw=w].

Is there a simple way to put all this information in one table? Or at least one table for every year? I so far have done it manually by just using tabulate and checking the frequency of occurence of 1 for each year and for each value of status.

Thank you in advance.