Yesterday I realized that I have to set type to double before doing "gen" for large numeric variable. If I didn't realize this and published my research, it would have been really damaging.
Because research accuracy is the absolutely priority, I am now doing
set type double, permanently
for my codes.
But this will make my data to become too big, which is already too big. If there a command (as an alternative to gen and egen) that will save as double if the numeric is larger than, say, 5 digits?
Related Posts with Is there an alternative to gen and egen that will save as double if the number is large?
putdocx table - formatting numerical dataI am using putdocx table. Can I get columns formatted differently, some columns with numbers with 1 …
testing mixed model assumptionsHi everyone, I'm using mixed models the first time and I've got problems checking the model assumpt…
obtainning negative values when calculating elapsed minutes or substracting dateshi, i am from chile so escuse my english please. I am trying to obtain waiting times between dates/t…
Generate variable: optimisation based on constraint defined by other variablesDear Stata users, I'm running Stata 15.1, and would like to generate a variable the values of which…
Reference to other rowsDear all, I have a table (that results from dependency parsing) with some rows referencing to other …
Subscribe to:
Post Comments (Atom)
0 Response to Is there an alternative to gen and egen that will save as double if the number is large?
Post a Comment