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
Related to Variable transformation & ScalingAdvance sorry for asking such a naive doubt in Stata. I have 2 variables, 1.cash holdings and 2.tota…
Meta-analysis of prevalence data using metaprop commandHi There, I am seeking some help regarding the meta-analysis of the prevalence data using the metap…
Extracting Parts of a Sting variable: Numerous Attempts failedHello, I've spent the last 3 hours trying to extract various parts of this string variable <mcas…
Creating an indexHey I want to create an index out of 10 variables, each of them has values on a scale from 1 to 5. I…
Difficulties in invoking python in stata 16I am trying to call python into the stata 16 environment but having the below error. Any help would …
Subscribe to:
Post Comments (Atom)
0 Response to How to use tabstat's "format" option with estpost? Getting Error
Post a Comment