Racial IQ gap by SES in the NLSY97 (SPSS syntax)

Read the related page for syntax in other survey data.

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=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).

RECODE PARENTEDUC (1 thru 11=1) (12=2) (13 thru 20=3) (ELSE=SYSMIS) INTO PARENTEDUC3.

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’.

COMPUTE BW_SQRTparentalincome=BW*SQRT_PARENTAL_INCOME.
COMPUTE BW_ParentEduc=BW*PARENTEDUC.
COMPUTE BW_ParentEduc3=BW*PARENTEDUC3.

DESCRIPTIVES VARIABLES=SQRT_PARENTAL_INCOME PARENTEDUC
/SAVE
/STATISTICS=MEAN STDDEV MIN MAX.

COMPUTE Parent_SES=mean(ZSQRT_PARENTAL_INCOME,ZPARENTEDUC).
COMPUTE BW_ParentSES=BW*Parent_SES.

RECODE PARENTEDUC3 (1=1) INTO PARENTEDUC30.
RECODE PARENTEDUC3 (2=1) (3,1=0) INTO PARENTEDUC31.
RECODE PARENTEDUC3 (3=1) (2,1=0) INTO PARENTEDUC32.

COMPUTE BW_PARENTEDUC31=BW*PARENTEDUC31.
COMPUTE BW_PARENTEDUC32=BW*PARENTEDUC32.

FREQUENCIES VARIABLES=SQRT_PARENTAL_INCOME PARENTEDUC Parent_SES
/FORMAT=NOTABLE
/HISTOGRAM NORMAL
/ORDER=ANALYSIS.

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

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

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.

COMPUTE CombinedGS = SUM(GSPOSrecode, RECODEGSNEG).
COMPUTE CombinedAR = SUM(ARPOSrecode, RECODEARNEG).
COMPUTE CombinedWK = SUM(WKPOSrecode, RECODEWKNEG).
COMPUTE CombinedPC = SUM(PCPOSrecode, RECODEPCNEG).
COMPUTE CombinedNO = SUM(NOPOSrecode, RECODENONEG).
COMPUTE CombinedCS = SUM(CSPOSrecode, RECODECSNEG).
COMPUTE CombinedAI = SUM(AIPOSrecode, RECODEAINEG).
COMPUTE CombinedSI = SUM(SIPOSrecode, RECODESINEG).
COMPUTE CombinedMK = SUM(MKPOSrecode, RECODEMKNEG).
COMPUTE CombinedMC = SUM(MCPOSrecode, RECODEMCNEG).
COMPUTE CombinedEI = SUM(EIPOSrecode, RECODEEINEG).
COMPUTE CombinedAO = SUM(AOPOSrecode, RECODEAONEG).

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

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

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

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

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

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

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

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

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

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

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

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

RECODE ZRE_1 (lowest thru highest=COPY) INTO GENERAL_SCIENCE.
RECODE ZRE_2 (lowest thru highest=COPY) INTO ARITHMETIC_REASONING.
RECODE ZRE_3 (lowest thru highest=COPY) INTO WORD_KNOWLEDGE.
RECODE ZRE_4 (lowest thru highest=COPY) INTO PARAGRAPH_COMPREHENSION.
RECODE ZRE_5 (lowest thru highest=COPY) INTO NUMERICAL_OPERATIONS.
RECODE ZRE_6 (lowest thru highest=COPY) INTO CODING_SPEED.
RECODE ZRE_7 (lowest thru highest=COPY) INTO AUTO_INFORMATION.
RECODE ZRE_8 (lowest thru highest=COPY) INTO SHOP_INFORMATION.
RECODE ZRE_9 (lowest thru highest=COPY) INTO MATHEMATICS_KNOWLEDGE.
RECODE ZRE_10 (lowest thru highest=COPY) INTO MECHANICAL_COMPREHENSION.
RECODE ZRE_11 (lowest thru highest=COPY) INTO ELECTRONICS_INFORMATION.
RECODE ZRE_12 (lowest thru highest=COPY) INTO ASSEMBLING_OBJECTS.

FACTOR
/VARIABLES GENERAL_SCIENCE ARITHMETIC_REASONING WORD_KNOWLEDGE PARAGRAPH_COMPREHENSION NUMERICAL_OPERATIONS CODING_SPEED
AUTO_INFORMATION SHOP_INFORMATION MATHEMATICS_KNOWLEDGE MECHANICAL_COMPREHENSION ELECTRONICS_INFORMATION ASSEMBLING_OBJECTS
/MISSING LISTWISE
/ANALYSIS GENERAL_SCIENCE ARITHMETIC_REASONING WORD_KNOWLEDGE PARAGRAPH_COMPREHENSION NUMERICAL_OPERATIONS CODING_SPEED
AUTO_INFORMATION SHOP_INFORMATION MATHEMATICS_KNOWLEDGE MECHANICAL_COMPREHENSION ELECTRONICS_INFORMATION ASSEMBLING_OBJECTS
/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_1 (lowest thru highest=COPY) INTO G_score.
RECODE FAC2_1 (lowest thru highest=COPY) INTO non_G_score.

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

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

RECODE ZRE_13 (lowest thru highest=COPY) INTO PIATmath_SexAge.
RECODE ZRE_14 (lowest thru highest=COPY) INTO PIATmath_SexAgeParentEducIncome.

MEANS TABLES=PIATmath_SexAge PIATmath_SexAgeParentEducIncome BY BW
/CELLS MEAN COUNT STDDEV.

MEANS TABLES=PIATmath_SexAge PIATmath_SexAgeParentEducIncome R9829600 G_score non_G_score PARENTEDUC BY BHW
/CELLS MEAN COUNT STDDEV.

MEANS TABLES=PIATmath_SexAge R9829600 G_score non_G_score PARENTEDUC BY BHW BY PARENTEDUC3
/CELLS MEAN COUNT STDDEV.

WEIGHT BY R1236201.

MEANS TABLES=PIATmath_SexAge PIATmath_SexAgeParentEducIncome BY BW
/CELLS MEAN COUNT STDDEV.

MEANS TABLES=PIATmath_SexAge PIATmath_SexAgeParentEducIncome R9829600 G_score non_G_score PARENTEDUC BY BHW
/CELLS MEAN COUNT STDDEV.

MEANS TABLES=PIATmath_SexAge R9829600 G_score non_G_score PARENTEDUC BY BHW BY PARENTEDUC3
/CELLS MEAN COUNT STDDEV.

WEIGHT BY R3923701.

MEANS TABLES=PIATmath_SexAge PIATmath_SexAgeParentEducIncome R9829600 G_score non_G_score PARENTEDUC BY BHW
/CELLS MEAN COUNT STDDEV.

MEANS TABLES=PIATmath_SexAge R9829600 G_score non_G_score PARENTEDUC BY BHW BY PARENTEDUC3
/CELLS MEAN COUNT STDDEV.

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI(95) R ANOVA COLLIN TOL CHANGE ZPP
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT R9829600
/METHOD=ENTER R0536300 R0536402 BW PARENTEDUC
/METHOD=ENTER BW_ParentEduc
/SCATTERPLOT=(*ZRESID ,*ZPRED)
/RESIDUALS HISTOGRAM(ZRESID) NORMPROB(ZRESID).

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI(95) R ANOVA COLLIN TOL CHANGE ZPP
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT R9829600
/METHOD=ENTER R0536300 R0536402 BW SQRT_PARENTAL_INCOME
/METHOD=ENTER BW_SQRTparentalincome
/SCATTERPLOT=(*ZRESID ,*ZPRED)
/RESIDUALS HISTOGRAM(ZRESID) NORMPROB(ZRESID).

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI(95) R ANOVA COLLIN TOL CHANGE ZPP
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT G_score
/METHOD=ENTER R0536300 R0536402 BW PARENTEDUC
/METHOD=ENTER BW_ParentEduc
/SCATTERPLOT=(*ZRESID ,*ZPRED)
/RESIDUALS HISTOGRAM(ZRESID) NORMPROB(ZRESID).

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI(95) R ANOVA COLLIN TOL CHANGE ZPP
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT G_score
/METHOD=ENTER R0536300 R0536402 BW SQRT_PARENTAL_INCOME
/METHOD=ENTER BW_SQRTparentalincome
/SCATTERPLOT=(*ZRESID ,*ZPRED)
/RESIDUALS HISTOGRAM(ZRESID) NORMPROB(ZRESID).

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI(95) R ANOVA COLLIN TOL CHANGE ZPP
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT non_G_score
/METHOD=ENTER R0536300 R0536402 BW PARENTEDUC
/METHOD=ENTER BW_ParentEduc
/SCATTERPLOT=(*ZRESID ,*ZPRED)
/RESIDUALS HISTOGRAM(ZRESID) NORMPROB(ZRESID).

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI(95) R ANOVA COLLIN TOL CHANGE ZPP
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT non_G_score
/METHOD=ENTER R0536300 R0536402 BW SQRT_PARENTAL_INCOME
/METHOD=ENTER BW_SQRTparentalincome
/SCATTERPLOT=(*ZRESID ,*ZPRED)
/RESIDUALS HISTOGRAM(ZRESID) NORMPROB(ZRESID).

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI(95) R ANOVA COLLIN TOL CHANGE ZPP
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT R1318200
/METHOD=ENTER R0536300 R0536402 BW PARENTEDUC
/METHOD=ENTER BW_ParentEduc
/SCATTERPLOT=(*ZRESID ,*ZPRED)
/RESIDUALS HISTOGRAM(ZRESID) NORMPROB(ZRESID).

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI(95) R ANOVA COLLIN TOL CHANGE ZPP
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT R1318200
/METHOD=ENTER R0536300 R0536402 BW SQRT_PARENTAL_INCOME
/METHOD=ENTER BW_SQRTparentalincome
/SCATTERPLOT=(*ZRESID ,*ZPRED)
/RESIDUALS HISTOGRAM(ZRESID) NORMPROB(ZRESID).

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI(95) R ANOVA COLLIN TOL CHANGE ZPP
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT R9829600
/METHOD=ENTER R0536300 R0536402 BW Parent_SES
/METHOD=ENTER BW_ParentSES
/SCATTERPLOT=(*ZRESID ,*ZPRED)
/RESIDUALS HISTOGRAM(ZRESID) NORMPROB(ZRESID).

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI(95) R ANOVA COLLIN TOL CHANGE ZPP
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT G_score
/METHOD=ENTER R0536300 R0536402 BW Parent_SES
/METHOD=ENTER BW_ParentSES
/SCATTERPLOT=(*ZRESID ,*ZPRED)
/RESIDUALS HISTOGRAM(ZRESID) NORMPROB(ZRESID).

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI(95) R ANOVA COLLIN TOL CHANGE ZPP
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT non_G_score
/METHOD=ENTER R0536300 R0536402 BW Parent_SES
/METHOD=ENTER BW_ParentSES
/SCATTERPLOT=(*ZRESID ,*ZPRED)
/RESIDUALS HISTOGRAM(ZRESID) NORMPROB(ZRESID).

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI(95) R ANOVA COLLIN TOL CHANGE ZPP
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT R1318200
/METHOD=ENTER R0536300 R0536402 BW Parent_SES
/METHOD=ENTER BW_ParentSES
/SCATTERPLOT=(*ZRESID ,*ZPRED)
/RESIDUALS HISTOGRAM(ZRESID) NORMPROB(ZRESID).

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI(95) R ANOVA COLLIN TOL CHANGE ZPP
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT G_score
/METHOD=ENTER R0536300 R0536402 BW PARENTEDUC3
/METHOD=ENTER BW_PARENTEDUC31 to BW_PARENTEDUC32
/SCATTERPLOT=(*ZRESID ,*ZPRED)
/RESIDUALS HISTOGRAM(ZRESID) NORMPROB(ZRESID).

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI(95) R ANOVA COLLIN TOL CHANGE ZPP
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT R9829600
/METHOD=ENTER R0536300 R0536402 BW PARENTEDUC3
/METHOD=ENTER BW_PARENTEDUC31 to BW_PARENTEDUC32
/SCATTERPLOT=(*ZRESID ,*ZPRED)
/RESIDUALS HISTOGRAM(ZRESID) NORMPROB(ZRESID).

UNIANOVA R9829600 BY BW PARENTEDUC3 WITH R0536300 R0536402
/METHOD=SSTYPE(3)
/INTERCEPT=INCLUDE
/PLOT=PROFILE(PARENTEDUC3*BW)
/EMMEANS=TABLES(BW) WITH(R0536300=MEAN R0536402=MEAN)
/EMMEANS=TABLES(PARENTEDUC3) WITH(R0536300=MEAN R0536402=MEAN)
/EMMEANS=TABLES(BW*PARENTEDUC3) WITH(R0536300=MEAN R0536402=MEAN)
/PRINT=LOF OPOWER ETASQ HOMOGENEITY DESCRIPTIVE
/PLOT=SPREADLEVEL RESIDUALS
/CRITERIA=ALPHA(.05)
/DESIGN=R0536300 R0536402 BW PARENTEDUC3 BW*PARENTEDUC3.

UNIANOVA G_score BY BW PARENTEDUC3 WITH R0536300 R0536402
/METHOD=SSTYPE(3)
/INTERCEPT=INCLUDE
/PLOT=PROFILE(PARENTEDUC3*BW)
/EMMEANS=TABLES(BW) WITH(R0536300=MEAN R0536402=MEAN)
/EMMEANS=TABLES(PARENTEDUC3) WITH(R0536300=MEAN R0536402=MEAN)
/EMMEANS=TABLES(BW*PARENTEDUC3) WITH(R0536300=MEAN R0536402=MEAN)
/PRINT=LOF OPOWER ETASQ HOMOGENEITY DESCRIPTIVE
/PLOT=SPREADLEVEL RESIDUALS
/CRITERIA=ALPHA(.05)
/DESIGN=R0536300 R0536402 BW PARENTEDUC3 BW*PARENTEDUC3.

UNIANOVA R1318200 BY BW PARENTEDUC3 WITH R0536300 R0536402
/METHOD=SSTYPE(3)
/INTERCEPT=INCLUDE
/PLOT=PROFILE(PARENTEDUC3*BW)
/EMMEANS=TABLES(BW) WITH(R0536300=MEAN R0536402=MEAN)
/EMMEANS=TABLES(PARENTEDUC3) WITH(R0536300=MEAN R0536402=MEAN)
/EMMEANS=TABLES(BW*PARENTEDUC3) WITH(R0536300=MEAN R0536402=MEAN)
/PRINT=LOF OPOWER ETASQ HOMOGENEITY DESCRIPTIVE
/PLOT=SPREADLEVEL RESIDUALS
/CRITERIA=ALPHA(.05)
/DESIGN=R0536300 R0536402 BW PARENTEDUC3 BW*PARENTEDUC3.

WEIGHT OFF.

FILTER OFF.
USE ALL.
EXECUTE.

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