IQ advantage of multiracials : A Jensen Effect (NLSY79 SPSS syntax)

See the related post here.

IF R0214700=2 BW=1.
IF R0214700=3 BW=2.

IF R0214700=1 HW=1.
IF R0214700=3 HW=2.

IF R0214700=2 BH=1.
IF R0214700=1 BH=2.

IF R0214700=2 BHW=1.
IF R0214700=1 BHW=2.
IF R0214700=3 BHW=3.

RECODE R0009700 (3=1) (5 thru 7=1) (11 thru 12=1) (22 thru 25=1) (27=1) (ELSE=0) INTO WHITE_SECOND_RACE_MENTIONED.
EXECUTE.

IF R0009600=1 MULATTO1=0.
IF R0009600=1 AND WHITE_SECOND_RACE_MENTIONED=1 MULATTO1=1.

RECODE R0009700 (2 thru 29=1) (ELSE=0) INTO NON_BLACK_SECOND_RACE_MENTIONED.
EXECUTE.

IF R0009600=1 MULTIRACIAL1=0.
IF R0009600=1 AND NON_BLACK_SECOND_RACE_MENTIONED=1 MULTIRACIAL1=1.

RECODE R0009600 (3=1) (5 thru 7=1) (11 thru 12=1) (22 thru 25=1) (27=1) (ELSE=0) INTO WHITE_FIRST_RACE_MENTIONED.
EXECUTE.

IF R0009600=1 MULATTO2=0.
IF R0009700=1 AND WHITE_FIRST_RACE_MENTIONED=1 MULATTO2=1.

RECODE R0009600 (2 thru 29=1) (ELSE=0) INTO NON_BLACK_FIRST_RACE_MENTIONED.
EXECUTE.

IF R0009600=1 MULTIRACIAL2=0.
IF R0009700=1 AND NON_BLACK_FIRST_RACE_MENTIONED=1 MULTIRACIAL2=1.

IF R0009600=1 MULATTO=0.
IF MULATTO1=1 OR MULATTO2=1 MULATTO=1.

IF R0009600=1 MULTIRACIAL=0.
IF MULTIRACIAL1=1 OR MULTIRACIAL2=1 MULTIRACIAL=1.

WEIGHT BY R0216100.

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

RECODE RES_1 (lowest thru highest=COPY) INTO GENERAL_SCIENCE.
EXECUTE.

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

RECODE RES_2 (lowest thru highest=COPY) INTO ARITHMETIC_REASONING.
EXECUTE.

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

RECODE RES_3 (lowest thru highest=COPY) INTO WORD_KNOWLEDGE.
EXECUTE.

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

RECODE RES_4 (lowest thru highest=COPY) INTO PARAGRAPH_COMPREHENSION.
EXECUTE.

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

RECODE RES_5 (lowest thru highest=COPY) INTO NUMERICAL_OPERATIONS.
EXECUTE.

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

RECODE RES_6 (lowest thru highest=COPY) INTO CODING_SPEED.
EXECUTE.

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

RECODE RES_7 (lowest thru highest=COPY) INTO AUTO_AND_SHOP_INFO.
EXECUTE.

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

RECODE RES_8 (lowest thru highest=COPY) INTO MATHEMATICS_KNOWLEDGE.
EXECUTE.

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

RECODE RES_9 (lowest thru highest=COPY) INTO MECHANICAL_COMPREHENSION.
EXECUTE.

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

RECODE RES_10 (lowest thru highest=COPY) INTO ELECTRONICS_INFORMATION.
EXECUTE.

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 GENERAL_SCIENCE ARITHMETIC_REASONING WORD_KNOWLEDGE PARAGRAPH_COMPREHENSION NUMERICAL_OPERATIONS CODING_SPEED AUTO_AND_SHOP_INFO MATHEMATICS_KNOWLEDGE MECHANICAL_COMPREHENSION ELECTRONICS_INFORMATION
/MISSING LISTWISE
/ANALYSIS GENERAL_SCIENCE ARITHMETIC_REASONING WORD_KNOWLEDGE PARAGRAPH_COMPREHENSION NUMERICAL_OPERATIONS CODING_SPEED AUTO_AND_SHOP_INFO MATHEMATICS_KNOWLEDGE MECHANICAL_COMPREHENSION ELECTRONICS_INFORMATION
/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 GENERAL_SCIENCE ARITHMETIC_REASONING WORD_KNOWLEDGE PARAGRAPH_COMPREHENSION NUMERICAL_OPERATIONS CODING_SPEED AUTO_AND_SHOP_INFO MATHEMATICS_KNOWLEDGE MECHANICAL_COMPREHENSION ELECTRONICS_INFORMATION
/MISSING LISTWISE
/ANALYSIS GENERAL_SCIENCE ARITHMETIC_REASONING WORD_KNOWLEDGE PARAGRAPH_COMPREHENSION NUMERICAL_OPERATIONS CODING_SPEED AUTO_AND_SHOP_INFO MATHEMATICS_KNOWLEDGE MECHANICAL_COMPREHENSION ELECTRONICS_INFORMATION
/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 GENERAL_SCIENCE ARITHMETIC_REASONING WORD_KNOWLEDGE PARAGRAPH_COMPREHENSION NUMERICAL_OPERATIONS CODING_SPEED AUTO_AND_SHOP_INFO MATHEMATICS_KNOWLEDGE MECHANICAL_COMPREHENSION ELECTRONICS_INFORMATION
/MISSING LISTWISE
/ANALYSIS GENERAL_SCIENCE ARITHMETIC_REASONING WORD_KNOWLEDGE PARAGRAPH_COMPREHENSION NUMERICAL_OPERATIONS CODING_SPEED AUTO_AND_SHOP_INFO MATHEMATICS_KNOWLEDGE MECHANICAL_COMPREHENSION ELECTRONICS_INFORMATION
/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 GENERAL_SCIENCE ARITHMETIC_REASONING WORD_KNOWLEDGE PARAGRAPH_COMPREHENSION NUMERICAL_OPERATIONS CODING_SPEED AUTO_AND_SHOP_INFO MATHEMATICS_KNOWLEDGE MECHANICAL_COMPREHENSION ELECTRONICS_INFORMATION
/MISSING LISTWISE
/ANALYSIS GENERAL_SCIENCE ARITHMETIC_REASONING WORD_KNOWLEDGE PARAGRAPH_COMPREHENSION NUMERICAL_OPERATIONS CODING_SPEED AUTO_AND_SHOP_INFO MATHEMATICS_KNOWLEDGE MECHANICAL_COMPREHENSION ELECTRONICS_INFORMATION
/PRINT UNIVARIATE INITIAL CORRELATION SIG DET KMO EXTRACTION
/PLOT EIGEN
/CRITERIA MINEIGEN(1) ITERATE(25)
/EXTRACTION PAF
/ROTATION NOROTATE
/SAVE REG(ALL)
/METHOD=CORRELATION.

MEANS TABLES=GENERAL_SCIENCE ARITHMETIC_REASONING WORD_KNOWLEDGE PARAGRAPH_COMPREHENSION NUMERICAL_OPERATIONS CODING_SPEED AUTO_AND_SHOP_INFO MATHEMATICS_KNOWLEDGE MECHANICAL_COMPREHENSION ELECTRONICS_INFORMATION BY BHW
/CELLS MEAN COUNT STDDEV.

MEANS TABLES=GENERAL_SCIENCE ARITHMETIC_REASONING WORD_KNOWLEDGE PARAGRAPH_COMPREHENSION NUMERICAL_OPERATIONS CODING_SPEED AUTO_AND_SHOP_INFO MATHEMATICS_KNOWLEDGE MECHANICAL_COMPREHENSION ELECTRONICS_INFORMATION BY MULATTO
/CELLS MEAN COUNT STDDEV.

MEANS TABLES=GENERAL_SCIENCE ARITHMETIC_REASONING WORD_KNOWLEDGE PARAGRAPH_COMPREHENSION NUMERICAL_OPERATIONS CODING_SPEED AUTO_AND_SHOP_INFO MATHEMATICS_KNOWLEDGE MECHANICAL_COMPREHENSION ELECTRONICS_INFORMATION BY MULTIRACIAL
/CELLS MEAN COUNT STDDEV.

CORRELATIONS
/VARIABLES=MULATTO GENERAL_SCIENCE ARITHMETIC_REASONING WORD_KNOWLEDGE PARAGRAPH_COMPREHENSION NUMERICAL_OPERATIONS CODING_SPEED AUTO_AND_SHOP_INFO MATHEMATICS_KNOWLEDGE MECHANICAL_COMPREHENSION ELECTRONICS_INFORMATION
/PRINT=TWOTAIL NOSIG
/MISSING=PAIRWISE.

CORRELATIONS
/VARIABLES=MULTIRACIAL GENERAL_SCIENCE ARITHMETIC_REASONING WORD_KNOWLEDGE PARAGRAPH_COMPREHENSION NUMERICAL_OPERATIONS CODING_SPEED AUTO_AND_SHOP_INFO MATHEMATICS_KNOWLEDGE MECHANICAL_COMPREHENSION ELECTRONICS_INFORMATION
/PRINT=TWOTAIL NOSIG
/MISSING=PAIRWISE.

MEANS TABLES=R0618301 FAC1_4 FAC2_4 BY MULATTO MULTIRACIAL
/CELLS MEAN COUNT STDDEV.

PARTIAL CORR
/VARIABLES=MULATTO GENERAL_SCIENCE ARITHMETIC_REASONING WORD_KNOWLEDGE PARAGRAPH_COMPREHENSION NUMERICAL_OPERATIONS CODING_SPEED AUTO_AND_SHOP_INFO MATHEMATICS_KNOWLEDGE MECHANICAL_COMPREHENSION ELECTRONICS_INFORMATION BY FAC1_4
/SIGNIFICANCE=TWOTAIL
/STATISTICS=CORR
/MISSING=LISTWISE.

PARTIAL CORR
/VARIABLES=MULATTO GENERAL_SCIENCE ARITHMETIC_REASONING WORD_KNOWLEDGE PARAGRAPH_COMPREHENSION NUMERICAL_OPERATIONS CODING_SPEED AUTO_AND_SHOP_INFO MATHEMATICS_KNOWLEDGE MECHANICAL_COMPREHENSION ELECTRONICS_INFORMATION BY FAC2_4
/SIGNIFICANCE=TWOTAIL
/STATISTICS=CORR
/MISSING=LISTWISE.

PARTIAL CORR
/VARIABLES=MULTIRACIAL GENERAL_SCIENCE ARITHMETIC_REASONING WORD_KNOWLEDGE PARAGRAPH_COMPREHENSION NUMERICAL_OPERATIONS CODING_SPEED AUTO_AND_SHOP_INFO MATHEMATICS_KNOWLEDGE MECHANICAL_COMPREHENSION ELECTRONICS_INFORMATION BY FAC1_4
/SIGNIFICANCE=TWOTAIL
/STATISTICS=CORR
/MISSING=LISTWISE.

PARTIAL CORR
/VARIABLES=MULTIRACIAL GENERAL_SCIENCE ARITHMETIC_REASONING WORD_KNOWLEDGE PARAGRAPH_COMPREHENSION NUMERICAL_OPERATIONS CODING_SPEED AUTO_AND_SHOP_INFO MATHEMATICS_KNOWLEDGE MECHANICAL_COMPREHENSION ELECTRONICS_INFORMATION BY FAC2_4
/SIGNIFICANCE=TWOTAIL
/STATISTICS=CORR
/MISSING=LISTWISE.

CORRELATIONS
/VARIABLES=R0618301 MULATTO MULTIRACIAL
/PRINT=TWOTAIL NOSIG
/MISSING=PAIRWISE.

WEIGHT OFF.

MEANS TABLES=GENERAL_SCIENCE ARITHMETIC_REASONING WORD_KNOWLEDGE PARAGRAPH_COMPREHENSION NUMERICAL_OPERATIONS CODING_SPEED AUTO_AND_SHOP_INFO MATHEMATICS_KNOWLEDGE MECHANICAL_COMPREHENSION ELECTRONICS_INFORMATION BY BHW
/CELLS MEAN COUNT STDDEV.

MEANS TABLES=GENERAL_SCIENCE ARITHMETIC_REASONING WORD_KNOWLEDGE PARAGRAPH_COMPREHENSION NUMERICAL_OPERATIONS CODING_SPEED AUTO_AND_SHOP_INFO MATHEMATICS_KNOWLEDGE MECHANICAL_COMPREHENSION ELECTRONICS_INFORMATION BY MULATTO
/CELLS MEAN COUNT STDDEV.

MEANS TABLES=GENERAL_SCIENCE ARITHMETIC_REASONING WORD_KNOWLEDGE PARAGRAPH_COMPREHENSION NUMERICAL_OPERATIONS CODING_SPEED AUTO_AND_SHOP_INFO MATHEMATICS_KNOWLEDGE MECHANICAL_COMPREHENSION ELECTRONICS_INFORMATION BY MULTIRACIAL
/CELLS MEAN COUNT STDDEV.

MEANS TABLES=R0618301 FAC1_4 FAC2_4 BY MULATTO MULTIRACIAL
/CELLS MEAN COUNT STDDEV.

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