Login
Order Now
Support
SPSS Task on Syntax File

SPSS Task on Syntax File

  • 28th Sep, 2021
  • 17:01 PM

* Encoding: UTF-8.
compute preteen = 0. 
IF Age_cat = 1 preteen = 1. 
compute teen = 0. 
IF Age_cat = 2 teen = 1.
compute adult = 0. 
IF Age_cat = 3 adult = 1.
compute smoker = 0. 
IF Smoking = 1  = 1.
compute depres = 0. 
IF MENTLHLTH = 1 depres = 1. 
compute anxiet = 0. 
IF MENTLHLTH = 2 anxiet = 1. 
compute other = 0. 
IF MENTLHLTH = 3 other = 1. 
compute none = 0. 
IF MENTLHLTH = 4 none = 1. 
compute lwrclss = 0. 
IF SES = 1 lwrclss = 1. 
compute mddlclss = 0. 
IF SES = 2 mddlclss = 1.
compute upprclss = 0. 
IF SES = 3 upprclss = 1.
compute prnflnc = 0. 
IF CHLDFRND = 1 prnflnc = 1.
compute fsgood = 0. 
IF SATFAM = 1 fsgood = 1. 
compute fsneutral = 0. 
IF SATFAM = 2 fsneutral = 1. 
compute fsbad = 0. 
IF SATFAM = 3 fsbad = 1. 
 

DESCRIPTIVES VARIABLES=lwrclss mddlclss upprclss prnflnc fsgood fsneutral fsbad
  /STATISTICS=MEAN STDDEV MIN MAX.


DESCRIPTIVES VARIABLES=preteen teen adult smoker depres anxiet other none
  /STATISTICS=MEAN STDDEV MIN MAX.
 

Share this post

assignment helpassignment helperassignment expertsassignment writing services