IQ Regression to the Mean and Genetic Prediction : NLSY 97 SPSS Syntax

I must warn. It is probable that the CASESTOVARS command will not work because the number of variable exceeds 80 or 90. In this case, you should better stop the syntax before CASESTOVARS. Then, delete the variables you don’t need such as GSPOSrecode, ARPOSrecode, GSNEGrecode, ARNEGrecode, RECODEGSNEG, RECODEARNEG, CombGS, CombAR, and all. When this is done, you are ready to run the CASESTOVARS command as well as all the remaining lines of the coding. Alternatively, you can use MXCELLS to get rid of the problem.

SET MXCELLS=9000.

IF R0538700=2 BW=1.
IF R0538700=1 and R1482600=4 BW=2.

IF R0538700=2 BH=1.
IF R1482600=2 BH=2.

IF R1482600=2 HW=1.
IF R0538700=1 and R1482600=4 HW=2.

IF R0538700=2 BHW=1.
IF R1482600=2 BHW=2.
IF R0538700=1 and R1482600=4 BHW=3.

IF R1302500=0 or R1302400=0 PARENTEDUC=0.
IF R1302500=1 or R1302400=1 PARENTEDUC=1.
IF R1302500=2 or R1302400=2 PARENTEDUC=2.
IF R1302500=3 or R1302400=3 PARENTEDUC=3.
IF R1302500=4 or R1302400=4 PARENTEDUC=4.
IF R1302500=5 or R1302400=5 PARENTEDUC=5.
IF R1302500=6 or R1302400=6 PARENTEDUC=6.
IF R1302500=7 or R1302400=7 PARENTEDUC=7.
IF R1302500=8 or R1302400=8 PARENTEDUC=8.
IF R1302500=9 or R1302400=9 PARENTEDUC=9.
IF R1302500=10 or R1302400=10 PARENTEDUC=10.
IF R1302500=11 or R1302400=11 PARENTEDUC=11.
IF R1302500=12 or R1302400=12 PARENTEDUC=12.
IF R1302500=13 or R1302400=13 PARENTEDUC=13.
IF R1302500=14 or R1302400=14 PARENTEDUC=14.
IF R1302500=15 or R1302400=15 PARENTEDUC=15.
IF R1302500=16 or R1302400=16 PARENTEDUC=16.
IF R1302500=17 or R1302400=17 PARENTEDUC=17.
IF R1302500=18 or R1302400=18 PARENTEDUC=18.
IF R1302500=19 or R1302400=19 PARENTEDUC=19.
IF R1302500=20 or R1302400=20 PARENTEDUC=20.

RECODE Z9083800 (1 thru 20=COPY) (ELSE=SYSMIS) INTO RGRADE.
RECODE R1302500 (1 thru 20=COPY) (ELSE=SYSMIS) INTO MOM_EDUC.
RECODE R1302400 (1 thru 20=COPY) (ELSE=SYSMIS) INTO DAD_EDUC.
COMPUTE PARENT_EDUC=MEAN(MOM_EDUC,DAD_EDUC).
EXECUTE.

COMPUTE PARENTAL_INCOME = SUM(R0609800, R0610500, R0611100, R0612700).
COMPUTE SQRT_PARENTAL_INCOME=SQRT(PARENTAL_INCOME+1).
VARIABLE LABELS SQRT_PARENTAL_INCOME ‘Square Root of Parental Income’.
EXECUTE.

RECODE R1309100 (13 thru 14=1) (15 thru 26=2) (74 thru 85=2) INTO SIBLING.
EXECUTE.

RECODE R1482600 (1=1) (4=2) (ELSE=SYSMIS) INTO BW_RACE.
VARIABLE LABELS BW_RACE ‘BWRACE_var’.
EXECUTE.

DESCRIPTIVES VARIABLES=R9829600
/SAVE
/STATISTICS=MEAN STDDEV MIN MAX.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT R9829600
/METHOD=ENTER R0536300 R0536402
/SAVE ZRESID.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT R9829600
/METHOD=ENTER R0536300 R0536402 PARENT_EDUC SQRT_PARENTAL_INCOME
/SAVE ZRESID.

RECODE ZRE_1 (lowest thru highest=COPY) INTO ASVAB_SexAge.
RECODE ZRE_2 (lowest thru highest=COPY) INTO ASVAB_SexAgeParentEducIncome.
EXECUTE.

RECODE R9705200 (0 thru 100000000=Copy) INTO GSPOSrecode.
RECODE R9705300 (0 thru 100000000=Copy) INTO ARPOSrecode.
RECODE R9705400 (0 thru 100000000=Copy) INTO WKPOSrecode.
RECODE R9705500 (0 thru 100000000=Copy) INTO PCPOSrecode.
RECODE R9705600 (0 thru 100000000=Copy) INTO NOPOSrecode.
RECODE R9705700 (0 thru 100000000=Copy) INTO CSPOSrecode.
RECODE R9705800 (0 thru 100000000=Copy) INTO AIPOSrecode.
RECODE R9705900 (0 thru 100000000=Copy) INTO SIPOSrecode.
RECODE R9706000 (0 thru 100000000=Copy) INTO MKPOSrecode.
RECODE R9706100 (0 thru 100000000=Copy) INTO MCPOSrecode.
RECODE R9706200 (0 thru 100000000=Copy) INTO EIPOSrecode.
RECODE R9706300 (0 thru 100000000=Copy) INTO AOPOSrecode.
EXECUTE.

RECODE R9706400 (0 thru 100000000=Copy) INTO GSNEGrecode.
RECODE R9706500 (0 thru 100000000=Copy) INTO ARNEGrecode.
RECODE R9706600 (0 thru 100000000=Copy) INTO WKNEGrecode.
RECODE R9706700 (0 thru 100000000=Copy) INTO PCNEGrecode.
RECODE R9706800 (0 thru 100000000=Copy) INTO NONEGrecode.
RECODE R9706900 (0 thru 100000000=Copy) INTO CSNEGrecode.
RECODE R9707000 (0 thru 100000000=Copy) INTO AINEGrecode.
RECODE R9707100 (0 thru 100000000=Copy) INTO SINEGrecode.
RECODE R9707200 (0 thru 100000000=Copy) INTO MKNEGrecode.
RECODE R9707300 (0 thru 100000000=Copy) INTO MCNEGrecode.
RECODE R9707400 (0 thru 100000000=Copy) INTO EINEGrecode.
RECODE R9707500 (0 thru 100000000=Copy) INTO AONEGrecode.
EXECUTE.

COMPUTE RECODEGSNEG=GSNEGrecode*-1.
COMPUTE RECODEARNEG=ARNEGrecode*-1.
COMPUTE RECODEWKNEG=WKNEGrecode*-1.
COMPUTE RECODEPCNEG=PCNEGrecode*-1.
COMPUTE RECODENONEG=NONEGrecode*-1.
COMPUTE RECODECSNEG=CSNEGrecode*-1.
COMPUTE RECODEAINEG=AINEGrecode*-1.
COMPUTE RECODESINEG=SINEGrecode*-1.
COMPUTE RECODEMKNEG=MKNEGrecode*-1.
COMPUTE RECODEMCNEG=MCNEGrecode*-1.
COMPUTE RECODEEINEG=EINEGrecode*-1.
COMPUTE RECODEAONEG=AONEGrecode*-1.
EXECUTE.

COMPUTE CombGS = SUM(GSPOSrecode, RECODEGSNEG).
COMPUTE CombAR = SUM(ARPOSrecode, RECODEARNEG).
COMPUTE CombWK = SUM(WKPOSrecode, RECODEWKNEG).
COMPUTE CombPC = SUM(PCPOSrecode, RECODEPCNEG).
COMPUTE CombNO = SUM(NOPOSrecode, RECODENONEG).
COMPUTE CombCS = SUM(CSPOSrecode, RECODECSNEG).
COMPUTE CombAI = SUM(AIPOSrecode, RECODEAINEG).
COMPUTE CombSI = SUM(SIPOSrecode, RECODESINEG).
COMPUTE CombMK = SUM(MKPOSrecode, RECODEMKNEG).
COMPUTE CombMC = SUM(MCPOSrecode, RECODEMCNEG).
COMPUTE CombEI = SUM(EIPOSrecode, RECODEEINEG).
COMPUTE CombAO = SUM(AOPOSrecode, RECODEAONEG).
EXECUTE.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT CombGS
/METHOD=ENTER R0536300 R0536402
/SAVE RESID.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT CombAR
/METHOD=ENTER R0536300 R0536402
/SAVE RESID.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT CombWK
/METHOD=ENTER R0536300 R0536402
/SAVE RESID.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT CombPC
/METHOD=ENTER R0536300 R0536402
/SAVE RESID.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT CombNO
/METHOD=ENTER R0536300 R0536402
/SAVE RESID.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT CombCS
/METHOD=ENTER R0536300 R0536402
/SAVE RESID.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT CombAI
/METHOD=ENTER R0536300 R0536402
/SAVE RESID.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT CombSI
/METHOD=ENTER R0536300 R0536402
/SAVE RESID.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT CombMK
/METHOD=ENTER R0536300 R0536402
/SAVE RESID.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT CombMC
/METHOD=ENTER R0536300 R0536402
/SAVE RESID.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT CombEI
/METHOD=ENTER R0536300 R0536402
/SAVE RESID.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT CombAO
/METHOD=ENTER R0536300 R0536402
/SAVE RESID.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT CombGS
/METHOD=ENTER R0536300 R0536402 PARENT_EDUC SQRT_PARENTAL_INCOME
/SAVE RESID.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT CombAR
/METHOD=ENTER R0536300 R0536402 PARENT_EDUC SQRT_PARENTAL_INCOME
/SAVE RESID.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT CombWK
/METHOD=ENTER R0536300 R0536402 PARENT_EDUC SQRT_PARENTAL_INCOME
/SAVE RESID.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT CombPC
/METHOD=ENTER R0536300 R0536402 PARENT_EDUC SQRT_PARENTAL_INCOME
/SAVE RESID.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT CombNO
/METHOD=ENTER R0536300 R0536402 PARENT_EDUC SQRT_PARENTAL_INCOME
/SAVE RESID.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT CombCS
/METHOD=ENTER R0536300 R0536402 PARENT_EDUC SQRT_PARENTAL_INCOME
/SAVE RESID.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT CombAI
/METHOD=ENTER R0536300 R0536402 PARENT_EDUC SQRT_PARENTAL_INCOME
/SAVE RESID.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT CombSI
/METHOD=ENTER R0536300 R0536402 PARENT_EDUC SQRT_PARENTAL_INCOME
/SAVE RESID.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT CombMK
/METHOD=ENTER R0536300 R0536402 PARENT_EDUC SQRT_PARENTAL_INCOME
/SAVE RESID.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT CombMC
/METHOD=ENTER R0536300 R0536402 PARENT_EDUC SQRT_PARENTAL_INCOME
/SAVE RESID.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT CombEI
/METHOD=ENTER R0536300 R0536402 PARENT_EDUC SQRT_PARENTAL_INCOME
/SAVE RESID.

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT CombAO
/METHOD=ENTER R0536300 R0536402 PARENT_EDUC SQRT_PARENTAL_INCOME
/SAVE RESID.

USE ALL.
COMPUTE filter_$=(BHW=1).
VARIABLE LABELS filter_$ ‘BHW=1 (FILTER)’.
VALUE LABELS filter_$ 0 ‘Not Selected’ 1 ‘Selected’.
FORMATS filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE.

FACTOR
/VARIABLES RES_1 RES_2 RES_3 RES_4 RES_5 RES_6 RES_7 RES_8 RES_9 RES_10 RES_11 RES_12
/MISSING LISTWISE
/ANALYSIS RES_1 RES_2 RES_3 RES_4 RES_5 RES_6 RES_7 RES_8 RES_9 RES_10 RES_11 RES_12
/PRINT UNIVARIATE INITIAL CORRELATION SIG DET KMO EXTRACTION
/PLOT EIGEN
/CRITERIA MINEIGEN(1) ITERATE(25)
/EXTRACTION PAF
/ROTATION NOROTATE
/SAVE REG(ALL)
/METHOD=CORRELATION.

USE ALL.
COMPUTE filter_$=(BHW=2).
VARIABLE LABELS filter_$ ‘BHW=2 (FILTER)’.
VALUE LABELS filter_$ 0 ‘Not Selected’ 1 ‘Selected’.
FORMATS filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE.

FACTOR
/VARIABLES RES_1 RES_2 RES_3 RES_4 RES_5 RES_6 RES_7 RES_8 RES_9 RES_10 RES_11 RES_12
/MISSING LISTWISE
/ANALYSIS RES_1 RES_2 RES_3 RES_4 RES_5 RES_6 RES_7 RES_8 RES_9 RES_10 RES_11 RES_12
/PRINT UNIVARIATE INITIAL CORRELATION SIG DET KMO EXTRACTION
/PLOT EIGEN
/CRITERIA MINEIGEN(1) ITERATE(25)
/EXTRACTION PAF
/ROTATION NOROTATE
/SAVE REG(ALL)
/METHOD=CORRELATION.

USE ALL.
COMPUTE filter_$=(BHW=3).
VARIABLE LABELS filter_$ ‘BHW=3 (FILTER)’.
VALUE LABELS filter_$ 0 ‘Not Selected’ 1 ‘Selected’.
FORMATS filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE.

FACTOR
/VARIABLES RES_1 RES_2 RES_3 RES_4 RES_5 RES_6 RES_7 RES_8 RES_9 RES_10 RES_11 RES_12
/MISSING LISTWISE
/ANALYSIS RES_1 RES_2 RES_3 RES_4 RES_5 RES_6 RES_7 RES_8 RES_9 RES_10 RES_11 RES_12
/PRINT UNIVARIATE INITIAL CORRELATION SIG DET KMO EXTRACTION
/PLOT EIGEN
/CRITERIA MINEIGEN(1) ITERATE(25)
/EXTRACTION PAF
/ROTATION NOROTATE
/SAVE REG(ALL)
/METHOD=CORRELATION.

FILTER OFF.
USE ALL.
EXECUTE.

FACTOR
/VARIABLES RES_1 RES_2 RES_3 RES_4 RES_5 RES_6 RES_7 RES_8 RES_9 RES_10 RES_11 RES_12
/MISSING LISTWISE
/ANALYSIS RES_1 RES_2 RES_3 RES_4 RES_5 RES_6 RES_7 RES_8 RES_9 RES_10 RES_11 RES_12
/PRINT UNIVARIATE INITIAL CORRELATION SIG DET KMO EXTRACTION
/PLOT EIGEN
/CRITERIA MINEIGEN(1) ITERATE(25)
/EXTRACTION PAF
/ROTATION NOROTATE
/SAVE REG(ALL)
/METHOD=CORRELATION.

RECODE FAC1_4 (lowest thru highest=COPY) INTO G_factor_SexAge.
RECODE FAC2_4 (lowest thru highest=COPY) INTO nonG_factor_SexAge.
EXECUTE.

FACTOR
/VARIABLES RES_13 RES_14 RES_15 RES_16 RES_17 RES_18 RES_19 RES_20 RES_21 RES_22 RES_23 RES_24
/MISSING LISTWISE
/ANALYSIS RES_13 RES_14 RES_15 RES_16 RES_17 RES_18 RES_19 RES_20 RES_21 RES_22 RES_23 RES_24
/PRINT UNIVARIATE INITIAL CORRELATION SIG DET KMO EXTRACTION
/PLOT EIGEN
/CRITERIA MINEIGEN(1) ITERATE(25)
/EXTRACTION PAF
/ROTATION NOROTATE
/SAVE REG(ALL)
/METHOD=CORRELATION.

RECODE FAC1_5 (lowest thru highest=COPY) INTO G_factor_SexAgeParentEducIncome.
EXECUTE.

RECODE FAC2_5 (lowest thru highest=COPY) INTO nonG_factor_SexAgeParentEducIncome.
EXECUTE.

WEIGHT BY R1236201.

COMPUTE ScaledWeights0 = (R1236201*6850/1486720372).
EXECUTE.

WEIGHT BY ScaledWeights0.

MEANS TABLES=CombGS CombAR CombWK CombPC CombNO CombCS CombAI CombSI CombMK CombMC CombEI CombAO BY BHW
/CELLS MEAN COUNT STDDEV.

MEANS TABLES=RES_1 RES_2 RES_3 RES_4 RES_5 RES_6 RES_7 RES_8 RES_9 RES_10 RES_11 RES_12 BY BHW
/CELLS MEAN COUNT STDDEV.

WEIGHT OFF.

CORRELATIONS
/VARIABLES=BH RES_1 RES_2 RES_3 RES_4 RES_5 RES_6 RES_7 RES_8 RES_9 RES_10 RES_11 RES_12
/PRINT=TWOTAIL NOSIG
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=HW RES_1 RES_2 RES_3 RES_4 RES_5 RES_6 RES_7 RES_8 RES_9 RES_10 RES_11 RES_12
/PRINT=TWOTAIL NOSIG
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=BW RES_1 RES_2 RES_3 RES_4 RES_5 RES_6 RES_7 RES_8 RES_9 RES_10 RES_11 RES_12
/PRINT=TWOTAIL NOSIG
/MISSING=PAIRWISE.

COMPUTE ScaledWeights1 = (R1236201*5391/1283339614).
EXECUTE.

WEIGHT BY ScaledWeights1.

PARTIAL CORR
/VARIABLES=BW_race RES_1 RES_2 RES_3 RES_4 RES_5 RES_6 BY FAC1_4
/SIGNIFICANCE=TWOTAIL
/STATISTICS=DESCRIPTIVES CORR
/MISSING=LISTWISE.

PARTIAL CORR
/VARIABLES=BW_race RES_7 RES_8 RES_9 RES_10 RES_11 RES_12 BY FAC1_4
/SIGNIFICANCE=TWOTAIL
/STATISTICS=DESCRIPTIVES CORR
/MISSING=LISTWISE.

PARTIAL CORR
/VARIABLES=BW_race RES_1 RES_2 RES_3 RES_4 RES_5 RES_6 BY FAC2_4
/SIGNIFICANCE=TWOTAIL
/STATISTICS=DESCRIPTIVES CORR
/MISSING=LISTWISE.

PARTIAL CORR
/VARIABLES=BW_race RES_7 RES_8 RES_9 RES_10 RES_11 RES_12 BY FAC2_4
/SIGNIFICANCE=TWOTAIL
/STATISTICS=DESCRIPTIVES CORR
/MISSING=LISTWISE.

WEIGHT OFF.

FILTER OFF.
USE ALL.
EXECUTE.

SET MXCELLS=9000.

SORT CASES BY R1193000 R0000100.
CASESTOVARS
/ID = R1193000
/GROUPBY = VARIABLE.

USE ALL.
COMPUTE filter_$=(SIBLING.1=1 and SIBLING.2=1 and BHW.1=1 and BHW.2=1).
VARIABLE LABELS filter_$ ‘SIBLING.1=1 and SIBLING.2=1 and BHW.1=1 and BHW.2=1 (FILTER)’.
VALUE LABELS filter_$ 0 ‘Not Selected’ 1 ‘Selected’.
FORMATS filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE.

CORRELATIONS
/VARIABLES=RES_1.1 RES_1.2
/PRINT=TWOTAIL NOSIG
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_2.1 RES_2.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_3.1 RES_3.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_4.1 RES_4.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_5.1 RES_5.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_6.1 RES_6.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_7.1 RES_7.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_8.1 RES_8.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_9.1 RES_9.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_10.1 RES_10.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_11.1 RES_11.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_12.1 RES_12.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_1.1 RES_1.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_2.1 RES_2.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_3.1 RES_3.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_4.1 RES_4.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_5.1 RES_5.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_6.1 RES_6.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_7.1 RES_7.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_8.1 RES_8.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_9.1 RES_9.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_10.1 RES_10.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_11.1 RES_11.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_12.1 RES_12.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

RELIABILITY
/VARIABLES=RES_1.1 RES_1.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_2.1 RES_2.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_3.1 RES_3.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_4.1 RES_4.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_5.1 RES_5.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_6.1 RES_6.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_7.1 RES_7.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_8.1 RES_8.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_9.1 RES_9.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_10.1 RES_10.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_11.1 RES_11.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_12.1 RES_12.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

USE ALL.
COMPUTE filter_$=(SIBLING.1=1 and SIBLING.2=1 and BHW.1=2 and BHW.2=2).
VARIABLE LABELS filter_$ ‘SIBLING.1=1 and SIBLING.2=1 and BHW.1=2 and BHW.2=2 (FILTER)’.
VALUE LABELS filter_$ 0 ‘Not Selected’ 1 ‘Selected’.
FORMATS filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE.

CORRELATIONS
/VARIABLES=RES_1.1 RES_1.2
/PRINT=TWOTAIL NOSIG
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_2.1 RES_2.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_3.1 RES_3.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_4.1 RES_4.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_5.1 RES_5.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_6.1 RES_6.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_7.1 RES_7.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_8.1 RES_8.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_9.1 RES_9.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_10.1 RES_10.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_11.1 RES_11.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_12.1 RES_12.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_1.1 RES_1.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_2.1 RES_2.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_3.1 RES_3.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_4.1 RES_4.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_5.1 RES_5.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_6.1 RES_6.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_7.1 RES_7.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_8.1 RES_8.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_9.1 RES_9.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_10.1 RES_10.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_11.1 RES_11.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_12.1 RES_12.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

RELIABILITY
/VARIABLES=RES_1.1 RES_1.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_2.1 RES_2.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_3.1 RES_3.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_4.1 RES_4.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_5.1 RES_5.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_6.1 RES_6.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_7.1 RES_7.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_8.1 RES_8.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_9.1 RES_9.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_10.1 RES_10.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_11.1 RES_11.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_12.1 RES_12.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

USE ALL.
COMPUTE filter_$=(SIBLING.1=1 and SIBLING.2=1 and BHW.1=3 and BHW.2=3).
VARIABLE LABELS filter_$ ‘SIBLING.1=1 and SIBLING.2=1 and BHW.1=3 and BHW.2=3 (FILTER)’.
VALUE LABELS filter_$ 0 ‘Not Selected’ 1 ‘Selected’.
FORMATS filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE.

CORRELATIONS
/VARIABLES=RES_1.1 RES_1.2
/PRINT=TWOTAIL NOSIG
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_2.1 RES_2.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_3.1 RES_3.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_4.1 RES_4.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_5.1 RES_5.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_6.1 RES_6.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_7.1 RES_7.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_8.1 RES_8.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_9.1 RES_9.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_10.1 RES_10.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_11.1 RES_11.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=RES_12.1 RES_12.2
/PRINT=TWOTAIL NOSIG
/STATISTICS DESCRIPTIVES
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_1.1 RES_1.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_2.1 RES_2.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_3.1 RES_3.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_4.1 RES_4.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_5.1 RES_5.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_6.1 RES_6.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_7.1 RES_7.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_8.1 RES_8.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_9.1 RES_9.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_10.1 RES_10.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_11.1 RES_11.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=RES_12.1 RES_12.2
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

RELIABILITY
/VARIABLES=RES_1.1 RES_1.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_2.1 RES_2.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_3.1 RES_3.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_4.1 RES_4.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_5.1 RES_5.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_6.1 RES_6.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_7.1 RES_7.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_8.1 RES_8.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_9.1 RES_9.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_10.1 RES_10.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_11.1 RES_11.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

RELIABILITY
/VARIABLES=RES_12.1 RES_12.2
/SCALE(‘ALL VARIABLES’) ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 TESTVAL=0.

This entry was posted in Stats, Softwares, Syntax and tagged . Bookmark the permalink.