Journeys in Survey Research

  • Welcome
  • ​​Important notice
  • About the author
    • John F Hall: Career profile
    • John F Hall: Extra-curricular professional and political activities
  • About this site
    • What people have said about this site
    • Latest additions and modifications
    • How to use this site
  • Site guide + Search box
  • Dedications
  • Acknowledgments
    • Unsung heroes in support services
  • My personal pantheon (of the great and the good in survey research)
    • Mark Abrams >
      • Abrams publications
      • An interview with Mark Abrams (transcripts)
      • An interview with Mark Abrams (audio files)
      • Mark Abrams Prize
    • Angus Campbell >
      • SRU garden reception for Angus Campbell
    • Cathie Marsh
    • Tony Coxon
    • Roger Jowell
    • James A Davis
    • Norman Nie
  • Recent and planned activities
  • Textbooks for Research Methods and Data Analysis
    • Textbooks: SPSS >
      • Highly recommended SPSS textbooks >
        • McInnes (2017) >
          • MacInnes, Chapter 4:​ Getting Started with SPSS
          • MacInnes, Chapter 5 Dealing with Data Documentation
          • MacInness 2017 (Web links)
        • Marsh and Elliott (2008)
        • Sweet and Grace-Martin 2012
        • Babbie, Halley, Wagner and Zaino 2013
        • Babbie, Wagner and Zaino 2019
        • Julie Pallant, SPSS Survival Manual
        • Andy Field
        • Boslaugh 2005
        • McCormick & Salcedo (2015)
        • McCormick & Salcedo (2017)
      • SPSS textbooks worth a look >
        • Hy (1977)
      • On-line SPSS textbooks
      • Textbooks requested or awaiting review
    • Textbooks: Statistics for Social Research >
      • de Vries 2018
      • Bergin (2018)
    • Textbooks: Survey Methods >
      • Crouch & Housden (2003)
      • Andres (2012)
      • Blair, Czala and Blair (2014)
      • de Vaus (2014)
      • Hoinville, Jowell et al (1977)
      • Marsden & Wright [Eds] (2010) >
        • Contributors to Handbook of Survey Research
      • Marsh (1982)
      • Moser & Kalton (1971)
      • Oppenheim (1992)
      • Pallant 2016
    • Textbooks: Data curation and sharing >
      • Corti et el (2014)
  • 1: Survey Analysis Workshop (SPSS)
    • What is SPSS?
    • SPSS Without Tears >
      • My first time: in at the SPSS deep end (1972)
    • Introduction to Survey Analysis Workshop (SPSS) >
      • IBM® SPSS® Statistics (Overview)
      • Note on SPSS tutorials on this site
      • Background to current project >
        • Author's note
      • SPSS versions used
      • Stata and SPSS
    • Summary guide to SPSS tutorials >
      • Block 1: From questionnaire to SPSS saved file
      • Block 2: Analysing one variable >
        • 2.1: Nominal and ordinal variables
        • 2.2: Interval scale variables
        • 2.3: Data transformations
      • Block 3: Analysing two variables (and sometimes three) >
        • 3.1 Two variables (CROSSTABS)
        • 3.2 Three (or more) variables
        • 3.3 Multiple response (MULT RESPONSE)
        • 3.4 Conditional data transformations (IF and DO IF)
        • 3.5 Derived variables (COUNT and COMPUTE) >
          • 3.5.1 Introduction to COUNT and COMPUTE
          • 3.5.2 Teenage Attitudes (Tutorials)
      • Block 4: Hypothesis testing
      • SPSS files and documentation used for tutorials and exercises >
        • Data sets used in Survey Analysis Workshop >
          • British Social Attitudes
          • Pre-course questionnaire on interests and experience
          • Quality of Life in Britain
    • Useful links for SPSS >
      • On-line SPSS Intros and tutorials
      • SPSS courses
  • 1a: Statistical concepts and methods
  • 1b: Teaching with Survey Data
    • SN 28: Relative Deprivation and Social Justice 1962-63
  • 1c: Developing research projects using survey data
  • 1d: Workshop and presentations for ASSESS (SPSS users in Europe)
    • Old Dog, Old Tricks: Using SPSS syntax to beat the mouse-trap
    • The Beginners' Guide to Survey Analysis Using SPSS
    • Close Encounters of the Fourth Kind: working with alien SPSS files
    • ASSESS 2014 Links to Contents
  • 2: Survey Research Practice
    • SR 502: Survey Research Practice (1976 - 1992)
    • Courses in Survey Methods >
      • (United Kingdom) Degrees, diplomas and certificates
      • (USA & Canada) Degrees, diplomas and certificates in survey research
      • Summer schools for survey methods
      • Short courses for survey research
    • Opinion polls >
      • Election poll débâcles
    • Web-based resources for survey research >
      • Survey Resources Network
      • On-line surveys
      • Question Banks
      • Survey methods guides and tutorials
      • Clips, tips and blogs
    • Useful links for Survey Research
  • 2a: Survey Research Methodology, Practice and Training
    • The place of survey research in the social sciences
    • Survey Research and Social Action
    • Academic centres specialising in survey research >
      • United Kingdom
      • USA and Canada
      • Europe
    • Professional and Voluntary Associations
    • Survey research organisations
    • Journals for survey research
    • Articles on survey research
  • 2b: Major survey series
    • United Kingdom (Major survey series: academic and other) >
      • British Social Attitudes >
        • British Social Attitudes: ​Exploring the SPSS files >
          • British Social Attitudes 1983 onwards: Cumulative SPSS file
          • British Social Attitudes: Making files from different years compatible
    • United Kingdom (Major survey series: government) >
      • ONS National Well-being
    • Europe (Major survey series)
    • USA (Major survey series)
  • 3: Subjective Social Indicators (Quality of Life)
    • Quality of Life: Measurement and methodology
    • Measures of psychological well-being
    • Values and Quality of Life
    • SSRC Survey Unit Quality of Life in Britain surveys 1971-1975 >
      • Abstracts, data and documentation
      • Publications based on the SSRC Quality of Life in Britain surveys >
        • Bibliography for Quality of Life in Britain and related surveys
        • Quality of Life of the Elderly in Residential Care
      • Surveys in schools >
        • "Trinians" survey
        • Playground to Politics
  • 4: Survey Unit, Social Science Research Council (UK)
    • Surveys by SSRC Survey Unit
    • Publications: SSRC Survey Unit
    • Courses, Conferences and Seminars
  • 5a: Polytechnic of North London (1976-1992)
  • 5b: Survey Research Unit (1978-1992)
    • SRU Student publications
    • Training courses in survey methods
    • The place of SRU within PNL >
      • Director's Working Group on the Survey Research Unit
  • Village life in Normandy
    • Notre Dame de Cenilly >
      • Fête St Clair 2007
      • Fête St Clair 2010
      • Fête St Clair 2012 National pedal-car championships
      • La Noslière de Bas
    • War and Peace in N D de Cenilly >
      • Armistice Day
      • German Occupation (1940 - 1944)
      • D-Day (6th June 1944) >
        • D-Day ceremony 9 June 2013
        • D-Day 70th Anniversary 2014
        • Lancaster bomber crew (Memorial Ceremony 8 June 2011)
        • Lancaster bomber crew (Memorial Ceremony 8 June 2014)
        • Lancaster bomber crew (Memorial Ceremony 7 June 2015)
        • Lancaster bomber crew ​(Memorial ceremony 5 June 2016)
      • Liberation July 1944 >
        • Field hospital in N D de Cenilly
        • Liberation celebrations (July 2006)
        • Visit of US 2nd Armored Division veterans (2 Sep 2009)
        • Liberation celebrations 2014
        • Unveiling of new monument (13 June 2015)
        • Re-enactment camp (Gavray, 11 July 2015)
    • Midsummer music
    • Paris trip (post Brexit)
  • Contact
  • Origins of the British Crime Survey
  • British Crime Survey

3.1   Two variables (CROSSTABS)

[Page last updated 14 Sep 2017
Joint frequency distributions of two variables displayed in contingency tables. 
Dependent and independent variables: rules for percentaging.

3.1.1 Introduction to tabulation
            Recommended reading

3.1.2 Analysing two variables  [Revised 12 Sep 2017]
     Preliminary reading: progression from frequency counts via conditional frequency counts to joint
     frequency counts [contingency tables]

3.1.3 Contingency tables from SPSS 
Tabulation of two variables.   Introduction to the CROSSTABS  command.  The SPSS CROSSTABS command creates 2-way contingency tables for two variables, and nested sub-tables when  controlling for one or more test variables.  It also provides percentages based on row, column and global totals, a range of measures of statistical (non-) association and various controls over table content and format.

The tutorials below are very much beta versions as of 12th July 2013.  Getting all the reciprocal hyperlinks into uploaded files is very complex and doesn't always work, despite extensive editing.  You may need to come back to this page to access some files.

They address the research question: 

Is there a difference between the earnings (from paid work) of men and women?  What other variables might account for differences in earnings?  What other variables might affect earnings regardless of gender?  What effect do they have by themselves?  What happens to any differences in earnings between men and women when controlling for these other variables?  

3.1.4.1  Income differences work-through 
Previous exercise 2.3.1.6.2  Specimen answer for conditional frequencies homework [Tasks 3 and 4] 
produced conditional frequencies of earnings separately for men and women.  In this work-through cutting points are chosen to reduce earnings from fourteen categories to three and save them in a derived variable.  The new variable is then tabulated by sex.  Candidates for test variables are chosen and their distributions examined.

3.1.4.2  Income differences - Build working file 
Builds up a working file by reading in raw data from raw data file bsa89.txt for dependent, independent and the chosen test  variables, adding dictionary information and checking file contents.   The syntax and working files are then saved as 3.1.4.2.sps and 3.1.4.2 .sav


3.1.4.3   Income differences for test variables
Uses saved file 3.1.4.2 .sav above; reduces gross earnings  from 14 categories  to 3 : produces two-way contingency tables to display distributions of earnings within categories of the test variables.  The syntax and working files are then saved as 3.1.4.3.sps and 3.1.4.3.sav.

3.1.4.4  Income differences - Choose test variables and cutting points

Decide which test variables to use and choose cutting points; recode test variables into derived variables with fewer categories; add dictionary information. The SPSS files are saved as 3.1.4.4 sps and 3.1.4.4.sav. 

3.1.4.5  Income differences for derived test variables
Using file 3.1.4.4.sav produces two-way contingency tables to display distributions of earnings within categories of the derived test variables. 


Forward to    3.2:  Three (or more) variables
Back to         Block 3 : Analysing two variables
Back to         Block 2.3 Data transformations
Proudly powered by Weebly
  • Welcome
  • ​​Important notice
  • About the author
    • John F Hall: Career profile
    • John F Hall: Extra-curricular professional and political activities
  • About this site
    • What people have said about this site
    • Latest additions and modifications
    • How to use this site
  • Site guide + Search box
  • Dedications
  • Acknowledgments
    • Unsung heroes in support services
  • My personal pantheon (of the great and the good in survey research)
    • Mark Abrams >
      • Abrams publications
      • An interview with Mark Abrams (transcripts)
      • An interview with Mark Abrams (audio files)
      • Mark Abrams Prize
    • Angus Campbell >
      • SRU garden reception for Angus Campbell
    • Cathie Marsh
    • Tony Coxon
    • Roger Jowell
    • James A Davis
    • Norman Nie
  • Recent and planned activities
  • Textbooks for Research Methods and Data Analysis
    • Textbooks: SPSS >
      • Highly recommended SPSS textbooks >
        • McInnes (2017) >
          • MacInnes, Chapter 4:​ Getting Started with SPSS
          • MacInnes, Chapter 5 Dealing with Data Documentation
          • MacInness 2017 (Web links)
        • Marsh and Elliott (2008)
        • Sweet and Grace-Martin 2012
        • Babbie, Halley, Wagner and Zaino 2013
        • Babbie, Wagner and Zaino 2019
        • Julie Pallant, SPSS Survival Manual
        • Andy Field
        • Boslaugh 2005
        • McCormick & Salcedo (2015)
        • McCormick & Salcedo (2017)
      • SPSS textbooks worth a look >
        • Hy (1977)
      • On-line SPSS textbooks
      • Textbooks requested or awaiting review
    • Textbooks: Statistics for Social Research >
      • de Vries 2018
      • Bergin (2018)
    • Textbooks: Survey Methods >
      • Crouch & Housden (2003)
      • Andres (2012)
      • Blair, Czala and Blair (2014)
      • de Vaus (2014)
      • Hoinville, Jowell et al (1977)
      • Marsden & Wright [Eds] (2010) >
        • Contributors to Handbook of Survey Research
      • Marsh (1982)
      • Moser & Kalton (1971)
      • Oppenheim (1992)
      • Pallant 2016
    • Textbooks: Data curation and sharing >
      • Corti et el (2014)
  • 1: Survey Analysis Workshop (SPSS)
    • What is SPSS?
    • SPSS Without Tears >
      • My first time: in at the SPSS deep end (1972)
    • Introduction to Survey Analysis Workshop (SPSS) >
      • IBM® SPSS® Statistics (Overview)
      • Note on SPSS tutorials on this site
      • Background to current project >
        • Author's note
      • SPSS versions used
      • Stata and SPSS
    • Summary guide to SPSS tutorials >
      • Block 1: From questionnaire to SPSS saved file
      • Block 2: Analysing one variable >
        • 2.1: Nominal and ordinal variables
        • 2.2: Interval scale variables
        • 2.3: Data transformations
      • Block 3: Analysing two variables (and sometimes three) >
        • 3.1 Two variables (CROSSTABS)
        • 3.2 Three (or more) variables
        • 3.3 Multiple response (MULT RESPONSE)
        • 3.4 Conditional data transformations (IF and DO IF)
        • 3.5 Derived variables (COUNT and COMPUTE) >
          • 3.5.1 Introduction to COUNT and COMPUTE
          • 3.5.2 Teenage Attitudes (Tutorials)
      • Block 4: Hypothesis testing
      • SPSS files and documentation used for tutorials and exercises >
        • Data sets used in Survey Analysis Workshop >
          • British Social Attitudes
          • Pre-course questionnaire on interests and experience
          • Quality of Life in Britain
    • Useful links for SPSS >
      • On-line SPSS Intros and tutorials
      • SPSS courses
  • 1a: Statistical concepts and methods
  • 1b: Teaching with Survey Data
    • SN 28: Relative Deprivation and Social Justice 1962-63
  • 1c: Developing research projects using survey data
  • 1d: Workshop and presentations for ASSESS (SPSS users in Europe)
    • Old Dog, Old Tricks: Using SPSS syntax to beat the mouse-trap
    • The Beginners' Guide to Survey Analysis Using SPSS
    • Close Encounters of the Fourth Kind: working with alien SPSS files
    • ASSESS 2014 Links to Contents
  • 2: Survey Research Practice
    • SR 502: Survey Research Practice (1976 - 1992)
    • Courses in Survey Methods >
      • (United Kingdom) Degrees, diplomas and certificates
      • (USA & Canada) Degrees, diplomas and certificates in survey research
      • Summer schools for survey methods
      • Short courses for survey research
    • Opinion polls >
      • Election poll débâcles
    • Web-based resources for survey research >
      • Survey Resources Network
      • On-line surveys
      • Question Banks
      • Survey methods guides and tutorials
      • Clips, tips and blogs
    • Useful links for Survey Research
  • 2a: Survey Research Methodology, Practice and Training
    • The place of survey research in the social sciences
    • Survey Research and Social Action
    • Academic centres specialising in survey research >
      • United Kingdom
      • USA and Canada
      • Europe
    • Professional and Voluntary Associations
    • Survey research organisations
    • Journals for survey research
    • Articles on survey research
  • 2b: Major survey series
    • United Kingdom (Major survey series: academic and other) >
      • British Social Attitudes >
        • British Social Attitudes: ​Exploring the SPSS files >
          • British Social Attitudes 1983 onwards: Cumulative SPSS file
          • British Social Attitudes: Making files from different years compatible
    • United Kingdom (Major survey series: government) >
      • ONS National Well-being
    • Europe (Major survey series)
    • USA (Major survey series)
  • 3: Subjective Social Indicators (Quality of Life)
    • Quality of Life: Measurement and methodology
    • Measures of psychological well-being
    • Values and Quality of Life
    • SSRC Survey Unit Quality of Life in Britain surveys 1971-1975 >
      • Abstracts, data and documentation
      • Publications based on the SSRC Quality of Life in Britain surveys >
        • Bibliography for Quality of Life in Britain and related surveys
        • Quality of Life of the Elderly in Residential Care
      • Surveys in schools >
        • "Trinians" survey
        • Playground to Politics
  • 4: Survey Unit, Social Science Research Council (UK)
    • Surveys by SSRC Survey Unit
    • Publications: SSRC Survey Unit
    • Courses, Conferences and Seminars
  • 5a: Polytechnic of North London (1976-1992)
  • 5b: Survey Research Unit (1978-1992)
    • SRU Student publications
    • Training courses in survey methods
    • The place of SRU within PNL >
      • Director's Working Group on the Survey Research Unit
  • Village life in Normandy
    • Notre Dame de Cenilly >
      • Fête St Clair 2007
      • Fête St Clair 2010
      • Fête St Clair 2012 National pedal-car championships
      • La Noslière de Bas
    • War and Peace in N D de Cenilly >
      • Armistice Day
      • German Occupation (1940 - 1944)
      • D-Day (6th June 1944) >
        • D-Day ceremony 9 June 2013
        • D-Day 70th Anniversary 2014
        • Lancaster bomber crew (Memorial Ceremony 8 June 2011)
        • Lancaster bomber crew (Memorial Ceremony 8 June 2014)
        • Lancaster bomber crew (Memorial Ceremony 7 June 2015)
        • Lancaster bomber crew ​(Memorial ceremony 5 June 2016)
      • Liberation July 1944 >
        • Field hospital in N D de Cenilly
        • Liberation celebrations (July 2006)
        • Visit of US 2nd Armored Division veterans (2 Sep 2009)
        • Liberation celebrations 2014
        • Unveiling of new monument (13 June 2015)
        • Re-enactment camp (Gavray, 11 July 2015)
    • Midsummer music
    • Paris trip (post Brexit)
  • Contact
  • Origins of the British Crime Survey
  • British Crime Survey