I would like to export to Latex a table for a few variables where the first row is the labels of the variables and the second row is their respective number of observations. I ran
and got something similar but not using the variables' labels. Running
then gives me a result I don't even understand.

How can I get a table as above saved in a .tex file? Many thanks
Code:
estpost tabstat t1p t2p t3p t4p t5p t6p t7p t8p, statistics(n)
Code:
esttab
How can I get a table as above saved in a .tex file? Many thanks

Comment