Dear Statalists,
I have a few numbers in my dta which I would like them to remain in this format (rounded to 1 decimal place) in tex file:
Average 14.0 5.2 3.5 10.5 50.4 26.8 28.9
However, when I export it to tex using "logout,save($filename) tex replace", it became:
Average & 14 & 5.200 & 3.500 & 10.50 & 50.40 & 26.80 & 28.90 \\ \hline
I wondered why this happened (maybe due to the notorious Stata approximation of numbers) and how I can correct it.
Thanks a lot!
--
Problem solved using "logout,save($filename) tex replace dec(1)"!
Welcome other suggestions too!
Related Posts with Decimal places control when exporting to tex file using logout
command _qregtrace is unrecognizedWhen I used command "grqreg" to graph quantile regressions, I got error saying "command _qregtrace i…
Hansen test for xtdpdsysHi. I am fairly new to stata but can anyone tell me how I can get the Hansen j statistics after usin…
placebo analysis: time falsification and location falsificationHi , My variable of interest is an indicator variable (LAW) that equals 1 if a firm is in a state h…
How to deal with Likert Scale Variables as 101 StatalistHello guys, I have done some Google research regarding my topic and he brought me here. I actually f…
The estimate significant level of XTSURDo you think it is normal to have ALL variables extremely significant like p < 0.000? After I ran…
Subscribe to:
Post Comments (Atom)
0 Response to Decimal places control when exporting to tex file using logout
Post a Comment