SlideShare a Scribd company logo
HOW TO RECODE THE AGE
VARIABLE
in SPSS
Ruth M. Tappin © 2013
1
Permission is granted for the use of this presentation for any purpose.
Please attribute according to appropriate APA, MLA or other formatting
conventions
Precautionary Message:
2
 After re-coding, please remember to choose the right measurement for
your new variable!
 NOTE: Check the codes for your missing values. You may have to recode
those if you have the Silent Generation in the 90 range, for example.
 You will have to decide if you will include them, or treat them as outliers
and possibly select them out.
 The generational groups are:
 GenY = 18 – 27
 GENX = 28 (NOT 27) – 43
 Boomers = 44 – 60
 Traditional (Silent) = 61 – * (89 was actually chosen as a cut-off date for this group see
notes below)
Step 1: Click on highlighted areas
3
•You will see this box
•Choose the variable that you want to recode. In this case, AGE
4
1) Type a new name for the variable, e.g. “age1”
2) Under label type “Age Recoded to Generational Groups”
3) Click on “Change”
4) Click on “Old and New Values”
5
This window will open. The two value buttons will be highlighted. Leave as
is. The old value one will disappear after the subsequent choice.
6
a) Click on “Range”. Type in “18”
b) and “27” as shown. This is the age range for Generation Y
c) In “Value” box, type in 1
d) Click on “Add” button. This will bring you to the next screen.
7
• The age range of 18 thru 27 has now been transferred to the Old -> New window
• Add another range (e.g. 28 through 43, which is Generation X). Click “ADD”
• Type “2” in Value box, under “NEW Value”
• Repeat for each range of years. Number each group consecutively
8
The third age range of 44 – 60 is shown.
This range will be added when you click “Add”
9
10
Follow the previous procedures and you will get the following result.
Click on “Continue”. You will return to the original “Recode into New Variables”
window (next slide)
Click “OK”
11
You will get this syntax read out that tells you what you just did.
12
• Click on the “Variable View” at the bottom of your screen and scroll all the way down
• You will see the new variable “age1”
• NOTE!! Save your data under a new name! (e.g. GSS1-2006_Recoded)
13
Look at the highlighted area under “Values”.
Click on it. A blue button will appear.
Click on the blue button. A new window will appear.
14
This is where each age group will be labeled
15
16
Type “1” for the first label (genY).
Click “Add”
17
• In “Value” box type “2”. In “Label” box type “genX”
• NEXT: In “Value” box type “3”. In “label box” type “genBoom”
• NEXT: In “Value” box type “4”. In “label box” type “genTrad/Slnt”
• Click on “OK”
• NOTE: If you need to change or remove something, click of the item and make
choice
18
• All labels have now been entered
•Click “OK”. You will return to the “Variable View” window
19
• At the “Variable View”
• Click on blue button that will appear in the highlighted “Label” box
• You will see the labels for each of the values
• You will now run a Frequency analysis…
20
• Go to “Analyze”
• Choose “Descriptive” > “Frequencies”
21
Scroll down to the bottom of the variables list.
Choose “Age Recoded…”
Transfer to “Variable(s)” window
You will come to the next screen
22
Click on “OK”
(This is just a quick check, do not choose any frequencies to run)
NOTE: Measurement level on Age Recoded has not been changed.
23
Congratulations!! You have now learned how to recode variables into
groups with specified ranges!
(Please read the cautionary message in the next slide)
NOTE: Remember to choose the appropriate measurement level for
age1 before actually running any analyses!
CAUTIONARY MESSAGE!
24
 Please remember to choose the right measurement for
your new “age1” variable!
The generational groups are:
GenY = 18 – 27
GENX = 28 – 43
Boomers = 44 – 60
Traditional (Silent) = 61 – *
 NOTE: You may have to choose an end range for the
Traditional/Silent Generation grouping.
 NOTE: Check the codes for missing values in your dataset.
You may have to recode those so that they will not conflict
with ages that are 90+ (see NOTES section in this slide).

More Related Content

What's hot

Spss
SpssSpss
Sentiment Analysis with NVivo 11 Plus
Sentiment Analysis with NVivo 11 PlusSentiment Analysis with NVivo 11 Plus
Sentiment Analysis with NVivo 11 Plus
Shalin Hai-Jew
 
SPSS an intro...
SPSS an intro...SPSS an intro...
SPSS an intro...Jithin Zcs
 
Basic guide to SPSS
Basic guide to SPSSBasic guide to SPSS
Basic guide to SPSS
paul_gorman
 
16 descriptive statistics
16 descriptive statistics16 descriptive statistics
16 descriptive statistics
AASHISHSHRIVASTAV1
 
Software packages for statistical analysis - SPSS
Software packages for statistical analysis - SPSSSoftware packages for statistical analysis - SPSS
Software packages for statistical analysis - SPSS
ANAND BALAJI
 
6 measurement & scaling
6  measurement & scaling6  measurement & scaling
6 measurement & scalingarjeskay
 
Introduction To SPSS
Introduction To SPSSIntroduction To SPSS
Introduction To SPSSPhi Jack
 
Data organization
Data organizationData organization
Data organization
rowell balala
 
An Introduction to SPSS
An Introduction to SPSSAn Introduction to SPSS
An Introduction to SPSS
Rajesh Gunesh
 
Descriptive Analysis in Statistics
Descriptive Analysis in StatisticsDescriptive Analysis in Statistics
Descriptive Analysis in Statistics
Azmi Mohd Tamil
 
Confirmatory Factor Analysis Presented by Mahfoudh Mgammal
Confirmatory Factor Analysis Presented by Mahfoudh MgammalConfirmatory Factor Analysis Presented by Mahfoudh Mgammal
Confirmatory Factor Analysis Presented by Mahfoudh MgammalDr. Mahfoudh Hussein Mgammal
 
Student's T-test, Paired T-Test, ANOVA & Proportionate Test
Student's T-test, Paired T-Test, ANOVA & Proportionate TestStudent's T-test, Paired T-Test, ANOVA & Proportionate Test
Student's T-test, Paired T-Test, ANOVA & Proportionate Test
Azmi Mohd Tamil
 
Measure of central tendency
Measure of central tendencyMeasure of central tendency
Measure of central tendencymauitaylor007
 
Spss presentation
Spss presentationSpss presentation
Spss presentation
Kabir Khan
 
Non parametric presentation
Non parametric presentationNon parametric presentation
Non parametric presentation
Murad Khan Buneri
 
The mann whitney u test
The mann whitney u testThe mann whitney u test
The mann whitney u test
Regent University
 
Statistical analysis using spss
Statistical analysis using spssStatistical analysis using spss
Statistical analysis using spssjpcagphil
 
Descriptive Statistics
Descriptive StatisticsDescriptive Statistics
Descriptive Statistics
CIToolkit
 

What's hot (20)

Spss
SpssSpss
Spss
 
Sentiment Analysis with NVivo 11 Plus
Sentiment Analysis with NVivo 11 PlusSentiment Analysis with NVivo 11 Plus
Sentiment Analysis with NVivo 11 Plus
 
SPSS an intro...
SPSS an intro...SPSS an intro...
SPSS an intro...
 
Basic guide to SPSS
Basic guide to SPSSBasic guide to SPSS
Basic guide to SPSS
 
16 descriptive statistics
16 descriptive statistics16 descriptive statistics
16 descriptive statistics
 
Software packages for statistical analysis - SPSS
Software packages for statistical analysis - SPSSSoftware packages for statistical analysis - SPSS
Software packages for statistical analysis - SPSS
 
6 measurement & scaling
6  measurement & scaling6  measurement & scaling
6 measurement & scaling
 
Introduction To SPSS
Introduction To SPSSIntroduction To SPSS
Introduction To SPSS
 
Data organization
Data organizationData organization
Data organization
 
An Introduction to SPSS
An Introduction to SPSSAn Introduction to SPSS
An Introduction to SPSS
 
Introduction to EpiData
Introduction to EpiDataIntroduction to EpiData
Introduction to EpiData
 
Descriptive Analysis in Statistics
Descriptive Analysis in StatisticsDescriptive Analysis in Statistics
Descriptive Analysis in Statistics
 
Confirmatory Factor Analysis Presented by Mahfoudh Mgammal
Confirmatory Factor Analysis Presented by Mahfoudh MgammalConfirmatory Factor Analysis Presented by Mahfoudh Mgammal
Confirmatory Factor Analysis Presented by Mahfoudh Mgammal
 
Student's T-test, Paired T-Test, ANOVA & Proportionate Test
Student's T-test, Paired T-Test, ANOVA & Proportionate TestStudent's T-test, Paired T-Test, ANOVA & Proportionate Test
Student's T-test, Paired T-Test, ANOVA & Proportionate Test
 
Measure of central tendency
Measure of central tendencyMeasure of central tendency
Measure of central tendency
 
Spss presentation
Spss presentationSpss presentation
Spss presentation
 
Non parametric presentation
Non parametric presentationNon parametric presentation
Non parametric presentation
 
The mann whitney u test
The mann whitney u testThe mann whitney u test
The mann whitney u test
 
Statistical analysis using spss
Statistical analysis using spssStatistical analysis using spss
Statistical analysis using spss
 
Descriptive Statistics
Descriptive StatisticsDescriptive Statistics
Descriptive Statistics
 

Similar to Recode Age Variable in SPSS

Spss guideline
Spss guidelineSpss guideline
Spss guidelineASDFGGK
 
Introduction to spss 1
Introduction to spss 1Introduction to spss 1
Introduction to spss 1
Michael Taiwo
 
multiple linear regression in spss (procedure and output)
multiple linear regression in spss (procedure and output)multiple linear regression in spss (procedure and output)
multiple linear regression in spss (procedure and output)
Unexplord Solutions LLP
 
Sampling
SamplingSampling
Sampling
alifadakar1
 
SPSS PRESENTATION.PPT.pptx
SPSS PRESENTATION.PPT.pptxSPSS PRESENTATION.PPT.pptx
SPSS PRESENTATION.PPT.pptx
BMmugal
 
Easy Pivot Tutorial June 2020
Easy Pivot Tutorial June 2020Easy Pivot Tutorial June 2020
Easy Pivot Tutorial June 2020
Adhi Wikantyoso
 
111249-140817070204-phpapp02.pdf
111249-140817070204-phpapp02.pdf111249-140817070204-phpapp02.pdf
111249-140817070204-phpapp02.pdf
BMmugal
 
Tutorial of SPSS
Tutorial of SPSSTutorial of SPSS
Tutorial of SPSS
nidashahzad3
 
This image appears when a project instruction has changed to accommo.docx
This image appears when a project instruction has changed to accommo.docxThis image appears when a project instruction has changed to accommo.docx
This image appears when a project instruction has changed to accommo.docx
juan1826
 
spss intro.ppt
spss intro.pptspss intro.ppt
spss intro.ppt
KENNEDY GITHAIGA
 
Poli_399_Tutorial_Week_Three_-_Sept_29th_(2)
Poli_399_Tutorial_Week_Three_-_Sept_29th_(2)Poli_399_Tutorial_Week_Three_-_Sept_29th_(2)
Poli_399_Tutorial_Week_Three_-_Sept_29th_(2)christineshearer
 
Spss beginners
Spss beginnersSpss beginners
Spss beginners
Silam Barasan
 
Material 1 introduction to eviews
Material 1 introduction to eviewsMaterial 1 introduction to eviews
Material 1 introduction to eviews
Dr. Vignes Gopal
 
I need this done ASAP, You have to have SPSS Software on your comput.docx
I need this done ASAP, You have to have SPSS Software on your comput.docxI need this done ASAP, You have to have SPSS Software on your comput.docx
I need this done ASAP, You have to have SPSS Software on your comput.docx
anthonybrooks84958
 
Spss notes
Spss notesSpss notes
Spss notes
sitifatimahcheosmi
 
Introduction to spss 2
Introduction to spss 2Introduction to spss 2
Introduction to spss 2
Michael Taiwo
 
Spss (1)
Spss (1)Spss (1)
Spss (1)
Shahadat Hossen
 

Similar to Recode Age Variable in SPSS (20)

Spss guideline
Spss guidelineSpss guideline
Spss guideline
 
Introduction to spss 1
Introduction to spss 1Introduction to spss 1
Introduction to spss 1
 
multiple linear regression in spss (procedure and output)
multiple linear regression in spss (procedure and output)multiple linear regression in spss (procedure and output)
multiple linear regression in spss (procedure and output)
 
(Manual spss)
(Manual spss)(Manual spss)
(Manual spss)
 
Sampling
SamplingSampling
Sampling
 
SPSS PRESENTATION.PPT.pptx
SPSS PRESENTATION.PPT.pptxSPSS PRESENTATION.PPT.pptx
SPSS PRESENTATION.PPT.pptx
 
Easy Pivot Tutorial June 2020
Easy Pivot Tutorial June 2020Easy Pivot Tutorial June 2020
Easy Pivot Tutorial June 2020
 
111249-140817070204-phpapp02.pdf
111249-140817070204-phpapp02.pdf111249-140817070204-phpapp02.pdf
111249-140817070204-phpapp02.pdf
 
Tutorial of SPSS
Tutorial of SPSSTutorial of SPSS
Tutorial of SPSS
 
This image appears when a project instruction has changed to accommo.docx
This image appears when a project instruction has changed to accommo.docxThis image appears when a project instruction has changed to accommo.docx
This image appears when a project instruction has changed to accommo.docx
 
spss intro.ppt
spss intro.pptspss intro.ppt
spss intro.ppt
 
Poli_399_Tutorial_Week_Three_-_Sept_29th_(2)
Poli_399_Tutorial_Week_Three_-_Sept_29th_(2)Poli_399_Tutorial_Week_Three_-_Sept_29th_(2)
Poli_399_Tutorial_Week_Three_-_Sept_29th_(2)
 
Spss beginners
Spss beginnersSpss beginners
Spss beginners
 
Material 1 introduction to eviews
Material 1 introduction to eviewsMaterial 1 introduction to eviews
Material 1 introduction to eviews
 
I need this done ASAP, You have to have SPSS Software on your comput.docx
I need this done ASAP, You have to have SPSS Software on your comput.docxI need this done ASAP, You have to have SPSS Software on your comput.docx
I need this done ASAP, You have to have SPSS Software on your comput.docx
 
Spss notes
Spss notesSpss notes
Spss notes
 
Introduction to spss 2
Introduction to spss 2Introduction to spss 2
Introduction to spss 2
 
Spss (1)
Spss (1)Spss (1)
Spss (1)
 
Introduction To SPSS
Introduction To SPSSIntroduction To SPSS
Introduction To SPSS
 
Spss lesson
Spss lessonSpss lesson
Spss lesson
 

Recently uploaded

The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 

Recently uploaded (20)

The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 

Recode Age Variable in SPSS

  • 1. HOW TO RECODE THE AGE VARIABLE in SPSS Ruth M. Tappin © 2013 1 Permission is granted for the use of this presentation for any purpose. Please attribute according to appropriate APA, MLA or other formatting conventions
  • 2. Precautionary Message: 2  After re-coding, please remember to choose the right measurement for your new variable!  NOTE: Check the codes for your missing values. You may have to recode those if you have the Silent Generation in the 90 range, for example.  You will have to decide if you will include them, or treat them as outliers and possibly select them out.  The generational groups are:  GenY = 18 – 27  GENX = 28 (NOT 27) – 43  Boomers = 44 – 60  Traditional (Silent) = 61 – * (89 was actually chosen as a cut-off date for this group see notes below)
  • 3. Step 1: Click on highlighted areas 3
  • 4. •You will see this box •Choose the variable that you want to recode. In this case, AGE 4
  • 5. 1) Type a new name for the variable, e.g. “age1” 2) Under label type “Age Recoded to Generational Groups” 3) Click on “Change” 4) Click on “Old and New Values” 5
  • 6. This window will open. The two value buttons will be highlighted. Leave as is. The old value one will disappear after the subsequent choice. 6
  • 7. a) Click on “Range”. Type in “18” b) and “27” as shown. This is the age range for Generation Y c) In “Value” box, type in 1 d) Click on “Add” button. This will bring you to the next screen. 7
  • 8. • The age range of 18 thru 27 has now been transferred to the Old -> New window • Add another range (e.g. 28 through 43, which is Generation X). Click “ADD” • Type “2” in Value box, under “NEW Value” • Repeat for each range of years. Number each group consecutively 8
  • 9. The third age range of 44 – 60 is shown. This range will be added when you click “Add” 9
  • 10. 10 Follow the previous procedures and you will get the following result. Click on “Continue”. You will return to the original “Recode into New Variables” window (next slide)
  • 12. You will get this syntax read out that tells you what you just did. 12
  • 13. • Click on the “Variable View” at the bottom of your screen and scroll all the way down • You will see the new variable “age1” • NOTE!! Save your data under a new name! (e.g. GSS1-2006_Recoded) 13
  • 14. Look at the highlighted area under “Values”. Click on it. A blue button will appear. Click on the blue button. A new window will appear. 14
  • 15. This is where each age group will be labeled 15
  • 16. 16 Type “1” for the first label (genY). Click “Add”
  • 17. 17 • In “Value” box type “2”. In “Label” box type “genX” • NEXT: In “Value” box type “3”. In “label box” type “genBoom” • NEXT: In “Value” box type “4”. In “label box” type “genTrad/Slnt” • Click on “OK” • NOTE: If you need to change or remove something, click of the item and make choice
  • 18. 18 • All labels have now been entered •Click “OK”. You will return to the “Variable View” window
  • 19. 19 • At the “Variable View” • Click on blue button that will appear in the highlighted “Label” box • You will see the labels for each of the values • You will now run a Frequency analysis…
  • 20. 20 • Go to “Analyze” • Choose “Descriptive” > “Frequencies”
  • 21. 21 Scroll down to the bottom of the variables list. Choose “Age Recoded…” Transfer to “Variable(s)” window You will come to the next screen
  • 22. 22 Click on “OK” (This is just a quick check, do not choose any frequencies to run) NOTE: Measurement level on Age Recoded has not been changed.
  • 23. 23 Congratulations!! You have now learned how to recode variables into groups with specified ranges! (Please read the cautionary message in the next slide) NOTE: Remember to choose the appropriate measurement level for age1 before actually running any analyses!
  • 24. CAUTIONARY MESSAGE! 24  Please remember to choose the right measurement for your new “age1” variable! The generational groups are: GenY = 18 – 27 GENX = 28 – 43 Boomers = 44 – 60 Traditional (Silent) = 61 – *  NOTE: You may have to choose an end range for the Traditional/Silent Generation grouping.  NOTE: Check the codes for missing values in your dataset. You may have to recode those so that they will not conflict with ages that are 90+ (see NOTES section in this slide).

Editor's Notes

  1. The age range for Traditional/Silent generation is 61+If you have Silent Generation members in the 90s+ age range, you will have to pay attention to how other variables such as “missing” are coded. Often values such as 90, 99, etc are used to indicate these values. You may have to either (1) choose to define the Traditional/Silent generation withinIn this case you will have to treat age ranges that fall outside of 89 as outliers.You will have to decide if you will include them, or treat them as outliers and possibly select them out.If you choose to include them in your analysis, you will have to recode missing values so that they do not fall into that generation’s age range, thus confusing your data and analysis
  2. The age range for Traditional/Silent generation is 61+ If you have Silent Generation members in the 90s+ age range, you will have to pay attention to how other variables such as “missing” are coded. Often values such as 90, 99, etc are used to indicate missing values. You may have to either (1) choose to define the Traditional/Silent generation within a range with a cut-off age (e.g. “89” is shown as the cut-off age)In this case you will have to treat age ranges that fall outside of 89 as outliers. If so, you will have to decide if you will select them out, for example OR: (2) You will have to recode missing values. Why? Often missing values are coded with values in the 90+ range. If you choose to include age values in your analysis that are in the 90+ range, you will have to recode those missing values in your data so that they do not fall into that generation’s age range, thus confusing your data and subsequent analysis
  3. NOTE: genTrad/Slnt = Traditional/Silent generation
  4. The age range for Traditional/Silent generation is 61+If you have Silent Generation members in the 90s+ age range, you will have to pay attention to how other variables such as “missing” are coded. Often values such as 90, 99, etc are used to indicate these values. You may have to either (1) choose to define the Traditional/Silent generation withinIn this case you will have to treat age ranges that fall outside of 89 as outliers.You will have to decide if you will include them, or treat them as outliers and possibly select them out.If you choose to include them in your analysis, you will have to recode missing values so that they do not fall into that generation’s age range, thus confusing your data and analysis