Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

How to Compute & Recode SPSS Data

How to Compute & Recode SPSS Data. Video at https://youtu.be/QrE6SuxYAuQ

  • Be the first to comment

  • Be the first to like this

How to Compute & Recode SPSS Data

  1. 1. Compute & Recode SPSS Data http://www.palmx.org/drtamil/spss/sga-youtube.sav
  2. 2. ©drtamil@gmail.com 2016 Factors Affecting SGA SGA (Y/N) (Birth weight) Mother’s Nutrition (BMI/Obesity) •Weight •Height Smoking Hypertension
  3. 3. ©drtamil@gmail.com 2016 Dependent Outcome  Birth weight of the babies  Small for gestational age i.e. less than 2.7kg for term babies – Y/N By Yehudamalul - Own work, CC BY-SA 3.0,
  4. 4. ©drtamil@gmail.com 2016 Factors Affecting SGA SGA (Y/N) (Birth weight) Mother’s Nutrition (BMI/Obesity) •Weight •Height Smoking (Y/N) Hypertension (Y/N)
  5. 5. ©drtamil@gmail.com 2016 Recode and transform to do test  We were asked to conduct the appropriate statistical test to test whether there is any association between “Classification of Weight” (OBESCLAS) and SGA (OUTCOME).  So we need to compute weight and height into BMI, then recode BMI into classification of underweight, normal and overweight.
  6. 6. ©drtamil@gmail.com 2016 Steps to recode To compute Body Mass Index  formula Weight/Height2 ◦ Weight in kg ◦ Height in m (so need to change ours from cm to m by dividing with 100) Then recode BMI into Classification of Weight  <20 Underweight  20 to 24.99 Normal  25 & > Overweight
  7. 7. ©drtamil@gmail.com 2016 https://youtu.be/QrE6SuxYAuQ Click on “Compute Variable”
  8. 8. ©drtamil@gmail.com 2016 Type in the variable name/label
  9. 9. ©drtamil@gmail.com 2016 mBMI=weight/(height/100)**2
  10. 10. ©drtamil@gmail.com 2016 New variable mBMI created
  11. 11. ©drtamil@gmail.com 2016 Recode  Underweight; 0 – 19.99 ->1  Normal; 20 – 24.99 ->2  Overweight; 25 – Infinity ->3
  12. 12. ©drtamil@gmail.com 2016 Recode into Different Variables
  13. 13. ©drtamil@gmail.com 2016 New Output Variable
  14. 14. ©drtamil@gmail.com 2016 Recode old into new values
  15. 15. ©drtamil@gmail.com 2016 Recode old into new values
  16. 16. ©drtamil@gmail.com 2016 Recode old into new values
  17. 17. ©drtamil@gmail.com 2016 New variables created
  18. 18. ©drtamil@gmail.com 2016 Relabel new variable

×