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
Simulate correlated binary variablesHi, I would like to simulate correlated binary variables. Theoretically, I should have been able t…
Problem with import delimited - characters "¿" "1/2" "1/4" etcHi everyone, I want to import a public data set of standardized tests in Colombia. This information…
Tobit model with two steps Dear statalisters, I am trying to estimate a generalized tobit model with two steps. The first step…
Temporary frameDear All, if a data frame is created with a temporary name it is disposed of after the end of the p…
if condition "name global variable == " then enter the subroutineHi, I am trying to come up with an "if condition" that would allow me to enter parts of the code if…
Subscribe to:
Post Comments (Atom)
0 Response to How to use tabstat's "format" option with estpost? Getting Error
Post a Comment