Dear all,
I am running Stata15. I have the following simple truncated results:
Code:
. tab beta author
| author
beta | 0 1 2 | Total
-----------+---------------------------------+----------
0 | 25 6 11 | 42
.025 | 0 5 17 | 22
.025 | 38 0 0 | 38
...
.925 | 0 0 1 | 1
.925 | 2 0 0 | 2
.975 | 0 2 6 | 8
.975 | 31 0 0 | 31
1 | 57 2 7 | 66
-----------+---------------------------------+----------
Total | 408 61 143 | 612
As one can see, the beta column, which is numeric (double) displays twice the same value. One is allocated to author 0 (second line of each beta value) while the other occurrence (the first) is allocated to author 1 and 2. There obviously should be only one line per beta value and I do not know what generates this issue. Authors 1 and 2 were stored in different databases that I appended to the main data-set (author 0). May this have create this issue? How can I solve the issue? My apologies if this is regarded as a simple beginner problem.
0 Response to Falsely identical numerical values in tabulate by group
Post a Comment