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
Margins Plot Scale Problem (on x-axis)Dear all, I am having a difficult time correcting an x-axis scale for marginsplot command. I want t…
Stata module tstfHi, I am using Stata 12 and am trying to run intervention analysis using a package called tstf deve…
Multiple-answer questions: When to reduce multivariate to univariate probit?Problem description Assume there are individuals j who each need to choose from two alternatives i=…
Average values of dependent variableHi everyone, I have one question which is a little bit harder to explain but I will give my best. …
Problem with 11x11 correlation matrix in SEMHi All, I am trying to run an SEM model with specified number of observations, means, SDs, and corr…
Subscribe to:
Post Comments (Atom)
0 Response to Merging two data files
Post a Comment