You are on page 1of 1

GET

FILE='C:\Users\Emídio\Desktop\Merged_SPSS machted with 2017 and 2016 and 2015_171018.sav'.


DATASET NAME Conjunto_de_dados1 WINDOW=FRONT.
USE ALL.
COMPUTE filter_$=( Sex_2015 = 1 & Sex_2016 = 1 & Sex_2017 = 1).
VARIABLE LABELS filter_$ ' Sex_2015 = 1 & Sex_2016 = 1 & Sex_2017 = 1 (FILTER)'.
VALUE LABELS filter_$ 0 'Not Selected' 2 'Selected'.
FORMATS filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE.
CTABLES
/VLABELS VARIABLES=treatedwithrespectatPFconsultationN_2015 treatedwithrespectatPFconsultation_2016 treatedwithrespectatPFconsultation_2017
PrivacyrespectedatPFconsultationN_2015 PrivacyrespectedatPFconsultation_2016
PrivacyrespectedatPFconsultation_2017 ServicesabletoattendyouthN_2015 Servicesabletoattendyouth_2016 Servicesabletoattendyouth_2017 ServicesabletoattendcouplesN_2015
Servicesabletoattendcouples_2016 Servicesabletoattendcouples_2017
PFservicesabletoattendmanN_2015 PFservicesabletoattendman_2016 PFservicesabletoattendman_2017
DISPLAY=LABEL
/TABLE treatedwithrespectatPFconsultationN_2015 [COUNT F40.0, COLPCT.COUNT PCT40.1] + treatedwithrespectatPFconsultation_2016 [COUNT F40.0, COLPCT.COUNT
PCT40.1] + treatedwithrespectatPFconsultation_2017 [COUNT F40.0, COLPCT.COUNT PCT40.1] +
PrivacyrespectedatPFconsultationN_2015 [COUNT F40.0, COLPCT.COUNT PCT40.1] + PrivacyrespectedatPFconsultation_2016 [COUNT F40.0, COLPCT.COUNT PCT40.1] +
PrivacyrespectedatPFconsultation_2017 [COUNT F40.0, COLPCT.COUNT PCT40.1] +
ServicesabletoattendyouthN_2015 [COUNT F40.0, COLPCT.COUNT PCT40.1] + Servicesabletoattendyouth_2016 [COUNT F40.0, COLPCT.COUNT PCT40.1] +
Servicesabletoattendyouth_2017 [COUNT F40.0, COLPCT.COUNT PCT40.1] + ServicesabletoattendcouplesN_2015 [COUNT F40.0,
COLPCT.COUNT PCT40.1] + Servicesabletoattendcouples_2016 [COUNT F40.0, COLPCT.COUNT PCT40.1] + Servicesabletoattendcouples_2017 [COUNT F40.0,
COLPCT.COUNT PCT40.1] + PFservicesabletoattendmanN_2015 [COUNT F40.0, COLPCT.COUNT PCT40.1] +
PFservicesabletoattendman_2016 [COUNT F40.0, COLPCT.COUNT PCT40.1] + PFservicesabletoattendman_2017 [COUNT F40.0, COLPCT.COUNT PCT40.1]
/CATEGORIES VARIABLES=treatedwithrespectatPFconsultationN_2015 treatedwithrespectatPFconsultation_2016 treatedwithrespectatPFconsultation_2017
PrivacyrespectedatPFconsultationN_2015 PrivacyrespectedatPFconsultation_2016
PrivacyrespectedatPFconsultation_2017 ServicesabletoattendyouthN_2015 Servicesabletoattendyouth_2016 Servicesabletoattendyouth_2017 ServicesabletoattendcouplesN_2015
Servicesabletoattendcouples_2016 Servicesabletoattendcouples_2017
PFservicesabletoattendmanN_2015 PFservicesabletoattendman_2016 PFservicesabletoattendman_2017 ORDER=A KEY=VALUE EMPTY=EXCLUDE.

You might also like