Holes in Colorism Hypothesis : Add Health Syntax

See the related post here.

IF H1GI6B=1 and H3OD4B=1 and H1GI6A=0 and H3OD4A=0 and H1GI4=0 and H3OD2=0 BW=0.
IF H1GI6B=0 and H3OD4B=0 and H1GI6A=1 and H3OD4A=1 and H1GI4=0 and H3OD2=0 BW=1.

COMPUTE sqrtEARNINGS=SQRT(H4EC2+1).
VARIABLE LABELS sqrtEARNINGS ‘square root of respondent earnings’.
EXECUTE.

COMPUTE ScaledWeights1 = (GSWGT1*967/2136489).
EXECUTE.

WEIGHT BY ScaledWeights1.

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

CORRELATIONS
/VARIABLES=PVTSTD3C PVTSTD1
/PRINT=TWOTAIL NOSIG
/MISSING=PAIRWISE.

NONPAR CORR
/VARIABLES=PVTSTD3C PVTSTD1
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.

WEIGHT BY GSWGT1.

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI(95) BCOV R ANOVA CHANGE ZPP
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT H4ED2
/METHOD=ENTER H3IR17
/METHOD=ENTER PVTSTD1
/METHOD=ENTER PVTSTD3C
/PARTIALPLOT ALL
/SCATTERPLOT=(*ZRESID ,*ZPRED)
/RESIDUALS DURBIN HISTOGRAM(ZRESID) NORMPROB(ZRESID)
/CASEWISE PLOT(ZRESID) OUTLIERS(3).

WEIGHT OFF.

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT H4ED2
/METHOD=ENTER H3IR17
/METHOD=ENTER PVTSTD1
/METHOD=ENTER PVTSTD3C
/SAVE MAHAL COOK LEVER ZRESID SDBETA SDFIT COVRATIO.

EXAMINE VARIABLES=ZRE_1
/PLOT BOXPLOT STEMLEAF HISTOGRAM NPPLOT
/COMPARE GROUPS
/STATISTICS DESCRIPTIVES
/CINTERVAL 95
/MISSING LISTWISE
/NOTOTAL.

SUMMARIZE
/TABLES=MAH_1 COO_1 LEV_1 COV_1 SDF_1 SDB0_1 SDB1_1 SDB2_1 SDB3_1
/FORMAT=VALIDLIST CASENUM TOTAL LIMIT=100
/TITLE=’Case Summaries’
/MISSING=VARIABLE
/CELLS=COUNT.

WEIGHT BY GSWGT1.

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

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI(95) BCOV R ANOVA CHANGE ZPP
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT H4ED2
/METHOD=ENTER H3IR17
/METHOD=ENTER PA12
/METHOD=ENTER PVTSTD1 PVTSTD3C
/PARTIALPLOT ALL
/SCATTERPLOT=(*ZRESID ,*ZPRED)
/RESIDUALS DURBIN HISTOGRAM(ZRESID) NORMPROB(ZRESID)
/CASEWISE PLOT(ZRESID) OUTLIERS(3).

WEIGHT OFF.

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT H4ED2
/METHOD=ENTER H3IR17
/METHOD=ENTER PA12
/METHOD=ENTER PVTSTD1 PVTSTD3C
/SAVE MAHAL COOK LEVER ZRESID SDBETA SDFIT COVRATIO.

EXAMINE VARIABLES=ZRE_2
/PLOT BOXPLOT STEMLEAF HISTOGRAM NPPLOT
/COMPARE GROUPS
/STATISTICS DESCRIPTIVES
/CINTERVAL 95
/MISSING LISTWISE
/NOTOTAL.

SUMMARIZE
/TABLES=MAH_2 COO_2 LEV_2 COV_2 SDF_2 SDB0_2 SDB1_2 SDB2_2 SDB3_2 SDB4_2
/FORMAT=VALIDLIST CASENUM TOTAL LIMIT=100
/TITLE=’Case Summaries’
/MISSING=VARIABLE
/CELLS=COUNT.

WEIGHT BY GSWGT1.

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

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI(95) BCOV R ANOVA CHANGE ZPP
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT H4ED2
/METHOD=ENTER H3IR17
/METHOD=ENTER PA12
/METHOD=ENTER PVTSTD1 PVTSTD3C
/PARTIALPLOT ALL
/SCATTERPLOT=(*ZRESID ,*ZPRED)
/RESIDUALS DURBIN HISTOGRAM(ZRESID) NORMPROB(ZRESID)
/CASEWISE PLOT(ZRESID) OUTLIERS(3).

WEIGHT OFF.

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT H4ED2
/METHOD=ENTER H3IR17
/METHOD=ENTER PA12
/METHOD=ENTER PVTSTD1 PVTSTD3C
/SAVE MAHAL COOK LEVER ZRESID SDBETA SDFIT COVRATIO.

EXAMINE VARIABLES=ZRE_3
/PLOT BOXPLOT STEMLEAF HISTOGRAM NPPLOT
/COMPARE GROUPS
/STATISTICS DESCRIPTIVES
/CINTERVAL 95
/MISSING LISTWISE
/NOTOTAL.

SUMMARIZE
/TABLES=MAH_3 COO_3 LEV_3 COV_3 SDF_3 SDB0_3 SDB1_3 SDB2_3 SDB3_3 SDB4_3
/FORMAT=VALIDLIST CASENUM TOTAL LIMIT=100
/TITLE=’Case Summaries’
/MISSING=VARIABLE
/CELLS=COUNT.

WEIGHT BY GSWGT1.

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

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI(95) BCOV R ANOVA CHANGE ZPP
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT H4EC2
/METHOD=ENTER H3IR17
/METHOD=ENTER PA12
/METHOD=ENTER H4ED2
/METHOD=ENTER PVTSTD1 PVTSTD3C
/PARTIALPLOT ALL
/SCATTERPLOT=(*ZRESID ,*ZPRED)
/RESIDUALS DURBIN HISTOGRAM(ZRESID) NORMPROB(ZRESID)
/CASEWISE PLOT(ZRESID) OUTLIERS(3).

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI(95) BCOV R ANOVA CHANGE ZPP
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT sqrtEARNINGS
/METHOD=ENTER H3IR17
/METHOD=ENTER PA12
/METHOD=ENTER H4ED2
/METHOD=ENTER PVTSTD1 PVTSTD3C
/PARTIALPLOT ALL
/SCATTERPLOT=(*ZRESID ,*ZPRED)
/RESIDUALS DURBIN HISTOGRAM(ZRESID) NORMPROB(ZRESID)
/CASEWISE PLOT(ZRESID) OUTLIERS(3).

WEIGHT OFF.

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT sqrtEARNINGS
/METHOD=ENTER H3IR17
/METHOD=ENTER PA12
/METHOD=ENTER H4ED2
/METHOD=ENTER PVTSTD1 PVTSTD3C
/SAVE MAHAL COOK LEVER ZRESID SDBETA SDFIT COVRATIO.

EXAMINE VARIABLES=ZRE_4
/PLOT BOXPLOT STEMLEAF HISTOGRAM NPPLOT
/COMPARE GROUPS
/STATISTICS DESCRIPTIVES
/CINTERVAL 95
/MISSING LISTWISE
/NOTOTAL.

SUMMARIZE
/TABLES=MAH_4 COO_4 LEV_4 COV_4 SDF_4 SDB0_4 SDB1_4 SDB2_4 SDB3_4 SDB4_4 SDB5_4
/FORMAT=VALIDLIST CASENUM TOTAL LIMIT=100
/TITLE=’Case Summaries’
/MISSING=VARIABLE
/CELLS=COUNT.

WEIGHT BY GSWGT1.

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

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI(95) BCOV R ANOVA CHANGE ZPP
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT H4EC2
/METHOD=ENTER H3IR17
/METHOD=ENTER PA12
/METHOD=ENTER H4ED2
/METHOD=ENTER PVTSTD1 PVTSTD3C
/PARTIALPLOT ALL
/SCATTERPLOT=(*ZRESID ,*ZPRED)
/RESIDUALS DURBIN HISTOGRAM(ZRESID) NORMPROB(ZRESID)
/CASEWISE PLOT(ZRESID) OUTLIERS(3).

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI(95) BCOV R ANOVA CHANGE ZPP
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT sqrtEARNINGS
/METHOD=ENTER H3IR17
/METHOD=ENTER PA12
/METHOD=ENTER H4ED2
/METHOD=ENTER PVTSTD1 PVTSTD3C
/PARTIALPLOT ALL
/SCATTERPLOT=(*ZRESID ,*ZPRED)
/RESIDUALS DURBIN HISTOGRAM(ZRESID) NORMPROB(ZRESID)
/CASEWISE PLOT(ZRESID) OUTLIERS(3).

WEIGHT OFF.

REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT sqrtEARNINGS
/METHOD=ENTER H3IR17
/METHOD=ENTER PA12
/METHOD=ENTER H4ED2
/METHOD=ENTER PVTSTD1 PVTSTD3C
/SAVE MAHAL COOK LEVER ZRESID SDBETA SDFIT COVRATIO.

EXAMINE VARIABLES=ZRE_5
/PLOT BOXPLOT STEMLEAF HISTOGRAM NPPLOT
/COMPARE GROUPS
/STATISTICS DESCRIPTIVES
/CINTERVAL 95
/MISSING LISTWISE
/NOTOTAL.

SUMMARIZE
/TABLES=MAH_5 COO_5 LEV_5 COV_5 SDF_5 SDB0_5 SDB1_5 SDB2_5 SDB3_5 SDB4_5 SDB5_5
/FORMAT=VALIDLIST CASENUM TOTAL LIMIT=100
/TITLE=’Case Summaries’
/MISSING=VARIABLE
/CELLS=COUNT.

FILTER OFF.
USE ALL.
EXECUTE.

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