Hi there,
I'm working with Danish register data, wich is a massive panel dataset with several hundred thousands observations per year over 14 years. According to Statistics Denmarks discretion policy I'm not allowed to show cell values below 5 individuals.
But since I need a lot of cross tables with plenty of cells with cell value below 5, my question is:
- Does Stata have an option or a command where I can condition the output in the table cells so that the tab-command empties cells with values below 5?
My code:
tab variable2013 variable2012
In the attached example1, I would like the STATA tab command to empty the following cells: C2, F2, E3, and E6, as showed in the attached example2
I hope my question is clear, otherwise please let me know so that I can try to improve my question. I know you guys spend a lot of time helping people like me, and I truly admire and respect that.
Thank you very much in advance,
Best Regards,
Mikkel
I'm working with Danish register data, wich is a massive panel dataset with several hundred thousands observations per year over 14 years. According to Statistics Denmarks discretion policy I'm not allowed to show cell values below 5 individuals.
But since I need a lot of cross tables with plenty of cells with cell value below 5, my question is:
- Does Stata have an option or a command where I can condition the output in the table cells so that the tab-command empties cells with values below 5?
My code:
tab variable2013 variable2012
In the attached example1, I would like the STATA tab command to empty the following cells: C2, F2, E3, and E6, as showed in the attached example2
I hope my question is clear, otherwise please let me know so that I can try to improve my question. I know you guys spend a lot of time helping people like me, and I truly admire and respect that.
Thank you very much in advance,
Best Regards,
Mikkel
Comment