I'm running Stata 15.1 on OSX. I'm working with a cumulative longitudinal dataset (the American National Election Studies 1948-2016 datafile). It includes a variable measuring household internet for the years 1996-2008. I'd like to merge these data for the years 2012 and 2016 from the individual cross-sectional datasets using the common caseids. I thus created two 'merge' datasets containing the desired variables. I then sorted all datasets by caseid and year. When I ran the merge....:
Code:
merge 1:1 caseid year using "/Users/zachgoldberg/Documents/anes12-internetvars.dta"
Array
When I tabulate the supposedly merged variable, however...:
Code:
tab netaccess
Can anyone tell me why this might be/is happening? Thank you for your time!
0 Response to merge problem: observations are matched but I get 'no observations' for variables of interest
Post a Comment