Hello Stata community;
I'am working with some fiscal data about individual tax filings, here's the data:
The first variable is called "revenu_net_global", which is basically the total net revenu of that individual before taxation.
The second variable is "revenu_net_imposable", which is the taxable revenu after considering forms of deductions, in other words, the individual will pay taxes on that taxable revenu, not on his total net revenu
The third variable is "impt_d", which is basically the monetary amount that that individual paid (or should pay), so basically, it is the taxes that the individual has really paid on his taxable revenu.
What I want to have as a result is a table in which:
The first variabble shows the social categories of this population by the"revenu_net_global" variable, i other words, I want to have the Bottom Quitile, Second Quintile, Middle Quintile, Forth Quintile, 81% to 90%, 91% to 95%, 96% to 99%, and the top richest 1% according to their "revenu_net_global". I know that there is a STATA command called "xtile", yet I don't know how I can define the social classes by myself.
The second variable I want to have on the table is the number of individuals (or observations n) for each social class
The third variable is the median (or the average) income before txation for each social class, that is the median (or the average) revenu_net_imposable for each class
The fourth variable I would like to have is the median (or the average) taxation that is paid by the median (or the average) individual of each class, that is the variable "impt_d"
As for the fifth and last variable, I want it to be about the average tax rate of each social class, that is the amount of taxation (the variable "impt_d") each average individual of each social class paid on his taxable revenu.
I really would appreciate it if I could get some help with this. Thanks in advance to whoever would like to help!
I'am working with some fiscal data about individual tax filings, here's the data:
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input double(revenu_net_global revenu_net_imposable impt_d) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 15285751 14786000 2544360 5751606 5452000 117520 4320000 4320000 300000 12620394 12121000 1851460 2000000 2000000 300000 0 0 300000 1500000 1200000 0 0 0 0 800000 420000 300000 0 0 300000 0 0 300000 2000000 1700000 0 0 0 300000 3600000 3200000 300000 6200000 5900000 300000 0 0 300000 1000000 1000000 300000 0 0 300000 2720000 2420000 300000 2000000 2000000 300000 1000000 1000000 300000 0 0 0 3000000 2400000 300000 0 0 300000 6056669 5557000 300000 0 0 300000 2500000 2500000 0 0 0 0 0 0 300000 1000000 1000000 300000 0 0 300000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 300000 0 0 300000 0 0 0 5000000 4700000 0 0 0 0 0 0 300000 1300000 1000000 300000 4000000 3700000 0 7500000 6900000 494000 2625427 2326000 300000 6510678 6211000 314860 4320000 3820000 0 21620000 21620000 4353600 4000000 3700000 0 84372350 84373000 25130550 0 0 300000 93500000 0 0 5558000 5058000 15080 0 0 0 0 0 0 0 0 300000 0 0 300000 65951600 0 0 9000000 8500000 910000 0 0 0 0 0 0 0 0 300000 0 0 0 1445767 946000 0 0 0 300000 6000000 6000000 300000 0 0 300000 0 0 300000 0 0 300000 0 0 0 0 0 0 0 0 0 0 0 300000 6000000 5400000 300000 6945156 6646000 427960 10896027 10597000 1455220 140111625 133947000 42481450 0 0 300000 74449275 74150000 21552500 198813514 191597000 62658950 15450000 14950000 2587000 38758617 0 300000 0 0 300000 24300000 0 0 12000000 11990000 1817400 0 0 0 9712438 9413000 1147380 0 0 300000 0 0 300000 1.890e+08 0 0 0 0 300000 105674393 34825000 8244000 0 0 300000 13600000 13300000 2158000 end
The second variable is "revenu_net_imposable", which is the taxable revenu after considering forms of deductions, in other words, the individual will pay taxes on that taxable revenu, not on his total net revenu
The third variable is "impt_d", which is basically the monetary amount that that individual paid (or should pay), so basically, it is the taxes that the individual has really paid on his taxable revenu.
What I want to have as a result is a table in which:
The first variabble shows the social categories of this population by the"revenu_net_global" variable, i other words, I want to have the Bottom Quitile, Second Quintile, Middle Quintile, Forth Quintile, 81% to 90%, 91% to 95%, 96% to 99%, and the top richest 1% according to their "revenu_net_global". I know that there is a STATA command called "xtile", yet I don't know how I can define the social classes by myself.
The second variable I want to have on the table is the number of individuals (or observations n) for each social class
The third variable is the median (or the average) income before txation for each social class, that is the median (or the average) revenu_net_imposable for each class
The fourth variable I would like to have is the median (or the average) taxation that is paid by the median (or the average) individual of each class, that is the variable "impt_d"
As for the fifth and last variable, I want it to be about the average tax rate of each social class, that is the amount of taxation (the variable "impt_d") each average individual of each social class paid on his taxable revenu.
I really would appreciate it if I could get some help with this. Thanks in advance to whoever would like to help!
Comment