Merge SPSS files containing duplicate records

  Рет қаралды 65,442

Chris Olson

Chris Olson

Күн бұрын

Пікірлер: 44
@saharsalehi8070
@saharsalehi8070 4 жыл бұрын
8 years later. I was so tired and I knew I could do this but I did not remember how. Many thanks for the help.
@rubacheaib
@rubacheaib 6 жыл бұрын
Been looking everywhere on a walk through for how to do this! Very useful 5 years later! Thanks so much!
@noisecabaret
@noisecabaret 2 жыл бұрын
Very useful 9 years later. Superb explanation dude.
@babyveeify
@babyveeify 7 жыл бұрын
2017 AND YOUR TUTORIAL STILL HELPED ME. THANX
@Kanundu
@Kanundu 8 жыл бұрын
Thanks. Was stuck with some datasets and this tutorial has helped me a lot. Thanks, Chris!
@ChristianHigherEd
@ChristianHigherEd 8 жыл бұрын
Glad to hear it. Happy stats
@hanzocloud
@hanzocloud Жыл бұрын
Watching in 2023. Helped me do my merge
@eeva95
@eeva95 4 жыл бұрын
Hi Chris, I'm working with a new version of SPSS and i'm trying to do what you just showed. Merge my demographics file with my datafile whilst having duplicate records in my datafile, but not in my demographics file. Do you have any idea how to get the same results? (I cant seem to click an option like 'non-active dataset is keyed table'. Thanks in advance!
@activeary
@activeary 4 жыл бұрын
Hi Eva did you seem to find a solution to this problem? I have EXACTLY the same. Hoping you can help, thank you!
@ranyan5835
@ranyan5835 2 жыл бұрын
Life-saving!! Thanks so much.
@candiceseguine2398
@candiceseguine2398 7 жыл бұрын
Say you just have the first file and you wanted to merge the duplicate cases so that you would have one entry per student but with the amount of aid added to get a total aid for that case. Can you do that in SPSS?
@TheStoneman6666
@TheStoneman6666 7 жыл бұрын
I have two files one with duplicate records the other with one record per id. the file with one record per id contains additional records that is not in the duplicate record file. when I merge the two files it matches the file with the duplicate records with the file with one record per id but because the file with duplicate records contains multiple records per id it only add the record matched from the file with one record per id to the first record in the file with duplicate records. I need for the record matched in the file with one record per id to be repeated for every record match in the file with duplicate record matched for the same id
@TheStoneman6666
@TheStoneman6666 7 жыл бұрын
I am using spss version 24
@ChristianHigherEd
@ChristianHigherEd 7 жыл бұрын
TheStoneman6666 Start from the file with the duplicate records and merge the non-dupe file into it. When going through the dialog boxes for set up look for the three radio buttons and select the one at the top. I think it reads, non-active data set has keyed variable. Finish the set-up and this should match all of the duplicate records with the matching records from the non-dupe file. I hope this helps.
@christopheryaluma3668
@christopheryaluma3668 6 жыл бұрын
Thank you very much for this helpful explanation
@wknajafi
@wknajafi 6 жыл бұрын
You are WONDERFUL
@abdullahalghamdi6402
@abdullahalghamdi6402 Жыл бұрын
what If I have duplicates in two dataset? and the valuse are numbers. I donto want the numbers to be repeated so the analysis becomes accurate. How can I do that? Thank you
@waleedkhan-sx3sm
@waleedkhan-sx3sm 8 жыл бұрын
I want to merge files with duplicate records and two keys variables, is that possible in spss?? I have a file-A & B, I want to merge variables from file B to A by using the IDs (also has duplicates in both files) and by date. File A has an id and also a complete date , File B has ID as well as Effective date( The time frame of a particular id), I want to use the id as well the date such as the date from file A also matches i-e is with in the effective date. The idea is that ids are only unique if the variables are merge with id and date.
@cin_tya
@cin_tya 7 жыл бұрын
whoaaa your video is really helpful. thanks a lot
@mattyrabbit
@mattyrabbit 9 жыл бұрын
Is it possible to merge the duplicate file into the non-duplicate file? I'm assuming this would require some sort of transposing of the duplicate file.
@ChristianHigherEd
@ChristianHigherEd 9 жыл бұрын
What did you want to end up with? Do you want the final final file to have no duplicates? Or do you want to have the file with the duplicates to have all of the data from the file without duplicates? If the former, just remove the duplicates from the one file and then merge. If the latter, this video should make that happen. I hope this helps.
@lisagroeticke2431
@lisagroeticke2431 7 жыл бұрын
Thanks for this, but I hve another problem: How do you merge data from a repeated measures design where you have two key variables (person and time)? I can't put both in ascending order, so I keep getting error messages. so greatful for any hints
@ChristianHigherEd
@ChristianHigherEd 7 жыл бұрын
Lisa Groeticke You might try concatenating the person and time variables into one new variable and then merging with the new variable as the key.
@anescesko4353
@anescesko4353 10 жыл бұрын
Hi, I was wondering how you would merge two files with duplicates in both.
@ChristianHigherEd
@ChristianHigherEd 10 жыл бұрын
I don't know if SPSS has that capability. I have never done that. Sorry.
@Holmesymom
@Holmesymom 10 жыл бұрын
SAS can do many-to-many, if SPSS can't. v8doc.sas.com/sashtml/lrcon/z1107839.htm
@shuzhanyang7627
@shuzhanyang7627 9 жыл бұрын
Thanks! So useful!
@MrandMissConverted
@MrandMissConverted 10 жыл бұрын
What if a few cases are missing from one of the datasets?
@chrisolson6434
@chrisolson6434 10 жыл бұрын
The missing records will not match, but the rest will merge.
@anandameher9304
@anandameher9304 6 жыл бұрын
hello, i have a problem of duplicate data set. if i want to add offered value of duplicate case of each individual (in ur video) How do i add different offered value ?
@ChristianHigherEd
@ChristianHigherEd 6 жыл бұрын
Ananda Meher I'm sorry but I don't understand the question. Would you please rephrase.
@rimapathak4570
@rimapathak4570 9 жыл бұрын
What happens if there are fewer cases in 1 file than the other?
@ChristianHigherEd
@ChristianHigherEd 9 жыл бұрын
cases or records that don't find a match in the merge will still be included in the new data set, but they will not be connected to a record. I find all of these unmatched records and delete them. The way I do this is in the data view I pick a column of data in the new data set and do a descending sort. This will put all of the unmatched records at the bottom of the data. Then I just delete them. When you do the descending sort, be sure to use a variable that was part of the duplicate records database set.
@808islandlife_HI
@808islandlife_HI 5 жыл бұрын
@@ChristianHigherEd Do you happen to know if this is true with v26? I did a one to many merge and it seems like the unmatched records were dropped from the final dataset.
@ChristianHigherEd
@ChristianHigherEd 5 жыл бұрын
@@808islandlife_HI Sorry, I only have v24, but it works in that version. Good luck.
@Lina-lj2io
@Lina-lj2io 7 жыл бұрын
THANK YOUUUUU!!!!
@asbj89
@asbj89 8 жыл бұрын
wonderful
@johnbaker3732
@johnbaker3732 6 жыл бұрын
Thank you so much!
@basic_steps
@basic_steps 2 жыл бұрын
Nice
@danielyanV
@danielyanV 10 жыл бұрын
Thanks
@chrisstaley7442
@chrisstaley7442 6 жыл бұрын
this doesn't work at all
@chrisstaley7442
@chrisstaley7442 6 жыл бұрын
I take that back! thank you so much this is awesome. I was messed up because i missed the check the duplicate records step. great stuff
How to Merge Databases in SPSS - Longitudinal Data
7:02
Dr. Joshua Wilson
Рет қаралды 16 М.
How to merge files in SPSS
5:42
Smart Vision Europe
Рет қаралды 148 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Merge SPSS files
4:48
Chris Olson
Рет қаралды 124 М.
Creating a New or Combined Variable Using SPSS
3:36
Arthur Bangert
Рет қаралды 263 М.
Combining Datasets in SPSS
5:01
Siobhan O'Toole
Рет қаралды 153 М.
Restructure SPSS data from long to wide format
4:06
Scott Parrott
Рет қаралды 74 М.
Identifying Outliers in SPSS
10:13
Dr. Todd Grande
Рет қаралды 108 М.
Import Data from Microsoft Excel into SPSS
13:37
Dr. Todd Grande
Рет қаралды 426 М.
The Aggregate Function in SPSS
11:11
Dr. Todd Grande
Рет қаралды 57 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН