Hi,
I have cross-sectional data with both both string (area names) and numeric (hours worked, wages, et cetra) variables.
I am trying to create a table with specific observations only and export it to Latex.
The problem is equivalent to using "auto" database in Stata and trying to create a table which displays variables (make, price, foreign) in a side-by-side fashion that can be exported as .tex output.
While there are many commands and references online for exporting regression or two-way output tables to Latex, I have not been able to find something for simply exporting a subset of data as a formatble table into Latex.
Any help would be highly appreciated. Thank you.
I have cross-sectional data with both both string (area names) and numeric (hours worked, wages, et cetra) variables.
I am trying to create a table with specific observations only and export it to Latex.
The problem is equivalent to using "auto" database in Stata and trying to create a table which displays variables (make, price, foreign) in a side-by-side fashion that can be exported as .tex output.
Code:
sysuse auto, clear br make price foreign if mpg<20 | mpg>35
Any help would be highly appreciated. Thank you.
Comment