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