Newbie here.
I am trying to merge two files - one is a headteacher survey from 200 schools. The second is a parent survey carried out with 6 parents from 60 schools (so 360 observations in total) randomly selected from the 200. Both have the variable SchoolName as the identifier.
I have tried the following:
Using the parent file as the master one and the command "merge 1:m SchoolName using" the parent file. I've also tried the command merge m:1. It keeps returning the message "that variable SchoolName does not uniquely identify observations".
I have searched for duplicates and found none.
I've checked SchoolName is stored as a number in both files.
Thank you for your help.
Related Posts with Merging two data files
program mimrgns already defined (error occurred while loading MIMRGNS.ado)Hi Statalisters, I have mi data and I want to obtaing ajusted mean and CI after "mi estimate, post:…
Using the LR test to discriminate between a random intercepts and a random slopes multilevel modelHi all. I have Brazilian survey data with political and socio-economic variables. To this dataset, I…
skewed GARCHHello Statalist, I'm a Ph.D student and I'm currently working on my project, basically I'm trying to…
help with -esttab- (how to show variable names in csv output)Hello, I recently learned how to use -esttab- to export my regression output in csv format but I ca…
Generalized/Staggered DiD w/ state variationHello all, I'm considering running a generalize/staggered differences-in-differences model to analy…
Subscribe to:
Post Comments (Atom)
0 Response to Merging two data files
Post a Comment