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
Difference in differences with changing sampleDear All, I am working on a quasi-experimental study with a large unbalanced panel dataset. This is…
Outreg2 for summary statisticsHi all, I am trying to figure out the way to use outreg2 to export the summary statistics of my dat…
Multi level modelling cross level analysisI want to examine the effect of education(xvar) on prejudice(yvar) (both 1. level variables) moderat…
Covariance matrix of residuals in VAR modelI am estimating a VAR model in STATA. The model is as follows: Code: var potgap defl interest, no…
Merging Datasets -- Variable Responses DeletedHi all, I am merging a number of different datasets and am having trouble with the merge command "d…
Subscribe to:
Post Comments (Atom)
0 Response to Esttab Output File not generated properly
Post a Comment