MERGING DATA FILES IN SPSS HENK VAN DER

  • Slides: 12
Download presentation
MERGING DATA FILES IN SPSS HENK VAN DER KOLK

MERGING DATA FILES IN SPSS HENK VAN DER KOLK

AIM Merging datamatrices in SPSS 2

AIM Merging datamatrices in SPSS 2

WHEN DO WE NEED TO MERGE DATAFILES? I. Same units of observation, other variables

WHEN DO WE NEED TO MERGE DATAFILES? I. Same units of observation, other variables (Example: two different surveys with the same respondents) II. Similar units of observation, the same variables (Example: two identical surveys with other respondents) III. Both 3

SAME UNITS, OTHER VARIABLES e d I i f i nt o i t

SAME UNITS, OTHER VARIABLES e d I i f i nt o i t ca o n e h ft n u Variables 11 -20 n i it Units A-G Variables 1 -10 h t o b s e fil 6/17/2021 4

SIMILAR UNITS, SAME VARIABLES s e Units A-G Variables 1 -10 l b n

SIMILAR UNITS, SAME VARIABLES s e Units A-G Variables 1 -10 l b n e m a a i r a Variables 1 -10 v e Units H-Z S m a 5

SIMILAR & SAME UNITS, SAME & OTHER VARIABLES Variables 5 -15 Units F-X Units

SIMILAR & SAME UNITS, SAME & OTHER VARIABLES Variables 5 -15 Units F-X Units A-G Variables 1 -10 6

Menu Data(matrix) (. sav) or Syntax file (. sps) Output (. spv)

Menu Data(matrix) (. sav) or Syntax file (. sps) Output (. spv)

Menu Data(matrix) (. sav) or Transforming the data matrix Syntax file (. sps)

Menu Data(matrix) (. sav) or Transforming the data matrix Syntax file (. sps)

Things that can go wrong § Datafiles do not contain similar units of observation

Things that can go wrong § Datafiles do not contain similar units of observation § Datafiles with similar units only contain other variables § Datafiles with similar units and some identical variables use other variable names 9

Variables 1 -10 Variables 11 -20 Units at level 2 Units at level 1

Variables 1 -10 Variables 11 -20 Units at level 2 Units at level 1 OTHER UNITS, OTHER VARIABLES 6/17/2021 10

WHEN DO WE NEED TO MERGE DATAFILES? IV. Nested units (Example: adding information about

WHEN DO WE NEED TO MERGE DATAFILES? IV. Nested units (Example: adding information about municipalities to individuals living in these municipalities) 11

MERGING DATA FILES IN SPSS 12 Footer text: to modify choose ‘Insert’ (or ‘View’

MERGING DATA FILES IN SPSS 12 Footer text: to modify choose ‘Insert’ (or ‘View’ for office 6/17/2021 2003 or earlier) then ‘Header and Footer’