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?
panel regression analysis and skewed dataI am working with panel data and use xtlogit command to conduct multivariate regression analysis. Fo…
Five-Year Running Average by Country-YearHi all, I'm a new user to Stata. I have a dataset with a variable for different countries and years,…
XTSCC does not allow interactionsHi all, I am trying to use xtscc in interaction and Stata won't recognize the command. This issue w…
How to obtain a value corresponding to the max value of another variableHi, How can I find the largest salesvalue number that would link me to the store name? Store Nam…
Omission of age in fixed effect regressionHello I am using the South African National Income Dynamics Survey (NIDS) panelset (waves 1 to 5). …
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