Hello all
I am encountering a strange issue while appending two datasets. These do not have any unique identification variable in common.
When I append a DTA file into the main dataset through append using command, it adds the new dataset with same names but different values and labels. I am not sure why this is happening. I ran the appended dataset on its own and it seems fine but when appended to the main data the column changes values..
I have attached two snaps:-
1) Data of second dataset on its own (questions CQ7_1, CQ7_2 etc)
2) Data of second dataset when appended (questions CQ7_1, CQ7_2 etc)
The responses in the columns before and also have also changed/shifted.
Please help me fix this problem.. totally clueless
There are 307 var on main dataset and 251 var on second dataset with total obs 180. I use Stata/BE 17.0
I am encountering a strange issue while appending two datasets. These do not have any unique identification variable in common.
When I append a DTA file into the main dataset through append using command, it adds the new dataset with same names but different values and labels. I am not sure why this is happening. I ran the appended dataset on its own and it seems fine but when appended to the main data the column changes values..
I have attached two snaps:-
1) Data of second dataset on its own (questions CQ7_1, CQ7_2 etc)
2) Data of second dataset when appended (questions CQ7_1, CQ7_2 etc)
The responses in the columns before and also have also changed/shifted.
Please help me fix this problem.. totally clueless
There are 307 var on main dataset and 251 var on second dataset with total obs 180. I use Stata/BE 17.0
Comment