I am writing the following code:
local variables= "taxratesales taxrateVAT"
estpost tabstat `variables', statistics(mean p50 sd min max n) columns(statistics)
esttab using temp, replace cells("Mean Median SD Min Max N") nomtitle nonumber
On the stata window: it shows me the following output:
Summary statistics: mean p50 sd min max count
for variables: taxratesales taxrateVAT
| e(mean) e(p50) e(sd) e(min) e(max) e(count)
-------------+------------------------------------------------------------------
taxratesales | 8.288876 8 4.568087 0 115 88935
taxrateVAT | 7.30818 5 4.8678 0 65 93709
. esttab using temp, replace cells("Mean Median SD Min Max N") nomtitle nonumber
(note: file temp.txt not found)
(output written to temp.txt)
But when I open the .txt file that is generated, I see the following:
------------------------------------------------------------------------------------------
Mean Median SD Min Max N
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
N 85992
------------------------------------------------------------------------------------------
Can anyone explain why this happened?
Thanks
Related Posts with Esttab Output File not generated properly
Merging dataset with different number of subjectsHello, this is my first post and I am a bit of a newbie so I hope my question is not too obvious. I…
bar graph with event markersHello, I have a panel with 12 individuals from a company and daily data from 2010 to 2020. I have …
Time series - connected scatter?I want to create a rather simple graph that I thought that many others have used before. But after s…
Calculate sum of values in a tableDear all, I am currently working with a dataset where I would like to get the sum of values with ce…
Code for Approximating degree days with monthly average temperatureI am using CRU TS global gridded dataset for climate impacts on crop yields. The data has monthly me…
Subscribe to:
Post Comments (Atom)
0 Response to Esttab Output File not generated properly
Post a Comment