Hello~
I`m not sure what the problen is with my code
but I have created 2 datasets and they both have the same date variable in the same format.
but when I try to merge the two, for some reason they are matched weirdly
and when I try to check with the tab function I get this really weird reults
| hml_group
smb_group | 1 2 3 4 5 | Total
-----------+-------------------------------------------------------+----------
1 | 5,587 0 0 0 0 | 5,587
2 | 0 5,587 0 0 0 | 5,587
3 | 0 0 5,587 0 0 | 5,587
4 | 0 0 0 5,587 0 | 5,587
5 | 0 0 0 0 5,587 | 5,587
-----------+-------------------------------------------------------+----------
Total | 5,587 5,587 5,587 5,587 5,587 | 27,935
so i`m guessing the merge function is the problem
any help please
I`m not sure what the problen is with my code
but I have created 2 datasets and they both have the same date variable in the same format.
but when I try to merge the two, for some reason they are matched weirdly
and when I try to check with the tab function I get this really weird reults
| hml_group
smb_group | 1 2 3 4 5 | Total
-----------+-------------------------------------------------------+----------
1 | 5,587 0 0 0 0 | 5,587
2 | 0 5,587 0 0 0 | 5,587
3 | 0 0 5,587 0 0 | 5,587
4 | 0 0 0 5,587 0 | 5,587
5 | 0 0 0 0 5,587 | 5,587
-----------+-------------------------------------------------------+----------
Total | 5,587 5,587 5,587 5,587 5,587 | 27,935
so i`m guessing the merge function is the problem
any help please

Comment