Hi,
I have a time variable in Stata internal form. I am trying to calculate it's summary statistics by group and then exporting it to latex. However, when I export it, I want the figures to be in Human Readable Format and not Stata internal form. Usually, the "format" option of summarize/tabstat gives us human readable format however when used with estpost, I get the following error - "option format not allowed".
This is my code:
estpost tabstat total_time, by(group) c(s) stat(n mean min max), format
esttab . using "TotalTime.tex", cells("n mean min max") label nodepvar replace
How can I solve this?
Related Posts with How to use tabstat's "format" option with estpost? Getting Error
Fixed effect regression with some conditionsHello Stata experts, I am using the following data: Code: * Example generated by -dataex-. To in…
Plotting categorical variablesHi all, can any of you tel me how I can get ht below graph? My rep variable is life satisfaction a…
Counting the # of factors when using "i.index"I am running ols with individual fixed effects and year fixed effects by including "i.index" and "i.…
Export Regression results without Fixed Effects using -esttab-I have the following code for exporting regression results to excel. However I don't want the fixed …
log usinghi friends. i am run this code but faced with error.although it is run without error yesterday, i am…
Subscribe to:
Post Comments (Atom)
0 Response to How to use tabstat's "format" option with estpost? Getting Error
Post a Comment