Racial Differences in Forward-Backward Digit Span and Bias Item Analysis in the CNLSY79 (SPSS syntax)

see below.

RECODE C0005300 (2=1) (1=2) (3=3) INTO BHW.

RECODE C0059900 (1 thru 11=1) (12=2) (13 thru 20=3) INTO MOMGRADE1986.
RECODE C0061100 (1 thru 11=1) (12=2) (13 thru 20=3) INTO MOMGRADE1988.
RECODE C0061112 (1 thru 11=1) (12=2) (13 thru 20=3) INTO MOMGRADE1990.
RECODE C0061116 (1 thru 11=1) (12=2) (13 thru 20=3) INTO MOMGRADE1992.
RECODE C0061120 (1 thru 11=1) (12=2) (13 thru 20=3) INTO MOMGRADE1994.
RECODE C0061122 (1 thru 11=1) (12=2) (13 thru 20=3) INTO MOMGRADE1996.
RECODE C0061124 (1 thru 11=1) (12=2) (13 thru 20=3) INTO MOMGRADE1998.
RECODE C0061126 (1 thru 11=1) (12=2) (13 thru 20=3) INTO MOMGRADE2000.
RECODE C0061128 (1 thru 11=1) (12=2) (13 thru 20=3) INTO MOMGRADE2002.
RECODE C0061130 (1 thru 11=1) (12=2) (13 thru 20=3) INTO MOMGRADE2004.
RECODE C0061132 (1 thru 11=1) (12=2) (13 thru 20=3) INTO MOMGRADE2006.

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

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

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

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

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

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

RECODE ZRE_1 (lowest thru highest=COPY) INTO PIATmath1988.
RECODE ZRE_2 (lowest thru highest=COPY) INTO PIATmath1990.
RECODE ZRE_3 (lowest thru highest=COPY) INTO PIATmath1992.
RECODE ZRE_4 (lowest thru highest=COPY) INTO PIATmath1994.
RECODE ZRE_5 (lowest thru highest=COPY) INTO PIATmath1996.
RECODE ZRE_6 (lowest thru highest=COPY) INTO PIATmath1998.

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

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

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

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

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

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

RECODE ZRE_7 (lowest thru highest=COPY) INTO PIATreadrecognition1988.
RECODE ZRE_8 (lowest thru highest=COPY) INTO PIATreadrecognition1990.
RECODE ZRE_9 (lowest thru highest=COPY) INTO PIATreadrecognition1992.
RECODE ZRE_10 (lowest thru highest=COPY) INTO PIATreadrecognition1994.
RECODE ZRE_11 (lowest thru highest=COPY) INTO PIATreadrecognition1996.
RECODE ZRE_12 (lowest thru highest=COPY) INTO PIATreadrecognition1998.

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

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

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

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

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

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

RECODE ZRE_13 (lowest thru highest=COPY) INTO PIATreadcomprehension1988.
RECODE ZRE_14 (lowest thru highest=COPY) INTO PIATreadcomprehension1990.
RECODE ZRE_15 (lowest thru highest=COPY) INTO PIATreadcomprehension1992.
RECODE ZRE_16 (lowest thru highest=COPY) INTO PIATreadcomprehension1994.
RECODE ZRE_17 (lowest thru highest=COPY) INTO PIATreadcomprehension1996.
RECODE ZRE_18 (lowest thru highest=COPY) INTO PIATreadcomprehension1998.

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

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

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

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

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

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

RECODE ZRE_19 (lowest thru highest=COPY) INTO PPVT1988.
RECODE ZRE_20 (lowest thru highest=COPY) INTO PPVT1990.
RECODE ZRE_21 (lowest thru highest=COPY) INTO PPVT1992.
RECODE ZRE_22 (lowest thru highest=COPY) INTO PPVT1994.
RECODE ZRE_23 (lowest thru highest=COPY) INTO PPVT1996.
RECODE ZRE_24 (lowest thru highest=COPY) INTO PPVT1998.

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

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

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

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

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

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

RECODE ZRE_25 (lowest thru highest=COPY) INTO DigitSpan1988.
RECODE ZRE_26 (lowest thru highest=COPY) INTO DigitSpan1990.
RECODE ZRE_27 (lowest thru highest=COPY) INTO DigitSpan1992.
RECODE ZRE_28 (lowest thru highest=COPY) INTO DigitSpan1994.
RECODE ZRE_29 (lowest thru highest=COPY) INTO DigitSpan1996.
RECODE ZRE_30 (lowest thru highest=COPY) INTO DigitSpan1998.

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

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

RECODE ZRE_31 (lowest thru highest=COPY) INTO DigitSpan_forward1986.
RECODE ZRE_32 (lowest thru highest=COPY) INTO DigitSpan_backward1986.

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

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

RECODE ZRE_33 (lowest thru highest=COPY) INTO DigitSpan_forward1988.
RECODE ZRE_34 (lowest thru highest=COPY) INTO DigitSpan_backward1988.

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

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

RECODE ZRE_35 (lowest thru highest=COPY) INTO DigitSpan_forward1990.
RECODE ZRE_36 (lowest thru highest=COPY) INTO DigitSpan_backward1990.

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

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

RECODE ZRE_37 (lowest thru highest=COPY) INTO DigitSpan_forward1992.
RECODE ZRE_38 (lowest thru highest=COPY) INTO DigitSpan_backward1992.

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

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

RECODE ZRE_39 (lowest thru highest=COPY) INTO DigitSpan_forward1994.
RECODE ZRE_40 (lowest thru highest=COPY) INTO DigitSpan_backward1994.

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

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

RECODE ZRE_41 (lowest thru highest=COPY) INTO DigitSpan_forward1996.
RECODE ZRE_42 (lowest thru highest=COPY) INTO DigitSpan_backward1996.

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

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

RECODE ZRE_43 (lowest thru highest=COPY) INTO DigitSpan_forward1998.
RECODE ZRE_44 (lowest thru highest=COPY) INTO DigitSpan_backward1998.

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

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

RECODE ZRE_45 (lowest thru highest=COPY) INTO DigitSpan_forward2000.
RECODE ZRE_46 (lowest thru highest=COPY) INTO DigitSpan_backward2000.

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

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

RECODE ZRE_47 (lowest thru highest=COPY) INTO DigitSpan_forward2002.
RECODE ZRE_48 (lowest thru highest=COPY) INTO DigitSpan_backward2002.

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

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

RECODE ZRE_49 (lowest thru highest=COPY) INTO DigitSpan_forward2004.
RECODE ZRE_50 (lowest thru highest=COPY) INTO DigitSpan_backward2004.

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

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

RECODE ZRE_51 (lowest thru highest=COPY) INTO DigitSpan_forward2006.
RECODE ZRE_52 (lowest thru highest=COPY) INTO DigitSpan_backward2006.

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

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

RECODE ZRE_53 (lowest thru highest=COPY) INTO DigitSpan_forward2008.
RECODE ZRE_54 (lowest thru highest=COPY) INTO DigitSpan_backward2008.

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