SlideShare a Scribd company logo
1 of 15
1
Compute and Recode for SPSS Ver 20 (DR SEE KIN HAI) (PART 2)

A science teacher wanted to gauge the attitude of students towards science in rural areas of Brunei. He
wanted to know whether there is a significant difference in their attitude towards science by level of
education (i.e. Year 7, 8, 9, 10 or 11 or equivalent of Form 1,2,3,4 or 5), gender (male=1 or female=2)
and ethnic group (Malay=1, Chinese=2, Kadazan / Dusun = 3, Murut=4, Others=5). For this purpose ,
he prepared a questionnaire that consisted of 2 parts: Part A: Respondents’ demographic background,
Part B: Attitude towards science in school assessment questionnaire modified from Germann (1984).
(Likert scale: SD=1, D=2, A=3, SA=4 reverse for negative items, Missing value = 999)

(The following sample showed the response from a student)
2




You should enter into your computer as:
Id   Form Gender Race Q1 Q2 Q3 Q4 Q5             Q6    Q7 Q8 Q9 Q10      Q11 Q12 Q13   Q14

1       1      1        1    1   2   4   1   2     4    4    3   2   2    4   3    4    999

Similarly enter the data into your computer as follow and saved them in your data file disk.
3
1. Setup your [Variable View] as follow:                          Missing value




1=Malay, 2=Chinese, 3=Kadazan/Dusun        SD=1, D=2, A=3, SA=4
4= Murut, 5=Others



2. Now you enter the data as below.
4
   3. Now, the items for the questionnaire, Q2, Q7, Q10 and Q14 are negative items so the Likert
      scale should be reversed. SD =4, D= 3, A=2 and SA = 1.
   4. Now you [Recode] the negatively-worded questions into the [same variables]. If you want can
      be into [different variables].
   5. Select [Transform] in the menu bar and click [Recode into Same Variables] to open the
      dialogue box.
   6. Move [Q2, Q7, Q10 , Q14] into the [Variables] box then click [Old and New values] to open
      the sub-dialogue box.




7. Enter [1] in the [Old Value] box and [4] in the [New Value] box then [Add]. Repeat for 2 → 3,
   3 → 2 and 4 → 1.
5




   7. Click on [Continue] then [OK]. Now you examine the [Data View] below the scores have been
      reversed.




COMPUTE DATA

Now to score students’ attitude towards science, you have to add up the scores for the 14 questions.
There are 2 ways of doing this.

How to total the score for each student in this questionnaire
Method 1: (If you do not want to include the missing items, e.g. Q14)
1. Select [Transform] then [Compute Variable..] to open the dialogue box.
6




2. Type [Total] into [Target Variable] box. Move [Q1] then [+] and repeat until [Q14] then [OK].




3. Now click on [Data View], [Total] is created.
7




                  Total is added to the [Variable View]




                   Total value missing because of 999. To
                   avoid this use Method 2



Method 2: ( Use the [Function group] if you want to include the missing values, e.g. Q14)

   1. Select [Transform] then [Compute Variable..] to open the dialogue box.
8




2. Enter [Total] in the [Targer Variable] box. In the [Function group] box select [Statistical] and
[Sum] in the [Functions and Special Variables] box.

3. Click on [ ↑ ] to bring this function into [Numeric Expression] box.
9
4. Move [Q1] to [Numeric Expression] box. Repeat until [Q14] then [OK].




5. Now you examine the [Data View] below.




                             The Total added for the missing values
10
How to obtain mean score for each student in this questionnaire

Method 1: (To exclude the missing values)
1. Select [Transform] then [Compute Variable…] to open the dialogue box.
2. Type [Mean] in [Target Variable] box. Select [( )] and move [Q1] to [Q14] into
   [Numeric Expression] box then [OK] as follow.




                          Missing values not included. If you
                          want to find the mean use Method 2

Method 2: (To include missing values in the calculation of the means)

1. Select [Transform] then [Compute Variable…] to open the dialogue box.
2. Type [Mean] in the [Target Variable] then select[Statistical] and [Mean] in the [Function group]
11
3. Click [ ↑ ] and move to [Numeric Expression] box. Move [Q1] to [Q14] into the [Numeric
   Expression] box then [OK].




                     The means are calculated for the missing values
12
How to count the the total number of SD, D, A, SA coded as 1,2,3,4 for each student

1. Select [Transform] then [Count Values within Cases…] to open the dialogue box.




2. Enter [No1] in the [Target Variable] box and [Frequency of score 1] in the [Target Label] box.
   Move [Q1] to [Q14] into [Numeric Variables] box then click on [Define Values] to open the
   sub-dialogue box.




3. Click [1] in the [Value] box then [Add] to move to [Values to count] then [Continue] then [OK].
13




4. [Transform] then [Count Values within Cases..] type [No2] and [Frequency for score 2] and
   move [Q1] to [Q4] as below. [Define Values..] to open sub-dialogue box.




Type [2] in [Value] box then [Add]and [Continue], [OK].
14
5. Repeat for [No3] for [Frequency of score 3] and [No4] for [Frequency of score 4].




        Go to [Variable view ] change decimal place =0,
15
COURSEWORK

The following data were obtained from the Attitude Towards Mathematics in Upper Secondary
Questionnaire.

1. Recode the negatively-worded items, Q2, Q7, Q10, Q14 into the same Variables by reversing
   the Likert scales. (i.e. 4 → 1, 3 → 2, 2 → 3 and 1 → 4)
2. Compute the total scores of each student’s attitude from Q1 to Q14 (Use 2 methods) and also
   the total scores for all 30 students.
3. Compute the mean for each student (Use 2 methods) and the overall means.
4. Count the number of SD=1, D=2, A=3, SA=4 for each student and the overall count for the 30
   students.
5. Determine if your instrument is reliable. (Find Cronbach’s alpha and split-half reliability
   coefficients. See L15).

Id Year Gender Race Q1       Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q10 Q11 Q12 Q13 Q14

1    1     1     1      1     3   4   1   2   4   1    3    2    3    4   3    4     1
2    1     1     1      2     2   2   2   1   3   2    2    2    4    3   1    3     2
3    4     2     2      3     4   3   1   3   2   3    1    3    3    2   2    2     3
4    2     2     4      3     4   3   4   1   1   3    2    2    2    1   3    1     4
5    3     999   3      2     3   2   2   3   2   3    3    2    1    2   4    2     3
6    3     1     3      3     1   3   4   2   3   2    4    2    2    3   3    3     2
7    4     2     4      1     2   4   2   1   2   1    3    1    3    4   3    4     1
8    4     2     4      4     3   2   3   1   3   3    2    2    4    3   4    4     2
9    5     1     5      2    4    1   1   2   1   2   999   4    3    2   3    4     3
10   5     1     5      3    1    2   2   3   2   3    1    3    2    1   2    2     3
11   1     1     1      1     3   4   1   2   4   1    3    2   999   4   3    4     2
12   1     1     1      2     2   2   2   1   3   2    2    2    4    3   1    3     2
13   999   2     2      3     4   3   1   3   2   3    1    3    3    2   2    2     3
14   2     2     4      3     4   3   4   1   1   3    2    2    2    1   3    1     4
15   3     999   3      2     3   2   2   3   2   3    3    2    1    2   4    2     3
16   3     1     3      3     1   3   4   2   3   2    4    2    2    3   3    3     2
17   4     2     4      1     2   4   2   1   2   1    3    1    3    4   3    4     1
18   4     2     4      4     3   2   3   1   3   3    2    2    4    3   4    4     2
19   5     1     5      2    4    1   1   2   1   2    1    4    3    2   3    4    999
20   5     1     5      3    1    2   2   3   2   3    1    3    2    1   2    2     3
21   1     1     1      1     3   4   1   2   4   1    3    2    3    4   3    4   999
22   1     1     1      2     2   2   2   1   3   2    2    2    4    3   1    3     2
23   999   2     2      3     4   3   1   3   2   3    1    3    3    2   2    2     3
24   2     2     4      3     4   3   4   1   1   3    2    2    2    1   3    1     4
25   3     999   3      2     3   2   2   3   2   3    3    2    1    2   4    2     3
26   3     1     3      3     1   3   4   2   3   2    4    2    2    3   3    3     2
27   4     2     4      1     2   4   2   1   2   1    3    1    3    4   3    4     1
28   4     2     4      4     3   2   3   1   3   3    2    2    4    3   4    4     2
29   5     1     5      2    4    1   1   2   1   2    1    4    3    2   3    4    999
30   5     1     5      3    1    2   2   3   2   3    1    3    2    1   2    2     3

More Related Content

Viewers also liked

Viewers also liked (6)

Charts
ChartsCharts
Charts
 
Presentation1
Presentation1Presentation1
Presentation1
 
Project 6
Project 6Project 6
Project 6
 
Lean and the Patient Experience
Lean and the Patient ExperienceLean and the Patient Experience
Lean and the Patient Experience
 
Unit 3
Unit 3Unit 3
Unit 3
 
Graph
GraphGraph
Graph
 

Similar to Compute and-recode-part-2

Algebra Foundations Series- 1.2 Order of Operations
Algebra Foundations Series- 1.2 Order of OperationsAlgebra Foundations Series- 1.2 Order of Operations
Algebra Foundations Series- 1.2 Order of OperationsDee Black
 
NAA Maximize 2015 - Presentation on In-depth Analytics of Pricing Discovery
NAA Maximize 2015 - Presentation on In-depth Analytics of Pricing DiscoveryNAA Maximize 2015 - Presentation on In-depth Analytics of Pricing Discovery
NAA Maximize 2015 - Presentation on In-depth Analytics of Pricing DiscoveryThe Rainmaker Group
 
ISA 3.0 E-Learning Assessment Test.pdf
ISA 3.0 E-Learning Assessment Test.pdfISA 3.0 E-Learning Assessment Test.pdf
ISA 3.0 E-Learning Assessment Test.pdfJacksonThekkekaraAss
 
(7) Lesson 4.2 - Compare and order Rational Numbers
(7) Lesson 4.2 - Compare and order Rational Numbers(7) Lesson 4.2 - Compare and order Rational Numbers
(7) Lesson 4.2 - Compare and order Rational Numberswzuri
 
ME Math 8 Q1 0204 TG.pdf Teaching Guide
ME Math 8 Q1 0204 TG.pdf  Teaching GuideME Math 8 Q1 0204 TG.pdf  Teaching Guide
ME Math 8 Q1 0204 TG.pdf Teaching Guidedonnabelleisidro
 
ABLE - E-Learning Symposium December 2016
ABLE - E-Learning Symposium December 2016ABLE - E-Learning Symposium December 2016
ABLE - E-Learning Symposium December 2016Ed Foster
 
W1-L1 Negative-numbers-ppt..pptx
W1-L1 Negative-numbers-ppt..pptxW1-L1 Negative-numbers-ppt..pptx
W1-L1 Negative-numbers-ppt..pptxGhassan44
 
Consulting Template Slides
Consulting Template SlidesConsulting Template Slides
Consulting Template SlidesBoundless
 
Blackboard training - E-assessment
Blackboard training - E-assessmentBlackboard training - E-assessment
Blackboard training - E-assessmentMarius Pienaar (Dr.)
 
Factoring Non-Perfect Square Trinomial Lesson Plan
Factoring Non-Perfect Square Trinomial Lesson PlanFactoring Non-Perfect Square Trinomial Lesson Plan
Factoring Non-Perfect Square Trinomial Lesson PlanLorie Jane Letada
 
STRAND 1 NUMBERS.pptx CBC FOR GRADE 8 STUDENTS
STRAND 1  NUMBERS.pptx CBC FOR GRADE  8 STUDENTSSTRAND 1  NUMBERS.pptx CBC FOR GRADE  8 STUDENTS
STRAND 1 NUMBERS.pptx CBC FOR GRADE 8 STUDENTSkimdan468
 
Luhn algorithm
Luhn algorithmLuhn algorithm
Luhn algorithmNguyen Huy
 
2016 July Question paper.pdf
2016 July Question paper.pdf2016 July Question paper.pdf
2016 July Question paper.pdfJohn Pratheesh
 
---Orientation-Session---Business-Statistics-22092023-044926pm (2).pdf
---Orientation-Session---Business-Statistics-22092023-044926pm (2).pdf---Orientation-Session---Business-Statistics-22092023-044926pm (2).pdf
---Orientation-Session---Business-Statistics-22092023-044926pm (2).pdfuroosavayani
 
60440 question-paper-unit-g451-an-introduction-to-physical-education
60440 question-paper-unit-g451-an-introduction-to-physical-education60440 question-paper-unit-g451-an-introduction-to-physical-education
60440 question-paper-unit-g451-an-introduction-to-physical-educationashfieldpe
 

Similar to Compute and-recode-part-2 (20)

Discrimination index
Discrimination indexDiscrimination index
Discrimination index
 
Algebra Foundations Series- 1.2 Order of Operations
Algebra Foundations Series- 1.2 Order of OperationsAlgebra Foundations Series- 1.2 Order of Operations
Algebra Foundations Series- 1.2 Order of Operations
 
Math 9 Quiz Bee.pptx
Math 9 Quiz Bee.pptxMath 9 Quiz Bee.pptx
Math 9 Quiz Bee.pptx
 
NAA Maximize 2015 - Presentation on In-depth Analytics of Pricing Discovery
NAA Maximize 2015 - Presentation on In-depth Analytics of Pricing DiscoveryNAA Maximize 2015 - Presentation on In-depth Analytics of Pricing Discovery
NAA Maximize 2015 - Presentation on In-depth Analytics of Pricing Discovery
 
ISA 3.0 E-Learning Assessment Test.pdf
ISA 3.0 E-Learning Assessment Test.pdfISA 3.0 E-Learning Assessment Test.pdf
ISA 3.0 E-Learning Assessment Test.pdf
 
(7) Lesson 4.2 - Compare and order Rational Numbers
(7) Lesson 4.2 - Compare and order Rational Numbers(7) Lesson 4.2 - Compare and order Rational Numbers
(7) Lesson 4.2 - Compare and order Rational Numbers
 
ME Math 8 Q1 0204 TG.pdf Teaching Guide
ME Math 8 Q1 0204 TG.pdf  Teaching GuideME Math 8 Q1 0204 TG.pdf  Teaching Guide
ME Math 8 Q1 0204 TG.pdf Teaching Guide
 
Coding Concept.ppt
Coding Concept.pptCoding Concept.ppt
Coding Concept.ppt
 
ABLE - E-Learning Symposium December 2016
ABLE - E-Learning Symposium December 2016ABLE - E-Learning Symposium December 2016
ABLE - E-Learning Symposium December 2016
 
W1-L1 Negative-numbers-ppt..pptx
W1-L1 Negative-numbers-ppt..pptxW1-L1 Negative-numbers-ppt..pptx
W1-L1 Negative-numbers-ppt..pptx
 
Consulting Template Slides
Consulting Template SlidesConsulting Template Slides
Consulting Template Slides
 
Blackboard training - E-assessment
Blackboard training - E-assessmentBlackboard training - E-assessment
Blackboard training - E-assessment
 
Factoring Non-Perfect Square Trinomial Lesson Plan
Factoring Non-Perfect Square Trinomial Lesson PlanFactoring Non-Perfect Square Trinomial Lesson Plan
Factoring Non-Perfect Square Trinomial Lesson Plan
 
PGM310
PGM310PGM310
PGM310
 
WEEK 4.doc
WEEK 4.docWEEK 4.doc
WEEK 4.doc
 
STRAND 1 NUMBERS.pptx CBC FOR GRADE 8 STUDENTS
STRAND 1  NUMBERS.pptx CBC FOR GRADE  8 STUDENTSSTRAND 1  NUMBERS.pptx CBC FOR GRADE  8 STUDENTS
STRAND 1 NUMBERS.pptx CBC FOR GRADE 8 STUDENTS
 
Luhn algorithm
Luhn algorithmLuhn algorithm
Luhn algorithm
 
2016 July Question paper.pdf
2016 July Question paper.pdf2016 July Question paper.pdf
2016 July Question paper.pdf
 
---Orientation-Session---Business-Statistics-22092023-044926pm (2).pdf
---Orientation-Session---Business-Statistics-22092023-044926pm (2).pdf---Orientation-Session---Business-Statistics-22092023-044926pm (2).pdf
---Orientation-Session---Business-Statistics-22092023-044926pm (2).pdf
 
60440 question-paper-unit-g451-an-introduction-to-physical-education
60440 question-paper-unit-g451-an-introduction-to-physical-education60440 question-paper-unit-g451-an-introduction-to-physical-education
60440 question-paper-unit-g451-an-introduction-to-physical-education
 

Recently uploaded

Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 

Recently uploaded (20)

Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 

Compute and-recode-part-2

  • 1. 1 Compute and Recode for SPSS Ver 20 (DR SEE KIN HAI) (PART 2) A science teacher wanted to gauge the attitude of students towards science in rural areas of Brunei. He wanted to know whether there is a significant difference in their attitude towards science by level of education (i.e. Year 7, 8, 9, 10 or 11 or equivalent of Form 1,2,3,4 or 5), gender (male=1 or female=2) and ethnic group (Malay=1, Chinese=2, Kadazan / Dusun = 3, Murut=4, Others=5). For this purpose , he prepared a questionnaire that consisted of 2 parts: Part A: Respondents’ demographic background, Part B: Attitude towards science in school assessment questionnaire modified from Germann (1984). (Likert scale: SD=1, D=2, A=3, SA=4 reverse for negative items, Missing value = 999) (The following sample showed the response from a student)
  • 2. 2 You should enter into your computer as: Id Form Gender Race Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q10 Q11 Q12 Q13 Q14 1 1 1 1 1 2 4 1 2 4 4 3 2 2 4 3 4 999 Similarly enter the data into your computer as follow and saved them in your data file disk.
  • 3. 3 1. Setup your [Variable View] as follow: Missing value 1=Malay, 2=Chinese, 3=Kadazan/Dusun SD=1, D=2, A=3, SA=4 4= Murut, 5=Others 2. Now you enter the data as below.
  • 4. 4 3. Now, the items for the questionnaire, Q2, Q7, Q10 and Q14 are negative items so the Likert scale should be reversed. SD =4, D= 3, A=2 and SA = 1. 4. Now you [Recode] the negatively-worded questions into the [same variables]. If you want can be into [different variables]. 5. Select [Transform] in the menu bar and click [Recode into Same Variables] to open the dialogue box. 6. Move [Q2, Q7, Q10 , Q14] into the [Variables] box then click [Old and New values] to open the sub-dialogue box. 7. Enter [1] in the [Old Value] box and [4] in the [New Value] box then [Add]. Repeat for 2 → 3, 3 → 2 and 4 → 1.
  • 5. 5 7. Click on [Continue] then [OK]. Now you examine the [Data View] below the scores have been reversed. COMPUTE DATA Now to score students’ attitude towards science, you have to add up the scores for the 14 questions. There are 2 ways of doing this. How to total the score for each student in this questionnaire Method 1: (If you do not want to include the missing items, e.g. Q14) 1. Select [Transform] then [Compute Variable..] to open the dialogue box.
  • 6. 6 2. Type [Total] into [Target Variable] box. Move [Q1] then [+] and repeat until [Q14] then [OK]. 3. Now click on [Data View], [Total] is created.
  • 7. 7 Total is added to the [Variable View] Total value missing because of 999. To avoid this use Method 2 Method 2: ( Use the [Function group] if you want to include the missing values, e.g. Q14) 1. Select [Transform] then [Compute Variable..] to open the dialogue box.
  • 8. 8 2. Enter [Total] in the [Targer Variable] box. In the [Function group] box select [Statistical] and [Sum] in the [Functions and Special Variables] box. 3. Click on [ ↑ ] to bring this function into [Numeric Expression] box.
  • 9. 9 4. Move [Q1] to [Numeric Expression] box. Repeat until [Q14] then [OK]. 5. Now you examine the [Data View] below. The Total added for the missing values
  • 10. 10 How to obtain mean score for each student in this questionnaire Method 1: (To exclude the missing values) 1. Select [Transform] then [Compute Variable…] to open the dialogue box. 2. Type [Mean] in [Target Variable] box. Select [( )] and move [Q1] to [Q14] into [Numeric Expression] box then [OK] as follow. Missing values not included. If you want to find the mean use Method 2 Method 2: (To include missing values in the calculation of the means) 1. Select [Transform] then [Compute Variable…] to open the dialogue box. 2. Type [Mean] in the [Target Variable] then select[Statistical] and [Mean] in the [Function group]
  • 11. 11 3. Click [ ↑ ] and move to [Numeric Expression] box. Move [Q1] to [Q14] into the [Numeric Expression] box then [OK]. The means are calculated for the missing values
  • 12. 12 How to count the the total number of SD, D, A, SA coded as 1,2,3,4 for each student 1. Select [Transform] then [Count Values within Cases…] to open the dialogue box. 2. Enter [No1] in the [Target Variable] box and [Frequency of score 1] in the [Target Label] box. Move [Q1] to [Q14] into [Numeric Variables] box then click on [Define Values] to open the sub-dialogue box. 3. Click [1] in the [Value] box then [Add] to move to [Values to count] then [Continue] then [OK].
  • 13. 13 4. [Transform] then [Count Values within Cases..] type [No2] and [Frequency for score 2] and move [Q1] to [Q4] as below. [Define Values..] to open sub-dialogue box. Type [2] in [Value] box then [Add]and [Continue], [OK].
  • 14. 14 5. Repeat for [No3] for [Frequency of score 3] and [No4] for [Frequency of score 4]. Go to [Variable view ] change decimal place =0,
  • 15. 15 COURSEWORK The following data were obtained from the Attitude Towards Mathematics in Upper Secondary Questionnaire. 1. Recode the negatively-worded items, Q2, Q7, Q10, Q14 into the same Variables by reversing the Likert scales. (i.e. 4 → 1, 3 → 2, 2 → 3 and 1 → 4) 2. Compute the total scores of each student’s attitude from Q1 to Q14 (Use 2 methods) and also the total scores for all 30 students. 3. Compute the mean for each student (Use 2 methods) and the overall means. 4. Count the number of SD=1, D=2, A=3, SA=4 for each student and the overall count for the 30 students. 5. Determine if your instrument is reliable. (Find Cronbach’s alpha and split-half reliability coefficients. See L15). Id Year Gender Race Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q10 Q11 Q12 Q13 Q14 1 1 1 1 1 3 4 1 2 4 1 3 2 3 4 3 4 1 2 1 1 1 2 2 2 2 1 3 2 2 2 4 3 1 3 2 3 4 2 2 3 4 3 1 3 2 3 1 3 3 2 2 2 3 4 2 2 4 3 4 3 4 1 1 3 2 2 2 1 3 1 4 5 3 999 3 2 3 2 2 3 2 3 3 2 1 2 4 2 3 6 3 1 3 3 1 3 4 2 3 2 4 2 2 3 3 3 2 7 4 2 4 1 2 4 2 1 2 1 3 1 3 4 3 4 1 8 4 2 4 4 3 2 3 1 3 3 2 2 4 3 4 4 2 9 5 1 5 2 4 1 1 2 1 2 999 4 3 2 3 4 3 10 5 1 5 3 1 2 2 3 2 3 1 3 2 1 2 2 3 11 1 1 1 1 3 4 1 2 4 1 3 2 999 4 3 4 2 12 1 1 1 2 2 2 2 1 3 2 2 2 4 3 1 3 2 13 999 2 2 3 4 3 1 3 2 3 1 3 3 2 2 2 3 14 2 2 4 3 4 3 4 1 1 3 2 2 2 1 3 1 4 15 3 999 3 2 3 2 2 3 2 3 3 2 1 2 4 2 3 16 3 1 3 3 1 3 4 2 3 2 4 2 2 3 3 3 2 17 4 2 4 1 2 4 2 1 2 1 3 1 3 4 3 4 1 18 4 2 4 4 3 2 3 1 3 3 2 2 4 3 4 4 2 19 5 1 5 2 4 1 1 2 1 2 1 4 3 2 3 4 999 20 5 1 5 3 1 2 2 3 2 3 1 3 2 1 2 2 3 21 1 1 1 1 3 4 1 2 4 1 3 2 3 4 3 4 999 22 1 1 1 2 2 2 2 1 3 2 2 2 4 3 1 3 2 23 999 2 2 3 4 3 1 3 2 3 1 3 3 2 2 2 3 24 2 2 4 3 4 3 4 1 1 3 2 2 2 1 3 1 4 25 3 999 3 2 3 2 2 3 2 3 3 2 1 2 4 2 3 26 3 1 3 3 1 3 4 2 3 2 4 2 2 3 3 3 2 27 4 2 4 1 2 4 2 1 2 1 3 1 3 4 3 4 1 28 4 2 4 4 3 2 3 1 3 3 2 2 4 3 4 4 2 29 5 1 5 2 4 1 1 2 1 2 1 4 3 2 3 4 999 30 5 1 5 3 1 2 2 3 2 3 1 3 2 1 2 2 3