Good afternoon,
This is my first post here.
I have been trying, without success, to create a table and then export it to LaTeX with packages like outreg2 or estout. Nothing seems to work. I have looked through many blog posts but did not find what I was looking for. Also, there is no documentation because the packages are user-created (not tabstat of course).
I tried manually making the table, following a code from a previous post. I need to use regione because I have panel data that spans across 6 years and 20 regions in Italy.
levels regione, local(reg_list)
local vlist reg_list
* compute summary statistics
table (var reg_list) (result), ///
stat(mean `vlist') ///
stat(sd `vlist') ///
stat(min `vlist') ///
stat(max `vlist') ///
name(reg_list)
I also tried tabstat with: tabstat pred_ineq gov_eff, by(regione) stat(mean sd min max) nototal long col(stat), where pred_ineq is predicted inequality and gov_eff is a measure of government efficiency (these are two of my variables in reg_list).
So, the first problem is that I do not have an appropriate table, sorted by the 20 regions. Then, I should export it to LaTeX.
Can someone help?
Thank you very much,
LG
This is my first post here.
I have been trying, without success, to create a table and then export it to LaTeX with packages like outreg2 or estout. Nothing seems to work. I have looked through many blog posts but did not find what I was looking for. Also, there is no documentation because the packages are user-created (not tabstat of course).
I tried manually making the table, following a code from a previous post. I need to use regione because I have panel data that spans across 6 years and 20 regions in Italy.
levels regione, local(reg_list)
local vlist reg_list
* compute summary statistics
table (var reg_list) (result), ///
stat(mean `vlist') ///
stat(sd `vlist') ///
stat(min `vlist') ///
stat(max `vlist') ///
name(reg_list)
I also tried tabstat with: tabstat pred_ineq gov_eff, by(regione) stat(mean sd min max) nototal long col(stat), where pred_ineq is predicted inequality and gov_eff is a measure of government efficiency (these are two of my variables in reg_list).
So, the first problem is that I do not have an appropriate table, sorted by the 20 regions. Then, I should export it to LaTeX.
Can someone help?
Thank you very much,
LG
Comment