Male model 228 explanatory variables  Energy level

MARS 1 Results

	Dataset:	chwideZAMay2012Masterchicosold.dta

	Predictor Variables:	EDU2, EDU3, EDU4, EDU5, EDU6, EDU7, EDU8, MARRW12,
		MARRW13, MARRW14, MARRW15, MARRW16, MARRW22, MARRW23,
		MARRW24, MARRW25, MARRW26, MARRW27, MARRW31, MARRW32,
		MARRW33, MARRW34, MARRW35, MARRW36, CHILDW1, CHILDW2,
		CHILDW3, EMPLW11, EMPLW12, EMPLW13, EMPLW14, EMPLW15,
		EMPLW16, EMPLW22, EMPLW23, EMPLW24, EMPLW25, EMPLW26,
		EMPLW32, EMPLW33, EMPLW34, OCC2W1, OCC3W1, OCC4W1,
		OCC5W1, OCC6W1, OCC7W1, OCC8W1, OCC1W2, OCC2W2, OCC3W2,
		OCC4W2, OCC5W2, OCC6W2, OCC7W2, OCC8W2, OCC1W3, OCC2W3,
		OCC3W3, OCC4W3, OCC5W3, OCC6W3, OCC7W3, OCC8W3, INC1W1,
		INC2W1, INC3W1, INC4W1, INC1W2, INC2W2, INC3W2, INC4W2,
		INC1W3, INC2W3, INC3W3, INC4W3, JSW1, JSW2, JSW3,
		DEAW1, DEAW2, DEAW3, DVCEW1, DVCEW2, DVCEW3, SEPAW1,
		SEPAW2, SEPAW3, ACCDW1, ACCDW2, ACCDW3, CATAW1, CATAW2,
		CATAW3, ILLW1, ILLW2, ILLW3, MOVEW1, MOVEW2, MOVEW3,
		SHJOBW1, SHJOBW2, SHJOBW3, SHFAMW1, SHFAMW2, SHFAMW3,
		SHHLW1, SHHLW2, SHHLW3, SHFINCW1, SHFINCW2, SHFINCW3,
		SHHOUSW1, SHHOUSW2, SHHOUSW3, SHRELAW1, SHRELAW2,
		SHRELAW3, SUPRTW1, SUPRTW2, SUPRTW3, SUFAMW1, SUFAMW2,
		SUFAMW3, SUCHRW1, SUCHRW2, SUCHRW3, PHLTHW1, PHLTHW2,
		PHLTHW3, SMOKW1, SMOKW2, SMOKW3, LIQW1, LIQW2, LIQW3,
		MEDCOW1, MEDCOW2, MEDCOW3, GOFERW1, GOFERW2, GOFERW3,
		FDFERW1, FDFERW2, FDFERW3, TRGOVW1, TRGOVW2, TRGOVW3,
		TRREPW1, TRREPW2, TRREPW3, KMACC, KMWORK, INJSELFR,
		INJOTHR, DEFNW1, DEFNW2, DEFNW3, EFRADW1, EFRADW2,
		EFRADW3, AIRW1, AIRW2, AIRW3, RADCHW1, RADCHW2, RADCHW3,
		RADTLW1, RADTLW2, RADTLW3, RADHLW1, RADHLW2, RADHLW3,
		RADFMW1, RADFMW2, RADFMW3, DAFTER, NEIW1, NEIW2,
		NEIW3, TOXIC, WOMAN, KZCHORN, ICDXCNT, CSPRBSLV,
		CSSOCSPT, CSAVOID, WHPEL, BSITOTAL, BSIPOSYMP, BSIGLOBSI,
		BSISOMA, BSIIPS, BSIDEP, BSIPHANX, BSIHOS, BSIPAR,
		BSIPSYC, MIPTSD, AVGCUMDOSEW1, AVGCUMDOSEW2, AVGCUMDOSEW3,
		EMPLW35, HAVMIL, DEPAGW1, DEPAGW2, DEPAGW3, ANXAGW1,
		ANXAGW2, ANXAGW3, PHYSDISAGW1, PHYSDISAGW2, PHYSDISAGW3,
		PTSDW1, PTSDW2, PTSDW3, DRINKSPWW1, DRINKSPWW2, DRINKSPWW3,
		VODKAW1, VODKAW2, VODKAW3, PAINMEDSPW1, PAINMEDSPW2,
		PAINMEDSPW3, DOCVISITSW1, DOCVISITSW2, DOCVISITSW3,
		CHILDW1_mis, SHFAMW1_mis, SHFAMW2_mis, SHFINCW1_mis,
		SHRELAW2_mis, SUFAMW3_mis, SMOKW1_mis, LIQW1_mis,
		MEDCOW1_mis, MEDCOW3_mis, TRGOVW1_mis, TRGOVW2_mis,
		TRGOVW3_mis, TRREPW1_mis, TRREPW2_mis, TRREPW3_mis,
		DEFNW1_mis, RADTLW1_mis, DAFTER_mis, CSPRBSLV_mis,
		CSAVOID_mis, DOCVISITSW1_mis, DOCVISITSW2_mis, DOCVISITSW3_mis

MARS 1 Results
Model Sequence
	Basis
Functions	N
Predictors	N
Inputs	Effective
Parameters	    GCV    	GCV R-Square	Train MSE	
	18	10	10	49.00	551.33138	0.38888	427.77435	
	17	10	10	46.33	541.40233	0.39989	426.47605	
	16	10	10	43.67	532.25250	0.41003	425.59576	
	**15	10	10	41.00	523.69447	0.41952	425.00735	
	14	10	10	38.33	525.79824	0.41719	433.02354	
	13	10	10	35.67	532.68109	0.40956	445.11252	
	12	10	10	33.00	538.80981	0.40276	456.75738	
	11	10	10	30.33	536.23687	0.40562	461.09757	
	10	9	9	27.67	534.76392	0.40725	466.36286	
	9	9	9	25.00	545.59215	0.39525	482.49894	
	8	8	8	22.33	549.92111	0.39045	493.10201	
	7	7	7	19.67	556.76046	0.38287	506.12251	
	6	6	6	17.00	564.24558	0.37457	519.93621	
	5	5	5	14.33	579.79070	0.35734	541.49254	
	4	5	5	11.67	594.44761	0.34109	562.62602	
	3	3	3	9.00	611.22876	0.32249	586.19428	
	2	2	2	6.33	631.88054	0.29960	613.97658	
	1	1	1	3.67	656.52724	0.27228	646.24464	
	0	0	0	1.00	902.17181	0.00000	896.87270	

MARS Selector Error Curve

MARS 1 Results; 15 Basis Functions

	Dataset:	chwideZAMay2012Masterchicosold.dta

	Predictor Variables:	EDU2, EDU3, EDU4, EDU5, EDU6, EDU7, EDU8, MARRW12,
		MARRW13, MARRW14, MARRW15, MARRW16, MARRW22, MARRW23,
		MARRW24, MARRW25, MARRW26, MARRW27, MARRW31, MARRW32,
		MARRW33, MARRW34, MARRW35, MARRW36, CHILDW1, CHILDW2,
		CHILDW3, EMPLW11, EMPLW12, EMPLW13, EMPLW14, EMPLW15,
		EMPLW16, EMPLW22, EMPLW23, EMPLW24, EMPLW25, EMPLW26,
		EMPLW32, EMPLW33, EMPLW34, OCC2W1, OCC3W1, OCC4W1,
		OCC5W1, OCC6W1, OCC7W1, OCC8W1, OCC1W2, OCC2W2, OCC3W2,
		OCC4W2, OCC5W2, OCC6W2, OCC7W2, OCC8W2, OCC1W3, OCC2W3,
		OCC3W3, OCC4W3, OCC5W3, OCC6W3, OCC7W3, OCC8W3, INC1W1,
		INC2W1, INC3W1, INC4W1, INC1W2, INC2W2, INC3W2, INC4W2,
		INC1W3, INC2W3, INC3W3, INC4W3, JSW1, JSW2, JSW3,
		DEAW1, DEAW2, DEAW3, DVCEW1, DVCEW2, DVCEW3, SEPAW1,
		SEPAW2, SEPAW3, ACCDW1, ACCDW2, ACCDW3, CATAW1, CATAW2,
		CATAW3, ILLW1, ILLW2, ILLW3, MOVEW1, MOVEW2, MOVEW3,
		SHJOBW1, SHJOBW2, SHJOBW3, SHFAMW1, SHFAMW2, SHFAMW3,
		SHHLW1, SHHLW2, SHHLW3, SHFINCW1, SHFINCW2, SHFINCW3,
		SHHOUSW1, SHHOUSW2, SHHOUSW3, SHRELAW1, SHRELAW2,
		SHRELAW3, SUPRTW1, SUPRTW2, SUPRTW3, SUFAMW1, SUFAMW2,
		SUFAMW3, SUCHRW1, SUCHRW2, SUCHRW3, PHLTHW1, PHLTHW2,
		PHLTHW3, SMOKW1, SMOKW2, SMOKW3, LIQW1, LIQW2, LIQW3,
		MEDCOW1, MEDCOW2, MEDCOW3, GOFERW1, GOFERW2, GOFERW3,
		FDFERW1, FDFERW2, FDFERW3, TRGOVW1, TRGOVW2, TRGOVW3,
		TRREPW1, TRREPW2, TRREPW3, KMACC, KMWORK, INJSELFR,
		INJOTHR, DEFNW1, DEFNW2, DEFNW3, EFRADW1, EFRADW2,
		EFRADW3, AIRW1, AIRW2, AIRW3, RADCHW1, RADCHW2, RADCHW3,
		RADTLW1, RADTLW2, RADTLW3, RADHLW1, RADHLW2, RADHLW3,
		RADFMW1, RADFMW2, RADFMW3, DAFTER, NEIW1, NEIW2,
		NEIW3, TOXIC, WOMAN, KZCHORN, ICDXCNT, CSPRBSLV,
		CSSOCSPT, CSAVOID, WHPEL, BSITOTAL, BSIPOSYMP, BSIGLOBSI,
		BSISOMA, BSIIPS, BSIDEP, BSIPHANX, BSIHOS, BSIPAR,
		BSIPSYC, MIPTSD, AVGCUMDOSEW1, AVGCUMDOSEW2, AVGCUMDOSEW3,
		EMPLW35, HAVMIL, DEPAGW1, DEPAGW2, DEPAGW3, ANXAGW1,
		ANXAGW2, ANXAGW3, PHYSDISAGW1, PHYSDISAGW2, PHYSDISAGW3,
		PTSDW1, PTSDW2, PTSDW3, DRINKSPWW1, DRINKSPWW2, DRINKSPWW3,
		VODKAW1, VODKAW2, VODKAW3, PAINMEDSPW1, PAINMEDSPW2,
		PAINMEDSPW3, DOCVISITSW1, DOCVISITSW2, DOCVISITSW3,
		CHILDW1_mis, SHFAMW1_mis, SHFAMW2_mis, SHFINCW1_mis,
		SHRELAW2_mis, SUFAMW3_mis, SMOKW1_mis, LIQW1_mis,
		MEDCOW1_mis, MEDCOW3_mis, TRGOVW1_mis, TRGOVW2_mis,
		TRGOVW3_mis, TRREPW1_mis, TRREPW2_mis, TRREPW3_mis,
		DEFNW1_mis, RADTLW1_mis, DAFTER_mis, CSPRBSLV_mis,
		CSAVOID_mis, DOCVISITSW1_mis, DOCVISITSW2_mis, DOCVISITSW3_mis

		Target Variable WHPEL
N: 340 		Minimum2.192E+004 	Maximum:  2.202E+004 
Mean:   2.194E+004 		Varience:   899.51834 

		Variables, Terms, and Parameters
Direct variables: 10 		Total variables: 10 
Terms in model: 16 		Effective parameters: 41.00 

		R-Square Measures
Naive: 0.54842 		Naive adjusted: 0.52752 	GCV R-square: 0.41952 

		Mean-Square Measures
Naive MSE: 425.00735 		MARS GCV: 523.69445 

Basis Functions endcoded as bfmEL
 BF1 = max(0, BSISOMA - 21928);
 BF2 = max(0, 21928 - BSISOMA);
 BF3 = max(0, BSIPOSYMP - 21988);
 BF4 = max(0, 21988 - BSIPOSYMP);
 BF6 = max(0, 21921 - SUPRTW2) * BF3;
 BF7 = max(0, AGE - 46) * BF1;
 BF8 = max(0, 46 - AGE) * BF1;
 BF9 = max(0, AVGCUMDOSEW3 - 21916) * BF2;
 BF10 = max(0, DRINKSPWW2 - 21916.3) * BF1;
 BF11 = max(0, 21916.3 - DRINKSPWW2) * BF1;
 BF12 = max(0, BSIPAR - 21926) * BF3;
 BF13 = max(0, 21926 - BSIPAR) * BF3;
 BF14 = max(0, OCC5W3 - 21916) * BF3;
 BF16 = max(0, 22136 - KMACC);
 BF17 = max(0, DEPAGW1 - 21976) * BF16;
 BF18 = max(0, 21976 - DEPAGW1) * BF16;

 Y = 21941 - 3.07597 * BF1 - 4.40969 * BF2 - 0.70408 * BF4 
           - 0.104313 * BF6 + 0.147447 * BF7 + 0.581633 * BF8 
           + 0.710294 * BF9 + 0.682524 * BF10 + 8.71436 * BF11 
           + 0.0423199 * BF12 + 0.320425 * BF13 + 1.13391 * BF14 
           + 0.344812 * BF16 - 0.0078313 * BF17 
           - 0.00421491 * BF18;

 MODEL WHPEL = BF1 BF2 BF4 BF6 BF7 BF8 BF9 BF10 BF11 BF12 BF13 
               BF14 BF16 BF17 BF18;

Anova Data
	Function	Standard
Deviation	Mars Prediction Success
Threshold Table   	No of basis
Functions	No of Effective
Parameters	Variables	
	1	11.06149	564.82603	2	5.333	BSISOMA	
	2	5.76323	532.39424	1	2.667	BSIPOSYMP	
	3	13.74976	560.12566	1	2.667	KMACC	
	4	6.05307	543.62819	1	2.667	SUPRTW2, BSIPOSYMP	
	5	11.40107	542.92470	2	5.333	AGE, BSISOMA	
	6	5.02768	541.67507	1	2.667	BSISOMA, AVGCUMDOSEW3	
	7	8.02985	536.09929	2	5.333	BSISOMA, DRINKSPWW2	
	8	7.38299	543.65806	2	5.333	BSIPOSYMP, BSIPAR	
	9	5.36423	549.65800	1	2.667	OCC5W3, BSIPOSYMP	
	10	11.08238	534.62081	2	5.333	KMACC, DEPAGW1	

Final Model
	Basis
Function	Coefficient	Variable	Sign	Parent
Sign	Parent	Knot	
	0	21,941.0469						
	1	-3.0760	BSISOMA	+			21,928.0000	
	2	-4.4097	BSISOMA	-			21,928.0000	
	4	-0.7041	BSIPOSYMP	+			21,988.0000	
	6	-0.1043	SUPRTW2	-	-	BSIPOSYMP	21,921.0000	
	7	0.1474	AGE	+	+	BSISOMA	46.0000	
	8	0.5816	AGE	-	+	BSISOMA	46.0000	
	9	0.7103	AVGCUMDOSEW3	+	+	BSISOMA	21,916.0469	
	10	0.6825	DRINKSPWW2	-	+	BSISOMA	21,916.3008	
	11	8.7144	DRINKSPWW2	+	+	BSISOMA	21,916.3008	
	12	0.0423	BSIPAR	+	+	BSIPOSYMP	21,926.0000	
	13	0.3204	BSIPAR	-	+	BSIPOSYMP	21,926.0000	
	14	1.1339	OCC5W3	+	+	BSIPOSYMP	21,916.0000	
	16	0.3448	KMACC	-			22,136.0000	
	17	-0.0078	DEPAGW1	+	+	KMACC	21,976.0000	
	18	-0.0042	DEPAGW1	+	-	KMACC	21,976.0000	

MARS Learn Gains

Gains Data
Bin	Target
Bin Avg.	% Target
in Bin	Cum % Target
in Bin	Cum %
Pop	% 
Pop	Cases
in Bin	Cum
Lift	Lift
Pop	
1	21,984.589	11.20	11.20	11.18	11.18	38	1.00	1.00	
2	21,963.528	11.48	22.68	22.65	11.47	39	1.00	1.00	
3	21,945.705	11.18	33.86	33.82	11.18	38	1.00	1.00	
4	21,942.311	10.59	44.45	44.41	10.59	36	1.00	1.00	
5	21,938.034	10.29	54.75	54.71	10.29	35	1.00	1.00	
6	21,921.835	9.99	64.74	64.71	10.00	34	1.00	1.00	
7	21,922.675	9.40	74.14	74.12	9.41	32	1.00	1.00	
8	21,918.613	8.82	82.96	82.94	8.82	30	1.00	1.00	
9	21,918.179	8.52	91.48	91.47	8.53	29	1.00	1.00	
10	21,916.828	8.52	100.00	100.00	8.53	29	1.00	1.00	

Variable Importance
Variable	Score	 	
BSISOMA	100.00	||||||||||||||||||||||||||||||||||||||||||	
BSIPOSYMP	97.95	|||||||||||||||||||||||||||||||||||||||||	
OCC5W3	59.66	|||||||||||||||||||||||||	
KMACC	53.79	||||||||||||||||||||||	
BSIPAR	52.31	|||||||||||||||||||||	
SUPRTW2	52.27	|||||||||||||||||||||	
AGE	51.34	|||||||||||||||||||||	
AVGCUMDOSEW3	49.65	||||||||||||||||||||	
DRINKSPWW2	41.25	|||||||||||||||||	
DEPAGW1	38.71	||||||||||||||||	

MARS 1 Results; 15 Basis Functions

	Dataset:	chwideZAMay2012Masterchicosold.dta

	Predictor Variables:	EDU2, EDU3, EDU4, EDU5, EDU6, EDU7, EDU8, MARRW12,
		MARRW13, MARRW14, MARRW15, MARRW16, MARRW22, MARRW23,
		MARRW24, MARRW25, MARRW26, MARRW27, MARRW31, MARRW32,
		MARRW33, MARRW34, MARRW35, MARRW36, CHILDW1, CHILDW2,
		CHILDW3, EMPLW11, EMPLW12, EMPLW13, EMPLW14, EMPLW15,
		EMPLW16, EMPLW22, EMPLW23, EMPLW24, EMPLW25, EMPLW26,
		EMPLW32, EMPLW33, EMPLW34, OCC2W1, OCC3W1, OCC4W1,
		OCC5W1, OCC6W1, OCC7W1, OCC8W1, OCC1W2, OCC2W2, OCC3W2,
		OCC4W2, OCC5W2, OCC6W2, OCC7W2, OCC8W2, OCC1W3, OCC2W3,
		OCC3W3, OCC4W3, OCC5W3, OCC6W3, OCC7W3, OCC8W3, INC1W1,
		INC2W1, INC3W1, INC4W1, INC1W2, INC2W2, INC3W2, INC4W2,
		INC1W3, INC2W3, INC3W3, INC4W3, JSW1, JSW2, JSW3,
		DEAW1, DEAW2, DEAW3, DVCEW1, DVCEW2, DVCEW3, SEPAW1,
		SEPAW2, SEPAW3, ACCDW1, ACCDW2, ACCDW3, CATAW1, CATAW2,
		CATAW3, ILLW1, ILLW2, ILLW3, MOVEW1, MOVEW2, MOVEW3,
		SHJOBW1, SHJOBW2, SHJOBW3, SHFAMW1, SHFAMW2, SHFAMW3,
		SHHLW1, SHHLW2, SHHLW3, SHFINCW1, SHFINCW2, SHFINCW3,
		SHHOUSW1, SHHOUSW2, SHHOUSW3, SHRELAW1, SHRELAW2,
		SHRELAW3, SUPRTW1, SUPRTW2, SUPRTW3, SUFAMW1, SUFAMW2,
		SUFAMW3, SUCHRW1, SUCHRW2, SUCHRW3, PHLTHW1, PHLTHW2,
		PHLTHW3, SMOKW1, SMOKW2, SMOKW3, LIQW1, LIQW2, LIQW3,
		MEDCOW1, MEDCOW2, MEDCOW3, GOFERW1, GOFERW2, GOFERW3,
		FDFERW1, FDFERW2, FDFERW3, TRGOVW1, TRGOVW2, TRGOVW3,
		TRREPW1, TRREPW2, TRREPW3, KMACC, KMWORK, INJSELFR,
		INJOTHR, DEFNW1, DEFNW2, DEFNW3, EFRADW1, EFRADW2,
		EFRADW3, AIRW1, AIRW2, AIRW3, RADCHW1, RADCHW2, RADCHW3,
		RADTLW1, RADTLW2, RADTLW3, RADHLW1, RADHLW2, RADHLW3,
		RADFMW1, RADFMW2, RADFMW3, DAFTER, NEIW1, NEIW2,
		NEIW3, TOXIC, WOMAN, KZCHORN, ICDXCNT, CSPRBSLV,
		CSSOCSPT, CSAVOID, WHPEL, BSITOTAL, BSIPOSYMP, BSIGLOBSI,
		BSISOMA, BSIIPS, BSIDEP, BSIPHANX, BSIHOS, BSIPAR,
		BSIPSYC, MIPTSD, AVGCUMDOSEW1, AVGCUMDOSEW2, AVGCUMDOSEW3,
		EMPLW35, HAVMIL, DEPAGW1, DEPAGW2, DEPAGW3, ANXAGW1,
		ANXAGW2, ANXAGW3, PHYSDISAGW1, PHYSDISAGW2, PHYSDISAGW3,
		PTSDW1, PTSDW2, PTSDW3, DRINKSPWW1, DRINKSPWW2, DRINKSPWW3,
		VODKAW1, VODKAW2, VODKAW3, PAINMEDSPW1, PAINMEDSPW2,
		PAINMEDSPW3, DOCVISITSW1, DOCVISITSW2, DOCVISITSW3,
		CHILDW1_mis, SHFAMW1_mis, SHFAMW2_mis, SHFINCW1_mis,
		SHRELAW2_mis, SUFAMW3_mis, SMOKW1_mis, LIQW1_mis,
		MEDCOW1_mis, MEDCOW3_mis, TRGOVW1_mis, TRGOVW2_mis,
		TRGOVW3_mis, TRREPW1_mis, TRREPW2_mis, TRREPW3_mis,
		DEFNW1_mis, RADTLW1_mis, DAFTER_mis, CSPRBSLV_mis,
		CSAVOID_mis, DOCVISITSW1_mis, DOCVISITSW2_mis, DOCVISITSW3_mis

		Target Variable WHPEL
N: 340 		Minimum2.192E+004 	Maximum:  2.202E+004 
Mean:   2.194E+004 		Varience:   899.51834 

		Variables, Terms, and Parameters
Direct variables: 10 		Total variables: 10 
Terms in model: 16 		Effective parameters: 41.00 

		R-Square Measures
Naive: 0.54842 		Naive adjusted: 0.52752 	GCV R-square: 0.41952 

		Mean-Square Measures
Naive MSE: 425.00735 		MARS GCV: 523.69445 

Basis Functions
 BF1 = max(0, BSISOMA - 21928);
 BF2 = max(0, 21928 - BSISOMA);
 BF3 = max(0, BSIPOSYMP - 21988);
 BF4 = max(0, 21988 - BSIPOSYMP);
 BF6 = max(0, 21921 - SUPRTW2) * BF3;
 BF7 = max(0, AGE - 46) * BF1;
 BF8 = max(0, 46 - AGE) * BF1;
 BF9 = max(0, AVGCUMDOSEW3 - 21916) * BF2;
 BF10 = max(0, DRINKSPWW2 - 21916.3) * BF1;
 BF11 = max(0, 21916.3 - DRINKSPWW2) * BF1;
 BF12 = max(0, BSIPAR - 21926) * BF3;
 BF13 = max(0, 21926 - BSIPAR) * BF3;
 BF14 = max(0, OCC5W3 - 21916) * BF3;
 BF16 = max(0, 22136 - KMACC);
 BF17 = max(0, DEPAGW1 - 21976) * BF16;
 BF18 = max(0, 21976 - DEPAGW1) * BF16;

 Y = 21941 - 3.07597 * BF1 - 4.40969 * BF2 - 0.70408 * BF4 
           - 0.104313 * BF6 + 0.147447 * BF7 + 0.581633 * BF8 
           + 0.710294 * BF9 + 0.682524 * BF10 + 8.71436 * BF11 
           + 0.0423199 * BF12 + 0.320425 * BF13 + 1.13391 * BF14 
           + 0.344812 * BF16 - 0.0078313 * BF17 
           - 0.00421491 * BF18;

 MODEL WHPEL = BF1 BF2 BF4 BF6 BF7 BF8 BF9 BF10 BF11 BF12 BF13 
               BF14 BF16 BF17 BF18;

Anova Data
	Function	Standard
Deviation	Mars Prediction Success
Threshold Table   	No of basis
Functions	No of Effective
Parameters	Variables	
	1	11.06149	564.82603	2	5.333	BSISOMA	
	2	5.76323	532.39424	1	2.667	BSIPOSYMP	
	3	13.74976	560.12566	1	2.667	KMACC	
	4	6.05307	543.62819	1	2.667	SUPRTW2, BSIPOSYMP	
	5	11.40107	542.92470	2	5.333	AGE, BSISOMA	
	6	5.02768	541.67507	1	2.667	BSISOMA, AVGCUMDOSEW3	
	7	8.02985	536.09929	2	5.333	BSISOMA, DRINKSPWW2	
	8	7.38299	543.65806	2	5.333	BSIPOSYMP, BSIPAR	
	9	5.36423	549.65800	1	2.667	OCC5W3, BSIPOSYMP	
	10	11.08238	534.62081	2	5.333	KMACC, DEPAGW1	

Final Model
	Basis
Function	Coefficient	Variable	Sign	Parent
Sign	Parent	Knot	
	0	21,941.0469						
	1	-3.0760	BSISOMA	+			21,928.0000	
	2	-4.4097	BSISOMA	-			21,928.0000	
	4	-0.7041	BSIPOSYMP	+			21,988.0000	
	6	-0.1043	SUPRTW2	-	-	BSIPOSYMP	21,921.0000	
	7	0.1474	AGE	+	+	BSISOMA	46.0000	
	8	0.5816	AGE	-	+	BSISOMA	46.0000	
	9	0.7103	AVGCUMDOSEW3	+	+	BSISOMA	21,916.0469	
	10	0.6825	DRINKSPWW2	-	+	BSISOMA	21,916.3008	
	11	8.7144	DRINKSPWW2	+	+	BSISOMA	21,916.3008	
	12	0.0423	BSIPAR	+	+	BSIPOSYMP	21,926.0000	
	13	0.3204	BSIPAR	-	+	BSIPOSYMP	21,926.0000	
	14	1.1339	OCC5W3	+	+	BSIPOSYMP	21,916.0000	
	16	0.3448	KMACC	-			22,136.0000	
	17	-0.0078	DEPAGW1	+	+	KMACC	21,976.0000	
	18	-0.0042	DEPAGW1	+	-	KMACC	21,976.0000	

MARS Learn Gains

Gains Data
Bin	Target
Bin Avg.	% Target
in Bin	Cum % Target
in Bin	Cum %
Pop	% 
Pop	Cases
in Bin	Cum
Lift	Lift
Pop	
1	21,984.589	11.20	11.20	11.18	11.18	38	1.00	1.00	
2	21,963.528	11.48	22.68	22.65	11.47	39	1.00	1.00	
3	21,945.705	11.18	33.86	33.82	11.18	38	1.00	1.00	
4	21,942.311	10.59	44.45	44.41	10.59	36	1.00	1.00	
5	21,938.034	10.29	54.75	54.71	10.29	35	1.00	1.00	
6	21,921.835	9.99	64.74	64.71	10.00	34	1.00	1.00	
7	21,922.675	9.40	74.14	74.12	9.41	32	1.00	1.00	
8	21,918.613	8.82	82.96	82.94	8.82	30	1.00	1.00	
9	21,918.179	8.52	91.48	91.47	8.53	29	1.00	1.00	
10	21,916.828	8.52	100.00	100.00	8.53	29	1.00	1.00	

Variable Importance
Variable	Score	 	
BSISOMA	100.00	||||||||||||||||||||||||||||||||||||||||||	
BSIPOSYMP	97.95	|||||||||||||||||||||||||||||||||||||||||	
OCC5W3	59.66	|||||||||||||||||||||||||	
KMACC	53.79	||||||||||||||||||||||	
BSIPAR	52.31	|||||||||||||||||||||	
SUPRTW2	52.27	|||||||||||||||||||||	
AGE	51.34	|||||||||||||||||||||	
AVGCUMDOSEW3	49.65	||||||||||||||||||||	
DRINKSPWW2	41.25	|||||||||||||||||	
DEPAGW1	38.71	||||||||||||||||	

MARS 1 Results

	Dataset:	chwideZAMay2012Masterchicosold.dta

	Predictor Variables:	EDU2, EDU3, EDU4, EDU5, EDU6, EDU7, EDU8, MARRW12,
		MARRW13, MARRW14, MARRW15, MARRW16, MARRW22, MARRW23,
		MARRW24, MARRW25, MARRW26, MARRW27, MARRW31, MARRW32,
		MARRW33, MARRW34, MARRW35, MARRW36, CHILDW1, CHILDW2,
		CHILDW3, EMPLW11, EMPLW12, EMPLW13, EMPLW14, EMPLW15,
		EMPLW16, EMPLW22, EMPLW23, EMPLW24, EMPLW25, EMPLW26,
		EMPLW32, EMPLW33, EMPLW34, OCC2W1, OCC3W1, OCC4W1,
		OCC5W1, OCC6W1, OCC7W1, OCC8W1, OCC1W2, OCC2W2, OCC3W2,
		OCC4W2, OCC5W2, OCC6W2, OCC7W2, OCC8W2, OCC1W3, OCC2W3,
		OCC3W3, OCC4W3, OCC5W3, OCC6W3, OCC7W3, OCC8W3, INC1W1,
		INC2W1, INC3W1, INC4W1, INC1W2, INC2W2, INC3W2, INC4W2,
		INC1W3, INC2W3, INC3W3, INC4W3, JSW1, JSW2, JSW3,
		DEAW1, DEAW2, DEAW3, DVCEW1, DVCEW2, DVCEW3, SEPAW1,
		SEPAW2, SEPAW3, ACCDW1, ACCDW2, ACCDW3, CATAW1, CATAW2,
		CATAW3, ILLW1, ILLW2, ILLW3, MOVEW1, MOVEW2, MOVEW3,
		SHJOBW1, SHJOBW2, SHJOBW3, SHFAMW1, SHFAMW2, SHFAMW3,
		SHHLW1, SHHLW2, SHHLW3, SHFINCW1, SHFINCW2, SHFINCW3,
		SHHOUSW1, SHHOUSW2, SHHOUSW3, SHRELAW1, SHRELAW2,
		SHRELAW3, SUPRTW1, SUPRTW2, SUPRTW3, SUFAMW1, SUFAMW2,
		SUFAMW3, SUCHRW1, SUCHRW2, SUCHRW3, PHLTHW1, PHLTHW2,
		PHLTHW3, SMOKW1, SMOKW2, SMOKW3, LIQW1, LIQW2, LIQW3,
		MEDCOW1, MEDCOW2, MEDCOW3, GOFERW1, GOFERW2, GOFERW3,
		FDFERW1, FDFERW2, FDFERW3, TRGOVW1, TRGOVW2, TRGOVW3,
		TRREPW1, TRREPW2, TRREPW3, KMACC, KMWORK, INJSELFR,
		INJOTHR, DEFNW1, DEFNW2, DEFNW3, EFRADW1, EFRADW2,
		EFRADW3, AIRW1, AIRW2, AIRW3, RADCHW1, RADCHW2, RADCHW3,
		RADTLW1, RADTLW2, RADTLW3, RADHLW1, RADHLW2, RADHLW3,
		RADFMW1, RADFMW2, RADFMW3, DAFTER, NEIW1, NEIW2,
		NEIW3, TOXIC, WOMAN, KZCHORN, ICDXCNT, CSPRBSLV,
		CSSOCSPT, CSAVOID, WHPEL, BSITOTAL, BSIPOSYMP, BSIGLOBSI,
		BSISOMA, BSIIPS, BSIDEP, BSIPHANX, BSIHOS, BSIPAR,
		BSIPSYC, MIPTSD, AVGCUMDOSEW1, AVGCUMDOSEW2, AVGCUMDOSEW3,
		EMPLW35, HAVMIL, DEPAGW1, DEPAGW2, DEPAGW3, ANXAGW1,
		ANXAGW2, ANXAGW3, PHYSDISAGW1, PHYSDISAGW2, PHYSDISAGW3,
		PTSDW1, PTSDW2, PTSDW3, DRINKSPWW1, DRINKSPWW2, DRINKSPWW3,
		VODKAW1, VODKAW2, VODKAW3, PAINMEDSPW1, PAINMEDSPW2,
		PAINMEDSPW3, DOCVISITSW1, DOCVISITSW2, DOCVISITSW3,
		CHILDW1_mis, SHFAMW1_mis, SHFAMW2_mis, SHFINCW1_mis,
		SHRELAW2_mis, SUFAMW3_mis, SMOKW1_mis, LIQW1_mis,
		MEDCOW1_mis, MEDCOW3_mis, TRGOVW1_mis, TRGOVW2_mis,
		TRGOVW3_mis, TRREPW1_mis, TRREPW2_mis, TRREPW3_mis,
		DEFNW1_mis, RADTLW1_mis, DAFTER_mis, CSPRBSLV_mis,
		CSAVOID_mis, DOCVISITSW1_mis, DOCVISITSW2_mis, DOCVISITSW3_mis

MARS 1 Results
Model Sequence
	Basis
Functions	N
Predictors	N
Inputs	Effective
Parameters	    GCV    	GCV R-Square	Train MSE	
	18	10	10	49.00	551.33138	0.38888	427.77435	
	17	10	10	46.33	541.40233	0.39989	426.47605	
	16	10	10	43.67	532.25250	0.41003	425.59576	
	**15	10	10	41.00	523.69447	0.41952	425.00735	
	14	10	10	38.33	525.79824	0.41719	433.02354	
	13	10	10	35.67	532.68109	0.40956	445.11252	
	12	10	10	33.00	538.80981	0.40276	456.75738	
	11	10	10	30.33	536.23687	0.40562	461.09757	
	10	9	9	27.67	534.76392	0.40725	466.36286	
	9	9	9	25.00	545.59215	0.39525	482.49894	
	8	8	8	22.33	549.92111	0.39045	493.10201	
	7	7	7	19.67	556.76046	0.38287	506.12251	
	6	6	6	17.00	564.24558	0.37457	519.93621	
	5	5	5	14.33	579.79070	0.35734	541.49254	
	4	5	5	11.67	594.44761	0.34109	562.62602	
	3	3	3	9.00	611.22876	0.32249	586.19428	
	2	2	2	6.33	631.88054	0.29960	613.97658	
	1	1	1	3.67	656.52724	0.27228	646.24464	
	0	0	0	1.00	902.17181	0.00000	896.87270	

MARS Selector Error Curve

MARS 2 Results

	Dataset:	chwideZAMay2012Masterchicosold.dta

	Predictor Variables:	EDU2, EDU3, EDU4, EDU5, EDU6, EDU7, EDU8, MARRW12,
		MARRW13, MARRW14, MARRW15, MARRW16, MARRW22, MARRW23,
		MARRW24, MARRW25, MARRW26, MARRW27, MARRW31, MARRW32,
		MARRW33, MARRW34, MARRW35, MARRW36, CHILDW1, CHILDW2,
		CHILDW3, EMPLW11, EMPLW12, EMPLW13, EMPLW14, EMPLW15,
		EMPLW16, EMPLW22, EMPLW23, EMPLW24, EMPLW25, EMPLW26,
		EMPLW32, EMPLW33, EMPLW34, OCC2W1, OCC3W1, OCC4W1,
		OCC5W1, OCC6W1, OCC7W1, OCC8W1, OCC1W2, OCC2W2, OCC3W2,
		OCC4W2, OCC5W2, OCC6W2, OCC7W2, OCC8W2, OCC1W3, OCC2W3,
		OCC3W3, OCC4W3, OCC5W3, OCC6W3, OCC7W3, OCC8W3, INC1W1,
		INC2W1, INC3W1, INC4W1, INC1W2, INC2W2, INC3W2, INC4W2,
		INC1W3, INC2W3, INC3W3, INC4W3, JSW1, JSW2, JSW3,
		DEAW1, DEAW2, DEAW3, DVCEW1, DVCEW2, DVCEW3, SEPAW1,
		SEPAW2, SEPAW3, ACCDW1, ACCDW2, ACCDW3, CATAW1, CATAW2,
		CATAW3, ILLW1, ILLW2, ILLW3, MOVEW1, MOVEW2, MOVEW3,
		SHJOBW1, SHJOBW2, SHJOBW3, SHFAMW1, SHFAMW2, SHFAMW3,
		SHHLW1, SHHLW2, SHHLW3, SHFINCW1, SHFINCW2, SHFINCW3,
		SHHOUSW1, SHHOUSW2, SHHOUSW3, SHRELAW1, SHRELAW2,
		SHRELAW3, SUPRTW1, SUPRTW2, SUPRTW3, SUFAMW1, SUFAMW2,
		SUFAMW3, SUCHRW1, SUCHRW2, SUCHRW3, PHLTHW1, PHLTHW2,
		PHLTHW3, SMOKW1, SMOKW2, SMOKW3, LIQW1, LIQW2, LIQW3,
		MEDCOW1, MEDCOW2, MEDCOW3, GOFERW1, GOFERW2, GOFERW3,
		FDFERW1, FDFERW2, FDFERW3, TRGOVW1, TRGOVW2, TRGOVW3,
		TRREPW1, TRREPW2, TRREPW3, KMACC, KMWORK, INJSELFR,
		INJOTHR, DEFNW1, DEFNW2, DEFNW3, EFRADW1, EFRADW2,
		EFRADW3, AIRW1, AIRW2, AIRW3, RADCHW1, RADCHW2, RADCHW3,
		RADTLW1, RADTLW2, RADTLW3, RADHLW1, RADHLW2, RADHLW3,
		RADFMW1, RADFMW2, RADFMW3, DAFTER, NEIW1, NEIW2,
		NEIW3, TOXIC, WOMAN, KZCHORN, ICDXCNT, CSPRBSLV,
		CSSOCSPT, CSAVOID, WHPPA, BSITOTAL, BSIPOSYMP, BSIGLOBSI,
		BSISOMA, BSIIPS, BSIDEP, BSIPHANX, BSIHOS, BSIPAR,
		BSIPSYC, MIPTSD, AVGCUMDOSEW1, AVGCUMDOSEW2, AVGCUMDOSEW3,
		EMPLW35, HAVMIL, DEPAGW1, DEPAGW2, DEPAGW3, ANXAGW1,
		ANXAGW2, ANXAGW3, PHYSDISAGW1, PHYSDISAGW2, PHYSDISAGW3,
		PTSDW1, PTSDW2, PTSDW3, DRINKSPWW1, DRINKSPWW2, DRINKSPWW3,
		VODKAW1, VODKAW2, VODKAW3, PAINMEDSPW1, PAINMEDSPW2,
		PAINMEDSPW3, DOCVISITSW1, DOCVISITSW2, DOCVISITSW3,
		CHILDW1_mis, SHFAMW1_mis, SHFAMW2_mis, SHFINCW1_mis,
		SHRELAW2_mis, SUFAMW3_mis, SMOKW1_mis, LIQW1_mis,
		MEDCOW1_mis, MEDCOW3_mis, TRGOVW1_mis, TRGOVW2_mis,
		TRGOVW3_mis, TRREPW1_mis, TRREPW2_mis, TRREPW3_mis,
		DEFNW1_mis, RADTLW1_mis, DAFTER_mis, CSPRBSLV_mis,
		CSAVOID_mis, DOCVISITSW1_mis, DOCVISITSW2_mis, DOCVISITSW3_mis

MARS 2 Results
Model Sequence
	Basis
Functions	N
Predictors	N
Inputs	Effective
Parameters	    GCV    	GCV R-Square	Train MSE	
	17	10	9	45.00	121.34796	0.42897	96.45877	
	16	10	9	42.41	119.25946	0.43879	96.17073	
	15	10	9	39.82	117.24823	0.44826	95.90377	
	14	10	9	37.24	115.34524	0.45721	95.68589	
	13	10	9	34.65	113.74532	0.46474	95.68443	
	12	10	9	32.06	112.90949	0.46867	96.30288	
	**11	10	9	29.47	112.64727	0.46991	97.40324	
	10	10	9	26.88	113.76066	0.46467	99.70854	
	9	10	9	24.29	115.21194	0.45784	102.34579	
	8	10	9	21.71	116.79975	0.45037	105.14587	
	7	10	9	19.12	120.20070	0.43436	109.64319	
	6	9	8	16.53	123.94561	0.41674	114.54539	
	5	8	7	13.94	127.73701	0.39890	119.58681	
	4	5	5	11.35	131.05973	0.38326	124.28109	
	3	4	4	8.76	137.31569	0.35383	131.87886	
	2	3	3	6.18	146.15329	0.31224	142.14568	
	1	1	1	3.59	154.33716	0.27373	151.99078	
	0	0	0	1.00	212.50545	0.00000	211.25725	

MARS Selector Error Curve

MARS 2 Results; 11 Basis Functions

	Dataset:	chwideZAMay2012Masterchicosold.dta

	Predictor Variables:	EDU2, EDU3, EDU4, EDU5, EDU6, EDU7, EDU8, MARRW12,
		MARRW13, MARRW14, MARRW15, MARRW16, MARRW22, MARRW23,
		MARRW24, MARRW25, MARRW26, MARRW27, MARRW31, MARRW32,
		MARRW33, MARRW34, MARRW35, MARRW36, CHILDW1, CHILDW2,
		CHILDW3, EMPLW11, EMPLW12, EMPLW13, EMPLW14, EMPLW15,
		EMPLW16, EMPLW22, EMPLW23, EMPLW24, EMPLW25, EMPLW26,
		EMPLW32, EMPLW33, EMPLW34, OCC2W1, OCC3W1, OCC4W1,
		OCC5W1, OCC6W1, OCC7W1, OCC8W1, OCC1W2, OCC2W2, OCC3W2,
		OCC4W2, OCC5W2, OCC6W2, OCC7W2, OCC8W2, OCC1W3, OCC2W3,
		OCC3W3, OCC4W3, OCC5W3, OCC6W3, OCC7W3, OCC8W3, INC1W1,
		INC2W1, INC3W1, INC4W1, INC1W2, INC2W2, INC3W2, INC4W2,
		INC1W3, INC2W3, INC3W3, INC4W3, JSW1, JSW2, JSW3,
		DEAW1, DEAW2, DEAW3, DVCEW1, DVCEW2, DVCEW3, SEPAW1,
		SEPAW2, SEPAW3, ACCDW1, ACCDW2, ACCDW3, CATAW1, CATAW2,
		CATAW3, ILLW1, ILLW2, ILLW3, MOVEW1, MOVEW2, MOVEW3,
		SHJOBW1, SHJOBW2, SHJOBW3, SHFAMW1, SHFAMW2, SHFAMW3,
		SHHLW1, SHHLW2, SHHLW3, SHFINCW1, SHFINCW2, SHFINCW3,
		SHHOUSW1, SHHOUSW2, SHHOUSW3, SHRELAW1, SHRELAW2,
		SHRELAW3, SUPRTW1, SUPRTW2, SUPRTW3, SUFAMW1, SUFAMW2,
		SUFAMW3, SUCHRW1, SUCHRW2, SUCHRW3, PHLTHW1, PHLTHW2,
		PHLTHW3, SMOKW1, SMOKW2, SMOKW3, LIQW1, LIQW2, LIQW3,
		MEDCOW1, MEDCOW2, MEDCOW3, GOFERW1, GOFERW2, GOFERW3,
		FDFERW1, FDFERW2, FDFERW3, TRGOVW1, TRGOVW2, TRGOVW3,
		TRREPW1, TRREPW2, TRREPW3, KMACC, KMWORK, INJSELFR,
		INJOTHR, DEFNW1, DEFNW2, DEFNW3, EFRADW1, EFRADW2,
		EFRADW3, AIRW1, AIRW2, AIRW3, RADCHW1, RADCHW2, RADCHW3,
		RADTLW1, RADTLW2, RADTLW3, RADHLW1, RADHLW2, RADHLW3,
		RADFMW1, RADFMW2, RADFMW3, DAFTER, NEIW1, NEIW2,
		NEIW3, TOXIC, WOMAN, KZCHORN, ICDXCNT, CSPRBSLV,
		CSSOCSPT, CSAVOID, WHPPA, BSITOTAL, BSIPOSYMP, BSIGLOBSI,
		BSISOMA, BSIIPS, BSIDEP, BSIPHANX, BSIHOS, BSIPAR,
		BSIPSYC, MIPTSD, AVGCUMDOSEW1, AVGCUMDOSEW2, AVGCUMDOSEW3,
		EMPLW35, HAVMIL, DEPAGW1, DEPAGW2, DEPAGW3, ANXAGW1,
		ANXAGW2, ANXAGW3, PHYSDISAGW1, PHYSDISAGW2, PHYSDISAGW3,
		PTSDW1, PTSDW2, PTSDW3, DRINKSPWW1, DRINKSPWW2, DRINKSPWW3,
		VODKAW1, VODKAW2, VODKAW3, PAINMEDSPW1, PAINMEDSPW2,
		PAINMEDSPW3, DOCVISITSW1, DOCVISITSW2, DOCVISITSW3,
		CHILDW1_mis, SHFAMW1_mis, SHFAMW2_mis, SHFINCW1_mis,
		SHRELAW2_mis, SUFAMW3_mis, SMOKW1_mis, LIQW1_mis,
		MEDCOW1_mis, MEDCOW3_mis, TRGOVW1_mis, TRGOVW2_mis,
		TRGOVW3_mis, TRREPW1_mis, TRREPW2_mis, TRREPW3_mis,
		DEFNW1_mis, RADTLW1_mis, DAFTER_mis, CSPRBSLV_mis,
		CSAVOID_mis, DOCVISITSW1_mis, DOCVISITSW2_mis, DOCVISITSW3_mis

		Target Variable WHPPA
N: 340 		Minimum2.192E+004 	Maximum:  2.200E+004 
Mean:   2.193E+004 		Varience:   211.88042 

		Variables, Terms, and Parameters
Direct variables: 9 		Total variables: 10 
Terms in model: 12 		Effective parameters: 29.47 

		R-Square Measures
Naive: 0.55521 		Naive adjusted: 0.54029 	GCV R-square: 0.46991 

		Mean-Square Measures
Naive MSE: 97.40324 		MARS GCV: 112.64727 

Basis Functions

		Basis Functions
 BF2 = max(0, 21933 - BSISOMA);
 BF3 = max(0, EMPLW33 - 5.37701E-009);
 BF4 = max(0, PHYSDISAGW1 - 21996);
 BF6 = max(0, SUPRTW2 - 22006);
 BF7 = max(0, 22006 - SUPRTW2);
 BF8 = max(0, DEPAGW3 - 21939.1) * BF6;
 BF9 = max(0, 21939.1 - DEPAGW3) * BF6;
 BF10 = max(0, AGE - 59) * BF3;
 BF11 = max(0, 59 - AGE) * BF3;
 BF12 = max(0, PAINMEDSPW1 - 21918);
 BF13 = max(0, 21918 - PAINMEDSPW1);
 BF14 = (SHFAMW2 ne . );
 BF16 = max(0, SHFAMW2 - 21966) * BF14;
 BF18 = max(0, PAINMEDSPW2 - 21916) * BF16;

 Y = 21960.7 - 2.07828 * BF2 - 0.60524 * BF4 + 0.935756 * BF6 
             - 0.091831 * BF7 - 0.0368928 * BF8 - 0.065908 * BF9 
             + 0.955328 * BF10 + 1.1404 * BF11 - 1.50148 * BF12 
             - 9.56192 * BF13 - 0.0885127 * BF18;

 MODEL WHPPA = BF2 BF4 BF6 BF7 BF8 BF9 BF10 BF11 BF12 BF13 BF18;

Anova Data
	Function	Standard
Deviation	Mars Prediction Success
Threshold Table   	No of basis
Functions	No of Effective
Parameters	Variables	
	1	7.70609	158.08837	1	2.588	BSISOMA	
	2	3.49895	121.28944	1	2.588	PHYSDISAGW1	
	3	7.48533	125.93218	2	5.176	SUPRTW2	
	4	4.09780	124.21730	2	5.176	PAINMEDSPW1	
	5	6.95919	120.34265	2	5.176	SUPRTW2, DEPAGW3	
	6	4.01363	125.84966	2	5.176	AGE, EMPLW33	
	7	3.05037	118.42767	1	2.588	SHFAMW2, PAINMEDSPW2, SHFAMW2_mis	

Final Model
	Basis
Function	Coefficient	Variable	Sign	Parent
Sign	Parent	Knot	
	0	21,960.6895						
	2	-2.0783	BSISOMA	+			21,933.0000	
	4	-0.6052	PHYSDISAGW1	-			21,996.0000	
	6	0.9358	SUPRTW2	+			22,006.0000	
	7	-0.0918	SUPRTW2	+			22,006.0000	
	8	-0.0369	DEPAGW3	-	-	SUPRTW2	21,939.0762	
	9	-0.0659	DEPAGW3	+	-	SUPRTW2	21,939.0762	
	10	0.9553	AGE	-	-	EMPLW33	59.0000	
	11	1.1404	AGE	+	+	EMPLW33	59.0000	
	12	-1.5015	PAINMEDSPW1	-			21,918.0000	
	13	-9.5619	PAINMEDSPW1	+			21,918.0000	
	18	-0.0885	PAINMEDSPW2	-	+	SHFAMW2	21,916.0000	

MARS Learn Gains

Gains Data
Bin	Target
Bin Avg.	% Target
in Bin	Cum % Target
in Bin	Cum %
Pop	% 
Pop	Cases
in Bin	Cum
Lift	Lift
Pop	
1	21,951.452	10.90	10.90	10.88	10.88	37	1.00	1.00	
2	21,936.255	10.59	21.49	21.47	10.59	36	1.00	1.00	
3	21,930.864	10.30	31.79	31.76	10.29	35	1.00	1.00	
4	21,921.152	10.00	41.78	41.76	10.00	34	1.00	1.00	
5	21,921.345	10.00	51.78	51.76	10.00	34	1.00	1.00	
6	21,921.834	9.41	61.19	61.18	9.41	32	1.00	1.00	
7	21,917.298	10.00	71.19	71.18	10.00	34	1.00	1.00	
8	21,916.986	9.70	80.89	80.88	9.71	33	1.00	1.00	
9	21,916.659	9.70	90.59	90.59	9.71	33	1.00	1.00	
10	21,917.354	9.41	100.00	100.00	9.41	32	1.00	1.00	

Variable Importance
Variable	Score	 	
BSISOMA	100.00	||||||||||||||||||||||||||||||||||||||||||	
EMPLW33	53.91	||||||||||||||||||||||	
AGE	53.91	||||||||||||||||||||||	
PAINMEDSPW1	50.48	|||||||||||||||||||||	
SUPRTW2	46.89	|||||||||||||||||||	
PHYSDISAGW1	43.61	||||||||||||||||||	
DEPAGW3	41.19	|||||||||||||||||	
PAINMEDSPW2	35.68	||||||||||||||	
SHFAMW2_mis	35.68	||||||||||||||	
SHFAMW2	35.68	||||||||||||||	

MARS 3 Results

	Dataset:	chwideZAMay2012Masterchicosold.dta

	Predictor Variables:	EDU2, EDU3, EDU4, EDU5, EDU6, EDU7, EDU8, MARRW12,
		MARRW13, MARRW14, MARRW15, MARRW16, MARRW22, MARRW23,
		MARRW24, MARRW25, MARRW26, MARRW27, MARRW31, MARRW32,
		MARRW33, MARRW34, MARRW35, MARRW36, CHILDW1, CHILDW2,
		CHILDW3, EMPLW11, EMPLW12, EMPLW13, EMPLW14, EMPLW15,
		EMPLW16, EMPLW22, EMPLW23, EMPLW24, EMPLW25, EMPLW26,
		EMPLW32, EMPLW33, EMPLW34, OCC2W1, OCC3W1, OCC4W1,
		OCC5W1, OCC6W1, OCC7W1, OCC8W1, OCC1W2, OCC2W2, OCC3W2,
		OCC4W2, OCC5W2, OCC6W2, OCC7W2, OCC8W2, OCC1W3, OCC2W3,
		OCC3W3, OCC4W3, OCC5W3, OCC6W3, OCC7W3, OCC8W3, INC1W1,
		INC2W1, INC3W1, INC4W1, INC1W2, INC2W2, INC3W2, INC4W2,
		INC1W3, INC2W3, INC3W3, INC4W3, JSW1, JSW2, JSW3,
		DEAW1, DEAW2, DEAW3, DVCEW1, DVCEW2, DVCEW3, SEPAW1,
		SEPAW2, SEPAW3, ACCDW1, ACCDW2, ACCDW3, CATAW1, CATAW2,
		CATAW3, ILLW1, ILLW2, ILLW3, MOVEW1, MOVEW2, MOVEW3,
		SHJOBW1, SHJOBW2, SHJOBW3, SHFAMW1, SHFAMW2, SHFAMW3,
		SHHLW1, SHHLW2, SHHLW3, SHFINCW1, SHFINCW2, SHFINCW3,
		SHHOUSW1, SHHOUSW2, SHHOUSW3, SHRELAW1, SHRELAW2,
		SHRELAW3, SUPRTW1, SUPRTW2, SUPRTW3, SUFAMW1, SUFAMW2,
		SUFAMW3, SUCHRW1, SUCHRW2, SUCHRW3, PHLTHW1, PHLTHW2,
		PHLTHW3, SMOKW1, SMOKW2, SMOKW3, LIQW1, LIQW2, LIQW3,
		MEDCOW1, MEDCOW2, MEDCOW3, GOFERW1, GOFERW2, GOFERW3,
		FDFERW1, FDFERW2, FDFERW3, TRGOVW1, TRGOVW2, TRGOVW3,
		TRREPW1, TRREPW2, TRREPW3, KMACC, KMWORK, INJSELFR,
		INJOTHR, DEFNW1, DEFNW2, DEFNW3, EFRADW1, EFRADW2,
		EFRADW3, AIRW1, AIRW2, AIRW3, RADCHW1, RADCHW2, RADCHW3,
		RADTLW1, RADTLW2, RADTLW3, RADHLW1, RADHLW2, RADHLW3,
		RADFMW1, RADFMW2, RADFMW3, DAFTER, NEIW1, NEIW2,
		NEIW3, TOXIC, WOMAN, KZCHORN, ICDXCNT, CSPRBSLV,
		CSSOCSPT, CSAVOID, WHPPAIN, BSITOTAL, BSIPOSYMP,
		BSIGLOBSI, BSISOMA, BSIIPS, BSIDEP, BSIPHANX, BSIHOS,
		BSIPAR, BSIPSYC, MIPTSD, AVGCUMDOSEW1, AVGCUMDOSEW2,
		AVGCUMDOSEW3, EMPLW35, HAVMIL, DEPAGW1, DEPAGW2,
		DEPAGW3, ANXAGW1, ANXAGW2, ANXAGW3, PHYSDISAGW1,
		PHYSDISAGW2, PHYSDISAGW3, PTSDW1, PTSDW2, PTSDW3,
		DRINKSPWW1, DRINKSPWW2, DRINKSPWW3, VODKAW1, VODKAW2,
		VODKAW3, PAINMEDSPW1, PAINMEDSPW2, PAINMEDSPW3, DOCVISITSW1,
		DOCVISITSW2, DOCVISITSW3, CHILDW1_mis, SHFAMW1_mis,
		SHFAMW2_mis, SHFINCW1_mis, SHRELAW2_mis, SUFAMW3_mis,
		SMOKW1_mis, LIQW1_mis, MEDCOW1_mis, MEDCOW3_mis,
		TRGOVW1_mis, TRGOVW2_mis, TRGOVW3_mis, TRREPW1_mis,
		TRREPW2_mis, TRREPW3_mis, DEFNW1_mis, RADTLW1_mis,
		DAFTER_mis, CSPRBSLV_mis, CSAVOID_mis, DOCVISITSW1_mis,
		DOCVISITSW2_mis, DOCVISITSW3_mis

MARS 3 Results
Model Sequence
	Basis
Functions	N
Predictors	N
Inputs	Effective
Parameters	    GCV    	GCV R-Square	Train MSE	
	17	10	9	48.00	143.19523	0.47247	111.52172	
	16	10	9	45.24	141.24032	0.47967	111.74503	
	**15	10	9	42.47	139.39244	0.48648	112.01472	
	14	10	9	39.71	140.53278	0.48228	114.68563	
	13	9	8	36.94	140.73180	0.48155	116.61371	
	12	9	8	34.18	142.18054	0.47621	119.60664	
	11	9	8	31.41	141.29647	0.47947	120.65276	
	10	9	8	28.65	141.32531	0.47936	122.47602	
	9	9	8	25.88	139.71947	0.48527	122.87082	
	8	8	7	23.12	142.59702	0.47467	127.23297	
	7	8	7	20.35	144.08245	0.46920	130.41739	
	6	7	6	17.59	147.78165	0.45557	135.68103	
	5	6	5	14.82	152.84387	0.43692	142.31834	
	4	5	4	12.06	159.80222	0.41129	150.88671	
	3	3	3	9.29	167.13510	0.38428	160.00491	
	2	2	2	6.53	177.76433	0.34512	172.52454	
	1	1	1	3.76	195.32839	0.28041	192.15706	
	0	0	0	1.00	271.44485	0.00000	269.85045	

MARS Selector Error Curve

MARS 3 Results; 15 Basis Functions

	Dataset:	chwideZAMay2012Masterchicosold.dta

	Predictor Variables:	EDU2, EDU3, EDU4, EDU5, EDU6, EDU7, EDU8, MARRW12,
		MARRW13, MARRW14, MARRW15, MARRW16, MARRW22, MARRW23,
		MARRW24, MARRW25, MARRW26, MARRW27, MARRW31, MARRW32,
		MARRW33, MARRW34, MARRW35, MARRW36, CHILDW1, CHILDW2,
		CHILDW3, EMPLW11, EMPLW12, EMPLW13, EMPLW14, EMPLW15,
		EMPLW16, EMPLW22, EMPLW23, EMPLW24, EMPLW25, EMPLW26,
		EMPLW32, EMPLW33, EMPLW34, OCC2W1, OCC3W1, OCC4W1,
		OCC5W1, OCC6W1, OCC7W1, OCC8W1, OCC1W2, OCC2W2, OCC3W2,
		OCC4W2, OCC5W2, OCC6W2, OCC7W2, OCC8W2, OCC1W3, OCC2W3,
		OCC3W3, OCC4W3, OCC5W3, OCC6W3, OCC7W3, OCC8W3, INC1W1,
		INC2W1, INC3W1, INC4W1, INC1W2, INC2W2, INC3W2, INC4W2,
		INC1W3, INC2W3, INC3W3, INC4W3, JSW1, JSW2, JSW3,
		DEAW1, DEAW2, DEAW3, DVCEW1, DVCEW2, DVCEW3, SEPAW1,
		SEPAW2, SEPAW3, ACCDW1, ACCDW2, ACCDW3, CATAW1, CATAW2,
		CATAW3, ILLW1, ILLW2, ILLW3, MOVEW1, MOVEW2, MOVEW3,
		SHJOBW1, SHJOBW2, SHJOBW3, SHFAMW1, SHFAMW2, SHFAMW3,
		SHHLW1, SHHLW2, SHHLW3, SHFINCW1, SHFINCW2, SHFINCW3,
		SHHOUSW1, SHHOUSW2, SHHOUSW3, SHRELAW1, SHRELAW2,
		SHRELAW3, SUPRTW1, SUPRTW2, SUPRTW3, SUFAMW1, SUFAMW2,
		SUFAMW3, SUCHRW1, SUCHRW2, SUCHRW3, PHLTHW1, PHLTHW2,
		PHLTHW3, SMOKW1, SMOKW2, SMOKW3, LIQW1, LIQW2, LIQW3,
		MEDCOW1, MEDCOW2, MEDCOW3, GOFERW1, GOFERW2, GOFERW3,
		FDFERW1, FDFERW2, FDFERW3, TRGOVW1, TRGOVW2, TRGOVW3,
		TRREPW1, TRREPW2, TRREPW3, KMACC, KMWORK, INJSELFR,
		INJOTHR, DEFNW1, DEFNW2, DEFNW3, EFRADW1, EFRADW2,
		EFRADW3, AIRW1, AIRW2, AIRW3, RADCHW1, RADCHW2, RADCHW3,
		RADTLW1, RADTLW2, RADTLW3, RADHLW1, RADHLW2, RADHLW3,
		RADFMW1, RADFMW2, RADFMW3, DAFTER, NEIW1, NEIW2,
		NEIW3, TOXIC, WOMAN, KZCHORN, ICDXCNT, CSPRBSLV,
		CSSOCSPT, CSAVOID, WHPPAIN, BSITOTAL, BSIPOSYMP,
		BSIGLOBSI, BSISOMA, BSIIPS, BSIDEP, BSIPHANX, BSIHOS,
		BSIPAR, BSIPSYC, MIPTSD, AVGCUMDOSEW1, AVGCUMDOSEW2,
		AVGCUMDOSEW3, EMPLW35, HAVMIL, DEPAGW1, DEPAGW2,
		DEPAGW3, ANXAGW1, ANXAGW2, ANXAGW3, PHYSDISAGW1,
		PHYSDISAGW2, PHYSDISAGW3, PTSDW1, PTSDW2, PTSDW3,
		DRINKSPWW1, DRINKSPWW2, DRINKSPWW3, VODKAW1, VODKAW2,
		VODKAW3, PAINMEDSPW1, PAINMEDSPW2, PAINMEDSPW3, DOCVISITSW1,
		DOCVISITSW2, DOCVISITSW3, CHILDW1_mis, SHFAMW1_mis,
		SHFAMW2_mis, SHFINCW1_mis, SHRELAW2_mis, SUFAMW3_mis,
		SMOKW1_mis, LIQW1_mis, MEDCOW1_mis, MEDCOW3_mis,
		TRGOVW1_mis, TRGOVW2_mis, TRGOVW3_mis, TRREPW1_mis,
		TRREPW2_mis, TRREPW3_mis, DEFNW1_mis, RADTLW1_mis,
		DAFTER_mis, CSPRBSLV_mis, CSAVOID_mis, DOCVISITSW1_mis,
		DOCVISITSW2_mis, DOCVISITSW3_mis

		Target Variable WHPPAIN
N: 340 		Minimum2.192E+004 	Maximum:  2.200E+004 
Mean:   2.193E+004 		Varience:   270.64647 

		Variables, Terms, and Parameters
Direct variables: 9 		Total variables: 10 
Terms in model: 16 		Effective parameters: 42.47 

		R-Square Measures
Naive: 0.60443 		Naive adjusted: 0.58612 	GCV R-square: 0.48648 

		Mean-Square Measures
Naive MSE: 112.01472 		MARS GCV: 139.39244 

Basis Functions

		Basis Functions
 BF1 = max(0, BSISOMA - 21935);
 BF2 = max(0, 21935 - BSISOMA);
 BF3 = max(0, ILLW3 - 21918);
 BF4 = max(0, 21918 - ILLW3);
 BF5 = max(0, HAVMIL - 21962.6);
 BF6 = max(0, 21962.6 - HAVMIL);
 BF7 = (TRREPW2 ne . ) * BF5;
 BF9 = max(0, TRREPW2 - 21996) * BF7;
 BF11 = max(0, BSIPSYC - 21920) * BF6;
 BF12 = max(0, RADCHW3 - 21916) * BF1;
 BF13 = max(0, PHYSDISAGW3 - 21916) * BF6;
 BF14 = max(0, ILLW3 - 21918) * BF2;
 BF15 = max(0, 21918 - ILLW3) * BF2;
 BF16 = max(0, ACCDW2 - 21917) * BF2;
 BF18 = max(0, SUCHRW2 - 21916) * BF1;

 Y = 21968 - 2.29387 * BF1 - 3.94277 * BF2 - 10.9782 * BF3 
           - 16.2733 * BF4 - 0.150944 * BF5 + 1.09887 * BF6 
           + 0.149892 * BF7 + 0.00643871 * BF9 - 0.312306 * BF11 
           + 0.054552 * BF12 + 0.0598086 * BF13 + 1.45831 * BF14 
           + 1.17008 * BF15 - 1.87487 * BF16 + 0.0213682 * BF18;

 MODEL WHPPAIN = BF1 BF2 BF3 BF4 BF5 BF6 BF7 BF9 BF11 BF12 BF13 
                 BF14 BF15 BF16 BF18;

Anova Data
	Function	Standard
Deviation	Mars Prediction Success
Threshold Table   	No of basis
Functions	No of Effective
Parameters	Variables	
	1	14.48738	166.16855	2	5.529	BSISOMA	
	2	9.57689	155.05451	2	5.529	ILLW3	
	3	17.00446	153.70675	2	5.529	HAVMIL	
	4	15.60751	142.00063	1	2.765	HAVMIL, TRREPW2_mis	
	5	5.37837	152.45120	1	2.765	BSIPSYC, HAVMIL	
	6	2.46255	142.91213	1	2.765	RADCHW3, BSISOMA	
	7	3.64149	147.51717	1	2.765	HAVMIL, PHYSDISAGW3	
	8	10.61350	142.35864	2	5.529	ILLW3, BSISOMA	
	9	1.89696	140.85452	1	2.765	ACCDW2, BSISOMA	
	10	2.50518	141.49624	1	2.765	SUCHRW2, BSISOMA	
	11	2.87987	146.78128	1	2.765	TRREPW2, HAVMIL, TRREPW2_mis	

Final Model
	Basis
Function	Coefficient	Variable	Sign	Parent
Sign	Parent	Knot	
	0	21,967.9668						
	1	-2.2939	BSISOMA	+			21,935.0000	
	2	-3.9428	BSISOMA	-			21,935.0000	
	3	-10.9782	ILLW3	+			21,918.0000	
	4	-16.2733	ILLW3	-			21,918.0000	
	5	-0.1509	HAVMIL	+			21,962.5938	
	6	1.0989	HAVMIL	-			21,962.5938	
	7	0.1499	TRREPW2_mis	+	+	HAVMIL	SubSet1	
	9	0.0064	TRREPW2	-	+	TRREPW2_mis	21,996.0000	
	11	-0.3123	BSIPSYC	+	+	HAVMIL	21,920.0000	
	12	0.0546	RADCHW3	-	+	BSISOMA	21,916.0000	
	13	0.0598	PHYSDISAGW3	+	+	HAVMIL	21,916.0000	
	14	1.4583	ILLW3	+	+	BSISOMA	21,918.0000	
	15	1.1701	ILLW3	+	+	BSISOMA	21,918.0000	
	16	-1.8749	ACCDW2	+	+	BSISOMA	21,917.0000	
	18	0.0214	SUCHRW2	-	+	BSISOMA	21,916.0000	

MARS Learn Gains

Gains Data
Bin	Target
Bin Avg.	% Target
in Bin	Cum % Target
in Bin	Cum %
Pop	% 
Pop	Cases
in Bin	Cum
Lift	Lift
Pop	
1	21,956.843	8.84	8.84	8.82	8.82	30	1.00	1.00	
2	21,941.046	8.54	17.37	17.35	8.53	29	1.00	1.00	
3	21,932.553	8.24	25.61	25.59	8.24	28	1.00	1.00	
4	21,927.334	7.94	33.55	33.53	7.94	27	1.00	1.00	
5	21,925.829	7.65	41.20	41.18	7.65	26	1.00	1.00	
6	21,921.477	10.88	52.08	52.06	10.88	37	1.00	1.00	
7	21,921.040	12.35	64.43	64.41	12.35	42	1.00	1.00	
8	21,916.885	12.35	76.78	76.76	12.35	42	1.00	1.00	
9	21,916.505	19.11	95.88	95.88	19.12	65	1.00	1.00	
10	21,916.000	4.12	100.00	100.00	4.12	14	1.00	1.00	

Variable Importance
Variable	Score	 	
BSISOMA	100.00	||||||||||||||||||||||||||||||||||||||||||	
HAVMIL	75.47	|||||||||||||||||||||||||||||||	
ILLW3	55.23	|||||||||||||||||||||||	
BSIPSYC	45.33	||||||||||||||||||	
TRREPW2_mis	40.49	||||||||||||||||	
PHYSDISAGW3	35.75	||||||||||||||	
TRREPW2	34.10	||||||||||||||	
RADCHW3	23.54	|||||||||	
SUCHRW2	18.20	|||||||	
ACCDW2	15.17	||||||	

MARS 4 Results

	Dataset:	chwideZAMay2012Masterchicosold.dta

	Predictor Variables:	EDU2, EDU3, EDU4, EDU5, EDU6, EDU7, EDU8, MARRW12,
		MARRW13, MARRW14, MARRW15, MARRW16, MARRW22, MARRW23,
		MARRW24, MARRW25, MARRW26, MARRW27, MARRW31, MARRW32,
		MARRW33, MARRW34, MARRW35, MARRW36, CHILDW1, CHILDW2,
		CHILDW3, EMPLW11, EMPLW12, EMPLW13, EMPLW14, EMPLW15,
		EMPLW16, EMPLW22, EMPLW23, EMPLW24, EMPLW25, EMPLW26,
		EMPLW32, EMPLW33, EMPLW34, OCC2W1, OCC3W1, OCC4W1,
		OCC5W1, OCC6W1, OCC7W1, OCC8W1, OCC1W2, OCC2W2, OCC3W2,
		OCC4W2, OCC5W2, OCC6W2, OCC7W2, OCC8W2, OCC1W3, OCC2W3,
		OCC3W3, OCC4W3, OCC5W3, OCC6W3, OCC7W3, OCC8W3, INC1W1,
		INC2W1, INC3W1, INC4W1, INC1W2, INC2W2, INC3W2, INC4W2,
		INC1W3, INC2W3, INC3W3, INC4W3, JSW1, JSW2, JSW3,
		DEAW1, DEAW2, DEAW3, DVCEW1, DVCEW2, DVCEW3, SEPAW1,
		SEPAW2, SEPAW3, ACCDW1, ACCDW2, ACCDW3, CATAW1, CATAW2,
		CATAW3, ILLW1, ILLW2, ILLW3, MOVEW1, MOVEW2, MOVEW3,
		SHJOBW1, SHJOBW2, SHJOBW3, SHFAMW1, SHFAMW2, SHFAMW3,
		SHHLW1, SHHLW2, SHHLW3, SHFINCW1, SHFINCW2, SHFINCW3,
		SHHOUSW1, SHHOUSW2, SHHOUSW3, SHRELAW1, SHRELAW2,
		SHRELAW3, SUPRTW1, SUPRTW2, SUPRTW3, SUFAMW1, SUFAMW2,
		SUFAMW3, SUCHRW1, SUCHRW2, SUCHRW3, PHLTHW1, PHLTHW2,
		PHLTHW3, SMOKW1, SMOKW2, SMOKW3, LIQW1, LIQW2, LIQW3,
		MEDCOW1, MEDCOW2, MEDCOW3, GOFERW1, GOFERW2, GOFERW3,
		FDFERW1, FDFERW2, FDFERW3, TRGOVW1, TRGOVW2, TRGOVW3,
		TRREPW1, TRREPW2, TRREPW3, KMACC, KMWORK, INJSELFR,
		INJOTHR, DEFNW1, DEFNW2, DEFNW3, EFRADW1, EFRADW2,
		EFRADW3, AIRW1, AIRW2, AIRW3, RADCHW1, RADCHW2, RADCHW3,
		RADTLW1, RADTLW2, RADTLW3, RADHLW1, RADHLW2, RADHLW3,
		RADFMW1, RADFMW2, RADFMW3, DAFTER, NEIW1, NEIW2,
		NEIW3, TOXIC, WOMAN, KZCHORN, ICDXCNT, CSPRBSLV,
		CSSOCSPT, CSAVOID, WHPSLEEP, BSITOTAL, BSIPOSYMP,
		BSIGLOBSI, BSISOMA, BSIIPS, BSIDEP, BSIPHANX, BSIHOS,
		BSIPAR, BSIPSYC, MIPTSD, AVGCUMDOSEW1, AVGCUMDOSEW2,
		AVGCUMDOSEW3, EMPLW35, HAVMIL, DEPAGW1, DEPAGW2,
		DEPAGW3, ANXAGW1, ANXAGW2, ANXAGW3, PHYSDISAGW1,
		PHYSDISAGW2, PHYSDISAGW3, PTSDW1, PTSDW2, PTSDW3,
		DRINKSPWW1, DRINKSPWW2, DRINKSPWW3, VODKAW1, VODKAW2,
		VODKAW3, PAINMEDSPW1, PAINMEDSPW2, PAINMEDSPW3, DOCVISITSW1,
		DOCVISITSW2, DOCVISITSW3, CHILDW1_mis, SHFAMW1_mis,
		SHFAMW2_mis, SHFINCW1_mis, SHRELAW2_mis, SUFAMW3_mis,
		SMOKW1_mis, LIQW1_mis, MEDCOW1_mis, MEDCOW3_mis,
		TRGOVW1_mis, TRGOVW2_mis, TRGOVW3_mis, TRREPW1_mis,
		TRREPW2_mis, TRREPW3_mis, DEFNW1_mis, RADTLW1_mis,
		DAFTER_mis, CSPRBSLV_mis, CSAVOID_mis, DOCVISITSW1_mis,
		DOCVISITSW2_mis, DOCVISITSW3_mis

MARS 4 Results
Model Sequence
	Basis
Functions	N
Predictors	N
Inputs	Effective
Parameters	    GCV    	GCV R-Square	Train MSE	
	15	10	8	40.00	361.65336	0.41495	295.46843	
	14	10	8	37.40	355.47930	0.42494	294.57092	
	13	10	8	34.80	349.55296	0.43452	293.75517	
	12	10	8	32.20	344.47834	0.44273	293.54351	
	**11	10	8	29.60	340.98743	0.44838	294.59748	
	10	10	8	27.00	342.85510	0.44536	300.27866	
	9	9	7	24.40	350.14488	0.43356	310.83428	
	8	8	6	21.80	360.74404	0.41642	324.55822	
	7	8	6	19.20	368.20826	0.40434	335.69528	
	6	6	5	16.60	377.38991	0.38949	348.61588	
	5	5	4	14.00	388.91907	0.37084	363.97291	
	4	5	4	11.40	402.33180	0.34914	381.41323	
	3	4	3	8.80	400.31009	0.35241	384.37842	
	2	2	2	6.20	406.12021	0.34301	394.92848	
	1	2	2	3.60	429.83087	0.30466	423.26656	
	0	0	0	1.00	618.15527	0.00000	614.52443	

MARS Selector Error Curve

MARS 4 Results; 11 Basis Functions

	Dataset:	chwideZAMay2012Masterchicosold.dta

	Predictor Variables:	EDU2, EDU3, EDU4, EDU5, EDU6, EDU7, EDU8, MARRW12,
		MARRW13, MARRW14, MARRW15, MARRW16, MARRW22, MARRW23,
		MARRW24, MARRW25, MARRW26, MARRW27, MARRW31, MARRW32,
		MARRW33, MARRW34, MARRW35, MARRW36, CHILDW1, CHILDW2,
		CHILDW3, EMPLW11, EMPLW12, EMPLW13, EMPLW14, EMPLW15,
		EMPLW16, EMPLW22, EMPLW23, EMPLW24, EMPLW25, EMPLW26,
		EMPLW32, EMPLW33, EMPLW34, OCC2W1, OCC3W1, OCC4W1,
		OCC5W1, OCC6W1, OCC7W1, OCC8W1, OCC1W2, OCC2W2, OCC3W2,
		OCC4W2, OCC5W2, OCC6W2, OCC7W2, OCC8W2, OCC1W3, OCC2W3,
		OCC3W3, OCC4W3, OCC5W3, OCC6W3, OCC7W3, OCC8W3, INC1W1,
		INC2W1, INC3W1, INC4W1, INC1W2, INC2W2, INC3W2, INC4W2,
		INC1W3, INC2W3, INC3W3, INC4W3, JSW1, JSW2, JSW3,
		DEAW1, DEAW2, DEAW3, DVCEW1, DVCEW2, DVCEW3, SEPAW1,
		SEPAW2, SEPAW3, ACCDW1, ACCDW2, ACCDW3, CATAW1, CATAW2,
		CATAW3, ILLW1, ILLW2, ILLW3, MOVEW1, MOVEW2, MOVEW3,
		SHJOBW1, SHJOBW2, SHJOBW3, SHFAMW1, SHFAMW2, SHFAMW3,
		SHHLW1, SHHLW2, SHHLW3, SHFINCW1, SHFINCW2, SHFINCW3,
		SHHOUSW1, SHHOUSW2, SHHOUSW3, SHRELAW1, SHRELAW2,
		SHRELAW3, SUPRTW1, SUPRTW2, SUPRTW3, SUFAMW1, SUFAMW2,
		SUFAMW3, SUCHRW1, SUCHRW2, SUCHRW3, PHLTHW1, PHLTHW2,
		PHLTHW3, SMOKW1, SMOKW2, SMOKW3, LIQW1, LIQW2, LIQW3,
		MEDCOW1, MEDCOW2, MEDCOW3, GOFERW1, GOFERW2, GOFERW3,
		FDFERW1, FDFERW2, FDFERW3, TRGOVW1, TRGOVW2, TRGOVW3,
		TRREPW1, TRREPW2, TRREPW3, KMACC, KMWORK, INJSELFR,
		INJOTHR, DEFNW1, DEFNW2, DEFNW3, EFRADW1, EFRADW2,
		EFRADW3, AIRW1, AIRW2, AIRW3, RADCHW1, RADCHW2, RADCHW3,
		RADTLW1, RADTLW2, RADTLW3, RADHLW1, RADHLW2, RADHLW3,
		RADFMW1, RADFMW2, RADFMW3, DAFTER, NEIW1, NEIW2,
		NEIW3, TOXIC, WOMAN, KZCHORN, ICDXCNT, CSPRBSLV,
		CSSOCSPT, CSAVOID, WHPSLEEP, BSITOTAL, BSIPOSYMP,
		BSIGLOBSI, BSISOMA, BSIIPS, BSIDEP, BSIPHANX, BSIHOS,
		BSIPAR, BSIPSYC, MIPTSD, AVGCUMDOSEW1, AVGCUMDOSEW2,
		AVGCUMDOSEW3, EMPLW35, HAVMIL, DEPAGW1, DEPAGW2,
		DEPAGW3, ANXAGW1, ANXAGW2, ANXAGW3, PHYSDISAGW1,
		PHYSDISAGW2, PHYSDISAGW3, PTSDW1, PTSDW2, PTSDW3,
		DRINKSPWW1, DRINKSPWW2, DRINKSPWW3, VODKAW1, VODKAW2,
		VODKAW3, PAINMEDSPW1, PAINMEDSPW2, PAINMEDSPW3, DOCVISITSW1,
		DOCVISITSW2, DOCVISITSW3, CHILDW1_mis, SHFAMW1_mis,
		SHFAMW2_mis, SHFINCW1_mis, SHRELAW2_mis, SUFAMW3_mis,
		SMOKW1_mis, LIQW1_mis, MEDCOW1_mis, MEDCOW3_mis,
		TRGOVW1_mis, TRGOVW2_mis, TRGOVW3_mis, TRREPW1_mis,
		TRREPW2_mis, TRREPW3_mis, DEFNW1_mis, RADTLW1_mis,
		DAFTER_mis, CSPRBSLV_mis, CSAVOID_mis, DOCVISITSW1_mis,
		DOCVISITSW2_mis, DOCVISITSW3_mis

		Target Variable WHPSLEEP
N: 340 		Minimum2.192E+004 	Maximum:  2.202E+004 
Mean:   2.193E+004 		Varience:   616.33718 

		Variables, Terms, and Parameters
Direct variables: 8 		Total variables: 10 
Terms in model: 12 		Effective parameters: 29.60 

		R-Square Measures
Naive: 0.53753 		Naive adjusted: 0.52202 	GCV R-square: 0.44838 

		Mean-Square Measures
Naive MSE: 294.59748 		MARS GCV: 340.98744 

Basis Functions

		Basis Functions
 BF1 = max(0, BSIPOSYMP - 22020);
 BF2 = max(0, 22020 - BSIPOSYMP);
 BF3 = max(0, BSIHOS - 21930) * BF1;
 BF4 = max(0, 21930 - BSIHOS) * BF1;
 BF5 = max(0, SUFAMW1 - 21926) * BF2;
 BF6 = max(0, 21926 - SUFAMW1) * BF2;
 BF7 = (TRGOVW3 ne . );
 BF8 = (TRGOVW3 = . );
 BF9 = max(0, TRGOVW3 - 21986) * BF7;
 BF11 = max(0, NEIW1 - 21996) * BF9;
 BF12 = max(0, 21996 - NEIW1) * BF9;
 BF13 = max(0, SHJOBW1 - 21996) * BF9;
 BF15 = (MEDCOW1 ne . ) * BF9;
 BF17 = max(0, MEDCOW1 - 21916) * BF15;
 BF18 = max(0, AGE - 30) * BF8;

 Y = 21947.7 + 1.63852 * BF1 - 0.25614 * BF3 - 0.453931 * BF4 
             - 0.00942695 * BF5 - 0.0611928 * BF6 + 2.4321 * BF9 
             - 0.10478 * BF11 - 0.0353925 * BF12 
             + 0.0746402 * BF13 - 0.387369 * BF17 
             + 0.554833 * BF18;

 MODEL WHPSLEEP = BF1 BF3 BF4 BF5 BF6 BF9 BF11 BF12 BF13 BF17 
                  BF18;

Anova Data
	Function	Standard
Deviation	Mars Prediction Success
Threshold Table   	No of basis
Functions	No of Effective
Parameters	Variables	
	1	12.98773	355.55413	1	2.600	BSIPOSYMP	
	2	9.56771	350.14488	2	5.200	BSIPOSYMP, BSIHOS	
	3	12.17814	464.22155	2	5.200	SUFAMW1, BSIPOSYMP	
	4	19.17529	385.80232	1	2.600	TRGOVW3, TRGOVW3_mis	
	5	4.70964	351.68149	1	2.600	AGE, TRGOVW3_mis	
	6	15.45250	367.90133	2	5.200	TRGOVW3, NEIW1, TRGOVW3_mis	
	7	4.68911	356.66369	1	2.600	SHJOBW1, TRGOVW3, TRGOVW3_mis	
	8	5.42063	357.77957	1	2.600	MEDCOW1, TRGOVW3, MEDCOW1_mis, TRGOVW3_mis	

Final Model
	Basis
Function	Coefficient	Variable	Sign	Parent
Sign	Parent	Knot	
	0	21,947.7070						
	1	1.6385	BSIPOSYMP	+			22,020.0000	
	3	-0.2561	BSIHOS	-	-	BSIPOSYMP	21,930.0000	
	4	-0.4539	BSIHOS	+	+	BSIPOSYMP	21,930.0000	
	5	-0.0094	SUFAMW1	-	+	BSIPOSYMP	21,926.0000	
	6	-0.0612	SUFAMW1	+	+	BSIPOSYMP	21,926.0000	
	9	2.4321	TRGOVW3	-	+	TRGOVW3_mis	21,986.0000	
	11	-0.1048	NEIW1	+	-	TRGOVW3	21,996.0000	
	12	-0.0354	NEIW1	-	-	TRGOVW3	21,996.0000	
	13	0.0746	SHJOBW1	+	+	TRGOVW3	21,996.0000	
	17	-0.3874	MEDCOW1	-	+	MEDCOW1_mis	21,916.0000	
	18	0.5548	AGE	+	+	TRGOVW3_mis	30.0000	

MARS Learn Gains

Gains Data
Bin	Target
Bin Avg.	% Target
in Bin	Cum % Target
in Bin	Cum %
Pop	% 
Pop	Cases
in Bin	Cum
Lift	Lift
Pop	
1	21,974.758	8.25	8.25	8.24	8.24	28	1.00	1.00	
2	21,957.772	8.24	16.50	16.47	8.24	28	1.00	1.00	
3	21,955.264	8.54	25.03	25.00	8.53	29	1.00	1.00	
4	21,933.413	8.82	33.86	33.82	8.82	30	1.00	1.00	
5	21,928.831	9.41	43.27	43.24	9.41	32	1.00	1.00	
6	21,926.634	9.70	52.97	52.94	9.71	33	1.00	1.00	
7	21,924.215	10.88	63.85	63.82	10.88	37	1.00	1.00	
8	21,921.685	10.88	74.72	74.71	10.88	37	1.00	1.00	
9	21,917.533	12.05	86.77	86.76	12.06	41	1.00	1.00	
10	21,917.475	13.23	100.00	100.00	13.24	45	1.00	1.00	

Variable Importance
Variable	Score	 	
BSIPOSYMP	100.00	||||||||||||||||||||||||||||||||||||||||||	
SUFAMW1	77.07	||||||||||||||||||||||||||||||||	
TRGOVW3_mis	51.75	|||||||||||||||||||||	
TRGOVW3	49.77	||||||||||||||||||||	
NEIW1	36.01	||||||||||||||	
MEDCOW1	28.45	|||||||||||	
MEDCOW1_mis	28.45	|||||||||||	
SHJOBW1	27.49	|||||||||||	
AGE	22.70	|||||||||	
BSIHOS	21.01	||||||||	

MARS 5 Results

	Dataset:	chwideZAMay2012Masterchicosold.dta

	Predictor Variables:	EDU2, EDU3, EDU4, EDU5, EDU6, EDU7, EDU8, MARRW12,
		MARRW13, MARRW14, MARRW15, MARRW16, MARRW22, MARRW23,
		MARRW24, MARRW25, MARRW26, MARRW27, MARRW31, MARRW32,
		MARRW33, MARRW34, MARRW35, MARRW36, CHILDW1, CHILDW2,
		CHILDW3, EMPLW11, EMPLW12, EMPLW13, EMPLW14, EMPLW15,
		EMPLW16, EMPLW22, EMPLW23, EMPLW24, EMPLW25, EMPLW26,
		EMPLW32, EMPLW33, EMPLW34, OCC2W1, OCC3W1, OCC4W1,
		OCC5W1, OCC6W1, OCC7W1, OCC8W1, OCC1W2, OCC2W2, OCC3W2,
		OCC4W2, OCC5W2, OCC6W2, OCC7W2, OCC8W2, OCC1W3, OCC2W3,
		OCC3W3, OCC4W3, OCC5W3, OCC6W3, OCC7W3, OCC8W3, INC1W1,
		INC2W1, INC3W1, INC4W1, INC1W2, INC2W2, INC3W2, INC4W2,
		INC1W3, INC2W3, INC3W3, INC4W3, JSW1, JSW2, JSW3,
		DEAW1, DEAW2, DEAW3, DVCEW1, DVCEW2, DVCEW3, SEPAW1,
		SEPAW2, SEPAW3, ACCDW1, ACCDW2, ACCDW3, CATAW1, CATAW2,
		CATAW3, ILLW1, ILLW2, ILLW3, MOVEW1, MOVEW2, MOVEW3,
		SHJOBW1, SHJOBW2, SHJOBW3, SHFAMW1, SHFAMW2, SHFAMW3,
		SHHLW1, SHHLW2, SHHLW3, SHFINCW1, SHFINCW2, SHFINCW3,
		SHHOUSW1, SHHOUSW2, SHHOUSW3, SHRELAW1, SHRELAW2,
		SHRELAW3, SUPRTW1, SUPRTW2, SUPRTW3, SUFAMW1, SUFAMW2,
		SUFAMW3, SUCHRW1, SUCHRW2, SUCHRW3, PHLTHW1, PHLTHW2,
		PHLTHW3, SMOKW1, SMOKW2, SMOKW3, LIQW1, LIQW2, LIQW3,
		MEDCOW1, MEDCOW2, MEDCOW3, GOFERW1, GOFERW2, GOFERW3,
		FDFERW1, FDFERW2, FDFERW3, TRGOVW1, TRGOVW2, TRGOVW3,
		TRREPW1, TRREPW2, TRREPW3, KMACC, KMWORK, INJSELFR,
		INJOTHR, DEFNW1, DEFNW2, DEFNW3, EFRADW1, EFRADW2,
		EFRADW3, AIRW1, AIRW2, AIRW3, RADCHW1, RADCHW2, RADCHW3,
		RADTLW1, RADTLW2, RADTLW3, RADHLW1, RADHLW2, RADHLW3,
		RADFMW1, RADFMW2, RADFMW3, DAFTER, NEIW1, NEIW2,
		NEIW3, TOXIC, WOMAN, KZCHORN, ICDXCNT, CSPRBSLV,
		CSSOCSPT, CSAVOID, WHPSOCISO, BSITOTAL, BSIPOSYMP,
		BSIGLOBSI, BSISOMA, BSIIPS, BSIDEP, BSIPHANX, BSIHOS,
		BSIPAR, BSIPSYC, MIPTSD, AVGCUMDOSEW1, AVGCUMDOSEW2,
		AVGCUMDOSEW3, EMPLW35, HAVMIL, DEPAGW1, DEPAGW2,
		DEPAGW3, ANXAGW1, ANXAGW2, ANXAGW3, PHYSDISAGW1,
		PHYSDISAGW2, PHYSDISAGW3, PTSDW1, PTSDW2, PTSDW3,
		DRINKSPWW1, DRINKSPWW2, DRINKSPWW3, VODKAW1, VODKAW2,
		VODKAW3, PAINMEDSPW1, PAINMEDSPW2, PAINMEDSPW3, DOCVISITSW1,
		DOCVISITSW2, DOCVISITSW3, CHILDW1_mis, SHFAMW1_mis,
		SHFAMW2_mis, SHFINCW1_mis, SHRELAW2_mis, SUFAMW3_mis,
		SMOKW1_mis, LIQW1_mis, MEDCOW1_mis, MEDCOW3_mis,
		TRGOVW1_mis, TRGOVW2_mis, TRGOVW3_mis, TRREPW1_mis,
		TRREPW2_mis, TRREPW3_mis, DEFNW1_mis, RADTLW1_mis,
		DAFTER_mis, CSPRBSLV_mis, CSAVOID_mis, DOCVISITSW1_mis,
		DOCVISITSW2_mis, DOCVISITSW3_mis

MARS 5 Results
Model Sequence
	Basis
Functions	N
Predictors	N
Inputs	Effective
Parameters	    GCV    	GCV R-Square	Train MSE	
	18	9	9	49.00	100.60357	0.56251	78.05764	
	17	9	9	46.33	98.79693	0.57037	77.82479	
	16	9	9	43.67	97.09787	0.57776	77.64067	
	15	9	9	41.00	95.44891	0.58493	77.46213	
	14	9	9	38.33	93.87775	0.59176	77.31345	
	13	9	9	35.67	92.98646	0.59563	77.70022	
	**12	9	9	33.00	92.72143	0.59679	78.60139	
	11	9	9	30.33	93.03612	0.59542	79.99959	
	10	8	8	27.67	94.86252	0.58748	82.72876	
	9	7	7	25.00	96.83585	0.57889	85.63759	
	8	7	7	22.33	98.98895	0.56953	88.76119	
	7	7	7	19.67	100.16611	0.56441	91.05590	
	6	7	7	17.00	101.38317	0.55912	93.42169	
	5	6	6	14.33	103.17963	0.55131	96.36409	
	4	5	5	11.67	108.65249	0.52751	102.83617	
	3	5	5	9.00	117.92385	0.48719	113.09397	
	2	4	4	6.33	131.57332	0.42783	127.84527	
	1	2	2	3.67	164.84566	0.28314	162.26383	
	0	0	0	1.00	229.95634	0.00000	228.60564	

MARS Selector Error Curve

MARS 5 Results; 12 Basis Functions

	Dataset:	chwideZAMay2012Masterchicosold.dta

	Predictor Variables:	EDU2, EDU3, EDU4, EDU5, EDU6, EDU7, EDU8, MARRW12,
		MARRW13, MARRW14, MARRW15, MARRW16, MARRW22, MARRW23,
		MARRW24, MARRW25, MARRW26, MARRW27, MARRW31, MARRW32,
		MARRW33, MARRW34, MARRW35, MARRW36, CHILDW1, CHILDW2,
		CHILDW3, EMPLW11, EMPLW12, EMPLW13, EMPLW14, EMPLW15,
		EMPLW16, EMPLW22, EMPLW23, EMPLW24, EMPLW25, EMPLW26,
		EMPLW32, EMPLW33, EMPLW34, OCC2W1, OCC3W1, OCC4W1,
		OCC5W1, OCC6W1, OCC7W1, OCC8W1, OCC1W2, OCC2W2, OCC3W2,
		OCC4W2, OCC5W2, OCC6W2, OCC7W2, OCC8W2, OCC1W3, OCC2W3,
		OCC3W3, OCC4W3, OCC5W3, OCC6W3, OCC7W3, OCC8W3, INC1W1,
		INC2W1, INC3W1, INC4W1, INC1W2, INC2W2, INC3W2, INC4W2,
		INC1W3, INC2W3, INC3W3, INC4W3, JSW1, JSW2, JSW3,
		DEAW1, DEAW2, DEAW3, DVCEW1, DVCEW2, DVCEW3, SEPAW1,
		SEPAW2, SEPAW3, ACCDW1, ACCDW2, ACCDW3, CATAW1, CATAW2,
		CATAW3, ILLW1, ILLW2, ILLW3, MOVEW1, MOVEW2, MOVEW3,
		SHJOBW1, SHJOBW2, SHJOBW3, SHFAMW1, SHFAMW2, SHFAMW3,
		SHHLW1, SHHLW2, SHHLW3, SHFINCW1, SHFINCW2, SHFINCW3,
		SHHOUSW1, SHHOUSW2, SHHOUSW3, SHRELAW1, SHRELAW2,
		SHRELAW3, SUPRTW1, SUPRTW2, SUPRTW3, SUFAMW1, SUFAMW2,
		SUFAMW3, SUCHRW1, SUCHRW2, SUCHRW3, PHLTHW1, PHLTHW2,
		PHLTHW3, SMOKW1, SMOKW2, SMOKW3, LIQW1, LIQW2, LIQW3,
		MEDCOW1, MEDCOW2, MEDCOW3, GOFERW1, GOFERW2, GOFERW3,
		FDFERW1, FDFERW2, FDFERW3, TRGOVW1, TRGOVW2, TRGOVW3,
		TRREPW1, TRREPW2, TRREPW3, KMACC, KMWORK, INJSELFR,
		INJOTHR, DEFNW1, DEFNW2, DEFNW3, EFRADW1, EFRADW2,
		EFRADW3, AIRW1, AIRW2, AIRW3, RADCHW1, RADCHW2, RADCHW3,
		RADTLW1, RADTLW2, RADTLW3, RADHLW1, RADHLW2, RADHLW3,
		RADFMW1, RADFMW2, RADFMW3, DAFTER, NEIW1, NEIW2,
		NEIW3, TOXIC, WOMAN, KZCHORN, ICDXCNT, CSPRBSLV,
		CSSOCSPT, CSAVOID, WHPSOCISO, BSITOTAL, BSIPOSYMP,
		BSIGLOBSI, BSISOMA, BSIIPS, BSIDEP, BSIPHANX, BSIHOS,
		BSIPAR, BSIPSYC, MIPTSD, AVGCUMDOSEW1, AVGCUMDOSEW2,
		AVGCUMDOSEW3, EMPLW35, HAVMIL, DEPAGW1, DEPAGW2,
		DEPAGW3, ANXAGW1, ANXAGW2, ANXAGW3, PHYSDISAGW1,
		PHYSDISAGW2, PHYSDISAGW3, PTSDW1, PTSDW2, PTSDW3,
		DRINKSPWW1, DRINKSPWW2, DRINKSPWW3, VODKAW1, VODKAW2,
		VODKAW3, PAINMEDSPW1, PAINMEDSPW2, PAINMEDSPW3, DOCVISITSW1,
		DOCVISITSW2, DOCVISITSW3, CHILDW1_mis, SHFAMW1_mis,
		SHFAMW2_mis, SHFINCW1_mis, SHRELAW2_mis, SUFAMW3_mis,
		SMOKW1_mis, LIQW1_mis, MEDCOW1_mis, MEDCOW3_mis,
		TRGOVW1_mis, TRGOVW2_mis, TRGOVW3_mis, TRREPW1_mis,
		TRREPW2_mis, TRREPW3_mis, DEFNW1_mis, RADTLW1_mis,
		DAFTER_mis, CSPRBSLV_mis, CSAVOID_mis, DOCVISITSW1_mis,
		DOCVISITSW2_mis, DOCVISITSW3_mis

		Target Variable WHPSOCISO
N: 340 		Minimum2.192E+004 	Maximum:  2.202E+004 
Mean:   2.192E+004 		Varience:   229.28000 

		Variables, Terms, and Parameters
Direct variables: 9 		Total variables: 9 
Terms in model: 13 		Effective parameters: 33.00 

		R-Square Measures
Naive: 0.66932 		Naive adjusted: 0.65718 	GCV R-square: 0.59679 

		Mean-Square Measures
Naive MSE: 78.60139 		MARS GCV: 92.72143 

Basis Functions
 BF1 = max(0, BSIPSYC - 21923);
 BF3 = max(0, PHYSDISAGW2 - 21928) * BF1;
 BF4 = max(0, 21928 - PHYSDISAGW2) * BF1;
 BF5 = max(0, BSIDEP - 21921);
 BF6 = max(0, VODKAW1 - 21918) * BF5;
 BF7 = max(0, 21918 - VODKAW1) * BF5;
 BF9 = max(0, 21917 - ILLW3) * BF1;
 BF10 = max(0, GOFERW1 - 21926) * BF5;
 BF12 = max(0, PHYSDISAGW2 - 21919) * BF5;
 BF13 = max(0, 21919 - PHYSDISAGW2) * BF5;
 BF15 = max(0, 22066 - KMACC) * BF5;
 BF17 = max(0, 21918 - DEAW3) * BF5;
 BF18 = max(0, EDU3 - 2.00593E-010) * BF5;

 Y = 21915.3 - 4.30575 * BF1 + 0.261145 * BF3 + 0.666181 * BF4 
             + 0.554308 * BF6 + 0.403083 * BF7 + 4.72975 * BF9 
             - 0.0127431 * BF10 - 0.0457709 * BF12 
             - 0.752962 * BF13 + 0.0255894 * BF15 + 1.00933 * BF17 
             + 1.1042 * BF18;

 MODEL WHPSOCISO = BF1 BF3 BF4 BF6 BF7 BF9 BF10 BF12 BF13 BF15 
                   BF17 BF18;

Anova Data
	Function	Standard
Deviation	Mars Prediction Success
Threshold Table   	No of basis
Functions	No of Effective
Parameters	Variables	
	1	6.99183	101.30703	1	2.667	BSIPSYC	
	2	10.72730	115.02876	2	5.333	BSIPSYC, PHYSDISAGW2	
	3	5.77902	117.41181	2	5.333	BSIDEP, VODKAW1	
	4	5.12581	107.60473	1	2.667	ILLW3, BSIPSYC	
	5	1.98712	94.59936	1	2.667	GOFERW1, BSIDEP	
	6	5.66543	101.25293	2	5.333	BSIDEP, PHYSDISAGW2	
	7	2.67653	96.82343	1	2.667	KMACC, BSIDEP	
	8	4.96975	99.49885	1	2.667	DEAW3, BSIDEP	
	9	2.36544	96.09262	1	2.667	EDU3, BSIDEP	

Final Model
	Basis
Function	Coefficient	Variable	Sign	Parent
Sign	Parent	Knot	
	0	21,915.2988						
	1	-4.3057	BSIPSYC	+			21,923.0000	
	3	0.2611	PHYSDISAGW2	-	-	BSIPSYC	21,928.0000	
	4	0.6662	PHYSDISAGW2	+	+	BSIPSYC	21,928.0000	
	6	0.5543	VODKAW1	-	+	BSIDEP	21,918.0000	
	7	0.4031	VODKAW1	+	-	BSIDEP	21,918.0000	
	9	4.7298	ILLW3	+	+	BSIPSYC	21,917.0000	
	10	-0.0127	GOFERW1	-	+	BSIDEP	21,926.0000	
	12	-0.0458	PHYSDISAGW2	+	+	BSIDEP	21,919.0000	
	13	-0.7530	PHYSDISAGW2	-	+	BSIDEP	21,919.0000	
	15	0.0256	KMACC	+	+	BSIDEP	22,066.0000	
	17	1.0093	DEAW3	-	+	BSIDEP	21,918.0000	
	18	1.1042	EDU3	+	+	BSIDEP	0.0000	

MARS Learn Gains

Gains Data
Bin	Target
Bin Avg.	% Target
in Bin	Cum % Target
in Bin	Cum %
Pop	% 
Pop	Cases
in Bin	Cum
Lift	Lift
Pop	
1	21,951.210	12.07	12.07	12.06	12.06	41	1.00	1.00	
2	21,924.521	11.77	23.84	23.82	11.76	40	1.00	1.00	
3	21,919.067	11.47	35.31	35.29	11.47	39	1.00	1.00	
4	21,919.981	10.29	45.60	45.59	10.29	35	1.00	1.00	
5	21,917.902	10.00	55.60	55.59	10.00	34	1.00	1.00	
6	21,917.631	10.00	65.60	65.59	10.00	34	1.00	1.00	
7	21,916.000	9.70	75.30	75.29	9.71	33	1.00	1.00	
8	21,917.518	8.53	83.83	83.82	8.53	29	1.00	1.00	
9	21,916.000	8.23	92.06	92.06	8.24	28	1.00	1.00	
10	21,916.000	7.94	100.00	100.00	7.94	27	1.00	1.00	

Variable Importance
Variable	Score	 	
BSIPSYC	100.00	||||||||||||||||||||||||||||||||||||||||||	
BSIDEP	82.96	|||||||||||||||||||||||||||||||||||	
VODKAW1	71.39	||||||||||||||||||||||||||||||	
PHYSDISAGW2	63.61	||||||||||||||||||||||||||	
ILLW3	55.44	|||||||||||||||||||||||	
DEAW3	37.40	|||||||||||||||	
KMACC	29.10	||||||||||||	
EDU3	26.38	||||||||||	
GOFERW1	19.69	|||||||	

MARS 6 Results

	Dataset:	chwideZAMay2012Masterchicosold.dta

	Predictor Variables:	EDU2, EDU3, EDU4, EDU5, EDU6, EDU7, EDU8, MARRW12,
		MARRW13, MARRW14, MARRW15, MARRW16, MARRW22, MARRW23,
		MARRW24, MARRW25, MARRW26, MARRW27, MARRW31, MARRW32,
		MARRW33, MARRW34, MARRW35, MARRW36, CHILDW1, CHILDW2,
		CHILDW3, EMPLW11, EMPLW12, EMPLW13, EMPLW14, EMPLW15,
		EMPLW16, EMPLW22, EMPLW23, EMPLW24, EMPLW25, EMPLW26,
		EMPLW32, EMPLW33, EMPLW34, OCC2W1, OCC3W1, OCC4W1,
		OCC5W1, OCC6W1, OCC7W1, OCC8W1, OCC1W2, OCC2W2, OCC3W2,
		OCC4W2, OCC5W2, OCC6W2, OCC7W2, OCC8W2, OCC1W3, OCC2W3,
		OCC3W3, OCC4W3, OCC5W3, OCC6W3, OCC7W3, OCC8W3, INC1W1,
		INC2W1, INC3W1, INC4W1, INC1W2, INC2W2, INC3W2, INC4W2,
		INC1W3, INC2W3, INC3W3, INC4W3, JSW1, JSW2, JSW3,
		DEAW1, DEAW2, DEAW3, DVCEW1, DVCEW2, DVCEW3, SEPAW1,
		SEPAW2, SEPAW3, ACCDW1, ACCDW2, ACCDW3, CATAW1, CATAW2,
		CATAW3, ILLW1, ILLW2, ILLW3, MOVEW1, MOVEW2, MOVEW3,
		SHJOBW1, SHJOBW2, SHJOBW3, SHFAMW1, SHFAMW2, SHFAMW3,
		SHHLW1, SHHLW2, SHHLW3, SHFINCW1, SHFINCW2, SHFINCW3,
		SHHOUSW1, SHHOUSW2, SHHOUSW3, SHRELAW1, SHRELAW2,
		SHRELAW3, SUPRTW1, SUPRTW2, SUPRTW3, SUFAMW1, SUFAMW2,
		SUFAMW3, SUCHRW1, SUCHRW2, SUCHRW3, PHLTHW1, PHLTHW2,
		PHLTHW3, SMOKW1, SMOKW2, SMOKW3, LIQW1, LIQW2, LIQW3,
		MEDCOW1, MEDCOW2, MEDCOW3, GOFERW1, GOFERW2, GOFERW3,
		FDFERW1, FDFERW2, FDFERW3, TRGOVW1, TRGOVW2, TRGOVW3,
		TRREPW1, TRREPW2, TRREPW3, KMACC, KMWORK, INJSELFR,
		INJOTHR, DEFNW1, DEFNW2, DEFNW3, EFRADW1, EFRADW2,
		EFRADW3, AIRW1, AIRW2, AIRW3, RADCHW1, RADCHW2, RADCHW3,
		RADTLW1, RADTLW2, RADTLW3, RADHLW1, RADHLW2, RADHLW3,
		RADFMW1, RADFMW2, RADFMW3, DAFTER, NEIW1, NEIW2,
		NEIW3, TOXIC, WOMAN, KZCHORN, ICDXCNT, CSPRBSLV,
		CSSOCSPT, CSAVOID, WHPPAIN, BSITOTAL, BSIPOSYMP,
		BSIGLOBSI, BSISOMA, BSIIPS, BSIDEP, BSIPHANX, BSIHOS,
		BSIPAR, BSIPSYC, MIPTSD, AVGCUMDOSEW1, AVGCUMDOSEW2,
		AVGCUMDOSEW3, EMPLW35, HAVMIL, DEPAGW1, DEPAGW2,
		DEPAGW3, ANXAGW1, ANXAGW2, ANXAGW3, PHYSDISAGW1,
		PHYSDISAGW2, PHYSDISAGW3, PTSDW1, PTSDW2, PTSDW3,
		DRINKSPWW1, DRINKSPWW2, DRINKSPWW3, VODKAW1, VODKAW2,
		VODKAW3, PAINMEDSPW1, PAINMEDSPW2, PAINMEDSPW3, DOCVISITSW1,
		DOCVISITSW2, DOCVISITSW3, CHILDW1_mis, SHFAMW1_mis,
		SHFAMW2_mis, SHFINCW1_mis, SHRELAW2_mis, SUFAMW3_mis,
		SMOKW1_mis, LIQW1_mis, MEDCOW1_mis, MEDCOW3_mis,
		TRGOVW1_mis, TRGOVW2_mis, TRGOVW3_mis, TRREPW1_mis,
		TRREPW2_mis, TRREPW3_mis, DEFNW1_mis, RADTLW1_mis,
		DAFTER_mis, CSPRBSLV_mis, CSAVOID_mis, DOCVISITSW1_mis,
		DOCVISITSW2_mis, DOCVISITSW3_mis

MARS 6 Results
Model Sequence
	Basis
Functions	N
Predictors	N
Inputs	Effective
Parameters	    GCV    	GCV R-Square	Train MSE	
	17	10	9	48.00	143.19523	0.47247	111.52172	
	16	10	9	45.24	141.24032	0.47967	111.74503	
	**15	10	9	42.47	139.39244	0.48648	112.01472	
	14	10	9	39.71	140.53278	0.48228	114.68563	
	13	9	8	36.94	140.73180	0.48155	116.61371	
	12	9	8	34.18	142.18054	0.47621	119.60664	
	11	9	8	31.41	141.29647	0.47947	120.65276	
	10	9	8	28.65	141.32531	0.47936	122.47602	
	9	9	8	25.88	139.71947	0.48527	122.87082	
	8	8	7	23.12	142.59702	0.47467	127.23297	
	7	8	7	20.35	144.08245	0.46920	130.41739	
	6	7	6	17.59	147.78165	0.45557	135.68103	
	5	6	5	14.82	152.84387	0.43692	142.31834	
	4	5	4	12.06	159.80222	0.41129	150.88671	
	3	3	3	9.29	167.13510	0.38428	160.00491	
	2	2	2	6.53	177.76433	0.34512	172.52454	
	1	1	1	3.76	195.32839	0.28041	192.15706	
	0	0	0	1.00	271.44485	0.00000	269.85045	

MARS Selector Error Curve

MARS 6 Results; 15 Basis Functions

	Dataset:	chwideZAMay2012Masterchicosold.dta

	Predictor Variables:	EDU2, EDU3, EDU4, EDU5, EDU6, EDU7, EDU8, MARRW12,
		MARRW13, MARRW14, MARRW15, MARRW16, MARRW22, MARRW23,
		MARRW24, MARRW25, MARRW26, MARRW27, MARRW31, MARRW32,
		MARRW33, MARRW34, MARRW35, MARRW36, CHILDW1, CHILDW2,
		CHILDW3, EMPLW11, EMPLW12, EMPLW13, EMPLW14, EMPLW15,
		EMPLW16, EMPLW22, EMPLW23, EMPLW24, EMPLW25, EMPLW26,
		EMPLW32, EMPLW33, EMPLW34, OCC2W1, OCC3W1, OCC4W1,
		OCC5W1, OCC6W1, OCC7W1, OCC8W1, OCC1W2, OCC2W2, OCC3W2,
		OCC4W2, OCC5W2, OCC6W2, OCC7W2, OCC8W2, OCC1W3, OCC2W3,
		OCC3W3, OCC4W3, OCC5W3, OCC6W3, OCC7W3, OCC8W3, INC1W1,
		INC2W1, INC3W1, INC4W1, INC1W2, INC2W2, INC3W2, INC4W2,
		INC1W3, INC2W3, INC3W3, INC4W3, JSW1, JSW2, JSW3,
		DEAW1, DEAW2, DEAW3, DVCEW1, DVCEW2, DVCEW3, SEPAW1,
		SEPAW2, SEPAW3, ACCDW1, ACCDW2, ACCDW3, CATAW1, CATAW2,
		CATAW3, ILLW1, ILLW2, ILLW3, MOVEW1, MOVEW2, MOVEW3,
		SHJOBW1, SHJOBW2, SHJOBW3, SHFAMW1, SHFAMW2, SHFAMW3,
		SHHLW1, SHHLW2, SHHLW3, SHFINCW1, SHFINCW2, SHFINCW3,
		SHHOUSW1, SHHOUSW2, SHHOUSW3, SHRELAW1, SHRELAW2,
		SHRELAW3, SUPRTW1, SUPRTW2, SUPRTW3, SUFAMW1, SUFAMW2,
		SUFAMW3, SUCHRW1, SUCHRW2, SUCHRW3, PHLTHW1, PHLTHW2,
		PHLTHW3, SMOKW1, SMOKW2, SMOKW3, LIQW1, LIQW2, LIQW3,
		MEDCOW1, MEDCOW2, MEDCOW3, GOFERW1, GOFERW2, GOFERW3,
		FDFERW1, FDFERW2, FDFERW3, TRGOVW1, TRGOVW2, TRGOVW3,
		TRREPW1, TRREPW2, TRREPW3, KMACC, KMWORK, INJSELFR,
		INJOTHR, DEFNW1, DEFNW2, DEFNW3, EFRADW1, EFRADW2,
		EFRADW3, AIRW1, AIRW2, AIRW3, RADCHW1, RADCHW2, RADCHW3,
		RADTLW1, RADTLW2, RADTLW3, RADHLW1, RADHLW2, RADHLW3,
		RADFMW1, RADFMW2, RADFMW3, DAFTER, NEIW1, NEIW2,
		NEIW3, TOXIC, WOMAN, KZCHORN, ICDXCNT, CSPRBSLV,
		CSSOCSPT, CSAVOID, WHPPAIN, BSITOTAL, BSIPOSYMP,
		BSIGLOBSI, BSISOMA, BSIIPS, BSIDEP, BSIPHANX, BSIHOS,
		BSIPAR, BSIPSYC, MIPTSD, AVGCUMDOSEW1, AVGCUMDOSEW2,
		AVGCUMDOSEW3, EMPLW35, HAVMIL, DEPAGW1, DEPAGW2,
		DEPAGW3, ANXAGW1, ANXAGW2, ANXAGW3, PHYSDISAGW1,
		PHYSDISAGW2, PHYSDISAGW3, PTSDW1, PTSDW2, PTSDW3,
		DRINKSPWW1, DRINKSPWW2, DRINKSPWW3, VODKAW1, VODKAW2,
		VODKAW3, PAINMEDSPW1, PAINMEDSPW2, PAINMEDSPW3, DOCVISITSW1,
		DOCVISITSW2, DOCVISITSW3, CHILDW1_mis, SHFAMW1_mis,
		SHFAMW2_mis, SHFINCW1_mis, SHRELAW2_mis, SUFAMW3_mis,
		SMOKW1_mis, LIQW1_mis, MEDCOW1_mis, MEDCOW3_mis,
		TRGOVW1_mis, TRGOVW2_mis, TRGOVW3_mis, TRREPW1_mis,
		TRREPW2_mis, TRREPW3_mis, DEFNW1_mis, RADTLW1_mis,
		DAFTER_mis, CSPRBSLV_mis, CSAVOID_mis, DOCVISITSW1_mis,
		DOCVISITSW2_mis, DOCVISITSW3_mis

		Target Variable WHPPAIN
N: 340 		Minimum2.192E+004 	Maximum:  2.200E+004 
Mean:   2.193E+004 		Varience:   270.64647 

		Variables, Terms, and Parameters
Direct variables: 9 		Total variables: 10 
Terms in model: 16 		Effective parameters: 42.47 

		R-Square Measures
Naive: 0.60443 		Naive adjusted: 0.58612 	GCV R-square: 0.48648 

		Mean-Square Measures
Naive MSE: 112.01472 		MARS GCV: 139.39244 

Basis Functions

		Basis Functions
 BF1 = max(0, BSISOMA - 21935);
 BF2 = max(0, 21935 - BSISOMA);
 BF3 = max(0, ILLW3 - 21918);
 BF4 = max(0, 21918 - ILLW3);
 BF5 = max(0, HAVMIL - 21962.6);
 BF6 = max(0, 21962.6 - HAVMIL);
 BF7 = (TRREPW2 ne . ) * BF5;
 BF9 = max(0, TRREPW2 - 21996) * BF7;
 BF11 = max(0, BSIPSYC - 21920) * BF6;
 BF12 = max(0, RADCHW3 - 21916) * BF1;
 BF13 = max(0, PHYSDISAGW3 - 21916) * BF6;
 BF14 = max(0, ILLW3 - 21918) * BF2;
 BF15 = max(0, 21918 - ILLW3) * BF2;
 BF16 = max(0, ACCDW2 - 21917) * BF2;
 BF18 = max(0, SUCHRW2 - 21916) * BF1;

 Y = 21968 - 2.29387 * BF1 - 3.94277 * BF2 - 10.9782 * BF3 
           - 16.2733 * BF4 - 0.150944 * BF5 + 1.09887 * BF6 
           + 0.149892 * BF7 + 0.00643871 * BF9 - 0.312306 * BF11 
           + 0.054552 * BF12 + 0.0598086 * BF13 + 1.45831 * BF14 
           + 1.17008 * BF15 - 1.87487 * BF16 + 0.0213682 * BF18;

 MODEL WHPPAIN = BF1 BF2 BF3 BF4 BF5 BF6 BF7 BF9 BF11 BF12 BF13 
                 BF14 BF15 BF16 BF18;

Anova Data
	Function	Standard
Deviation	Mars Prediction Success
Threshold Table   	No of basis
Functions	No of Effective
Parameters	Variables	
	1	14.48738	166.16855	2	5.529	BSISOMA	
	2	9.57689	155.05451	2	5.529	ILLW3	
	3	17.00446	153.70675	2	5.529	HAVMIL	
	4	15.60751	142.00063	1	2.765	HAVMIL, TRREPW2_mis	
	5	5.37837	152.45120	1	2.765	BSIPSYC, HAVMIL	
	6	2.46255	142.91213	1	2.765	RADCHW3, BSISOMA	
	7	3.64149	147.51717	1	2.765	HAVMIL, PHYSDISAGW3	
	8	10.61350	142.35864	2	5.529	ILLW3, BSISOMA	
	9	1.89696	140.85452	1	2.765	ACCDW2, BSISOMA	
	10	2.50518	141.49624	1	2.765	SUCHRW2, BSISOMA	
	11	2.87987	146.78128	1	2.765	TRREPW2, HAVMIL, TRREPW2_mis	

Final Model
	Basis
Function	Coefficient	Variable	Sign	Parent
Sign	Parent	Knot	
	0	21,967.9668						
	1	-2.2939	BSISOMA	+			21,935.0000	
	2	-3.9428	BSISOMA	-			21,935.0000	
	3	-10.9782	ILLW3	+			21,918.0000	
	4	-16.2733	ILLW3	-			21,918.0000	
	5	-0.1509	HAVMIL	+			21,962.5938	
	6	1.0989	HAVMIL	-			21,962.5938	
	7	0.1499	TRREPW2_mis	+	+	HAVMIL	SubSet1	
	9	0.0064	TRREPW2	-	+	TRREPW2_mis	21,996.0000	
	11	-0.3123	BSIPSYC	+	+	HAVMIL	21,920.0000	
	12	0.0546	RADCHW3	-	+	BSISOMA	21,916.0000	
	13	0.0598	PHYSDISAGW3	+	+	HAVMIL	21,916.0000	
	14	1.4583	ILLW3	+	+	BSISOMA	21,918.0000	
	15	1.1701	ILLW3	+	+	BSISOMA	21,918.0000	
	16	-1.8749	ACCDW2	+	+	BSISOMA	21,917.0000	
	18	0.0214	SUCHRW2	-	+	BSISOMA	21,916.0000	

MARS Learn Gains

Gains Data
Bin	Target
Bin Avg.	% Target
in Bin	Cum % Target
in Bin	Cum %
Pop	% 
Pop	Cases
in Bin	Cum
Lift	Lift
Pop	
1	21,956.843	8.84	8.84	8.82	8.82	30	1.00	1.00	
2	21,941.046	8.54	17.37	17.35	8.53	29	1.00	1.00	
3	21,932.553	8.24	25.61	25.59	8.24	28	1.00	1.00	
4	21,927.334	7.94	33.55	33.53	7.94	27	1.00	1.00	
5	21,925.829	7.65	41.20	41.18	7.65	26	1.00	1.00	
6	21,921.477	10.88	52.08	52.06	10.88	37	1.00	1.00	
7	21,921.040	12.35	64.43	64.41	12.35	42	1.00	1.00	
8	21,916.885	12.35	76.78	76.76	12.35	42	1.00	1.00	
9	21,916.505	19.11	95.88	95.88	19.12	65	1.00	1.00	
10	21,916.000	4.12	100.00	100.00	4.12	14	1.00	1.00	

Variable Importance
Variable	Score	 	
BSISOMA	100.00	||||||||||||||||||||||||||||||||||||||||||	
HAVMIL	75.47	|||||||||||||||||||||||||||||||	
ILLW3	55.23	|||||||||||||||||||||||	
BSIPSYC	45.33	||||||||||||||||||	
TRREPW2_mis	40.49	||||||||||||||||	
PHYSDISAGW3	35.75	||||||||||||||	
TRREPW2	34.10	||||||||||||||	
RADCHW3	23.54	|||||||||	
SUCHRW2	18.20	|||||||	
ACCDW2	15.17	||||||	

MARS 6 Results; 15 Basis Functions

	Dataset:	chwideZAMay2012Masterchicosold.dta

	Predictor Variables:	EDU2, EDU3, EDU4, EDU5, EDU6, EDU7, EDU8, MARRW12,
		MARRW13, MARRW14, MARRW15, MARRW16, MARRW22, MARRW23,
		MARRW24, MARRW25, MARRW26, MARRW27, MARRW31, MARRW32,
		MARRW33, MARRW34, MARRW35, MARRW36, CHILDW1, CHILDW2,
		CHILDW3, EMPLW11, EMPLW12, EMPLW13, EMPLW14, EMPLW15,
		EMPLW16, EMPLW22, EMPLW23, EMPLW24, EMPLW25, EMPLW26,
		EMPLW32, EMPLW33, EMPLW34, OCC2W1, OCC3W1, OCC4W1,
		OCC5W1, OCC6W1, OCC7W1, OCC8W1, OCC1W2, OCC2W2, OCC3W2,
		OCC4W2, OCC5W2, OCC6W2, OCC7W2, OCC8W2, OCC1W3, OCC2W3,
		OCC3W3, OCC4W3, OCC5W3, OCC6W3, OCC7W3, OCC8W3, INC1W1,
		INC2W1, INC3W1, INC4W1, INC1W2, INC2W2, INC3W2, INC4W2,
		INC1W3, INC2W3, INC3W3, INC4W3, JSW1, JSW2, JSW3,
		DEAW1, DEAW2, DEAW3, DVCEW1, DVCEW2, DVCEW3, SEPAW1,
		SEPAW2, SEPAW3, ACCDW1, ACCDW2, ACCDW3, CATAW1, CATAW2,
		CATAW3, ILLW1, ILLW2, ILLW3, MOVEW1, MOVEW2, MOVEW3,
		SHJOBW1, SHJOBW2, SHJOBW3, SHFAMW1, SHFAMW2, SHFAMW3,
		SHHLW1, SHHLW2, SHHLW3, SHFINCW1, SHFINCW2, SHFINCW3,
		SHHOUSW1, SHHOUSW2, SHHOUSW3, SHRELAW1, SHRELAW2,
		SHRELAW3, SUPRTW1, SUPRTW2, SUPRTW3, SUFAMW1, SUFAMW2,
		SUFAMW3, SUCHRW1, SUCHRW2, SUCHRW3, PHLTHW1, PHLTHW2,
		PHLTHW3, SMOKW1, SMOKW2, SMOKW3, LIQW1, LIQW2, LIQW3,
		MEDCOW1, MEDCOW2, MEDCOW3, GOFERW1, GOFERW2, GOFERW3,
		FDFERW1, FDFERW2, FDFERW3, TRGOVW1, TRGOVW2, TRGOVW3,
		TRREPW1, TRREPW2, TRREPW3, KMACC, KMWORK, INJSELFR,
		INJOTHR, DEFNW1, DEFNW2, DEFNW3, EFRADW1, EFRADW2,
		EFRADW3, AIRW1, AIRW2, AIRW3, RADCHW1, RADCHW2, RADCHW3,
		RADTLW1, RADTLW2, RADTLW3, RADHLW1, RADHLW2, RADHLW3,
		RADFMW1, RADFMW2, RADFMW3, DAFTER, NEIW1, NEIW2,
		NEIW3, TOXIC, WOMAN, KZCHORN, ICDXCNT, CSPRBSLV,
		CSSOCSPT, CSAVOID, WHPPAIN, BSITOTAL, BSIPOSYMP,
		BSIGLOBSI, BSISOMA, BSIIPS, BSIDEP, BSIPHANX, BSIHOS,
		BSIPAR, BSIPSYC, MIPTSD, AVGCUMDOSEW1, AVGCUMDOSEW2,
		AVGCUMDOSEW3, EMPLW35, HAVMIL, DEPAGW1, DEPAGW2,
		DEPAGW3, ANXAGW1, ANXAGW2, ANXAGW3, PHYSDISAGW1,
		PHYSDISAGW2, PHYSDISAGW3, PTSDW1, PTSDW2, PTSDW3,
		DRINKSPWW1, DRINKSPWW2, DRINKSPWW3, VODKAW1, VODKAW2,
		VODKAW3, PAINMEDSPW1, PAINMEDSPW2, PAINMEDSPW3, DOCVISITSW1,
		DOCVISITSW2, DOCVISITSW3, CHILDW1_mis, SHFAMW1_mis,
		SHFAMW2_mis, SHFINCW1_mis, SHRELAW2_mis, SUFAMW3_mis,
		SMOKW1_mis, LIQW1_mis, MEDCOW1_mis, MEDCOW3_mis,
		TRGOVW1_mis, TRGOVW2_mis, TRGOVW3_mis, TRREPW1_mis,
		TRREPW2_mis, TRREPW3_mis, DEFNW1_mis, RADTLW1_mis,
		DAFTER_mis, CSPRBSLV_mis, CSAVOID_mis, DOCVISITSW1_mis,
		DOCVISITSW2_mis, DOCVISITSW3_mis

		Target Variable WHPPAIN
N: 340 		Minimum2.192E+004 	Maximum:  2.200E+004 
Mean:   2.193E+004 		Varience:   270.64647 

		Variables, Terms, and Parameters
Direct variables: 9 		Total variables: 10 
Terms in model: 16 		Effective parameters: 42.47 

		R-Square Measures
Naive: 0.60443 		Naive adjusted: 0.58612 	GCV R-square: 0.48648 

		Mean-Square Measures
Naive MSE: 112.01472 		MARS GCV: 139.39244 

Basis Functions

		Basis Functions
 BF1 = max(0, BSISOMA - 21935);
 BF2 = max(0, 21935 - BSISOMA);
 BF3 = max(0, ILLW3 - 21918);
 BF4 = max(0, 21918 - ILLW3);
 BF5 = max(0, HAVMIL - 21962.6);
 BF6 = max(0, 21962.6 - HAVMIL);
 BF7 = (TRREPW2 ne . ) * BF5;
 BF9 = max(0, TRREPW2 - 21996) * BF7;
 BF11 = max(0, BSIPSYC - 21920) * BF6;
 BF12 = max(0, RADCHW3 - 21916) * BF1;
 BF13 = max(0, PHYSDISAGW3 - 21916) * BF6;
 BF14 = max(0, ILLW3 - 21918) * BF2;
 BF15 = max(0, 21918 - ILLW3) * BF2;
 BF16 = max(0, ACCDW2 - 21917) * BF2;
 BF18 = max(0, SUCHRW2 - 21916) * BF1;

 Y = 21968 - 2.29387 * BF1 - 3.94277 * BF2 - 10.9782 * BF3 
           - 16.2733 * BF4 - 0.150944 * BF5 + 1.09887 * BF6 
           + 0.149892 * BF7 + 0.00643871 * BF9 - 0.312306 * BF11 
           + 0.054552 * BF12 + 0.0598086 * BF13 + 1.45831 * BF14 
           + 1.17008 * BF15 - 1.87487 * BF16 + 0.0213682 * BF18;

 MODEL WHPPAIN = BF1 BF2 BF3 BF4 BF5 BF6 BF7 BF9 BF11 BF12 BF13 
                 BF14 BF15 BF16 BF18;

Anova Data
	Function	Standard
Deviation	Mars Prediction Success
Threshold Table   	No of basis
Functions	No of Effective
Parameters	Variables	
	1	14.48738	166.16855	2	5.529	BSISOMA	
	2	9.57689	155.05451	2	5.529	ILLW3	
	3	17.00446	153.70675	2	5.529	HAVMIL	
	4	15.60751	142.00063	1	2.765	HAVMIL, TRREPW2_mis	
	5	5.37837	152.45120	1	2.765	BSIPSYC, HAVMIL	
	6	2.46255	142.91213	1	2.765	RADCHW3, BSISOMA	
	7	3.64149	147.51717	1	2.765	HAVMIL, PHYSDISAGW3	
	8	10.61350	142.35864	2	5.529	ILLW3, BSISOMA	
	9	1.89696	140.85452	1	2.765	ACCDW2, BSISOMA	
	10	2.50518	141.49624	1	2.765	SUCHRW2, BSISOMA	
	11	2.87987	146.78128	1	2.765	TRREPW2, HAVMIL, TRREPW2_mis	

Final Model
	Basis
Function	Coefficient	Variable	Sign	Parent
Sign	Parent	Knot	
	0	21,967.9668						
	1	-2.2939	BSISOMA	+			21,935.0000	
	2	-3.9428	BSISOMA	-			21,935.0000	
	3	-10.9782	ILLW3	+			21,918.0000	
	4	-16.2733	ILLW3	-			21,918.0000	
	5	-0.1509	HAVMIL	+			21,962.5938	
	6	1.0989	HAVMIL	-			21,962.5938	
	7	0.1499	TRREPW2_mis	+	+	HAVMIL	SubSet1	
	9	0.0064	TRREPW2	-	+	TRREPW2_mis	21,996.0000	
	11	-0.3123	BSIPSYC	+	+	HAVMIL	21,920.0000	
	12	0.0546	RADCHW3	-	+	BSISOMA	21,916.0000	
	13	0.0598	PHYSDISAGW3	+	+	HAVMIL	21,916.0000	
	14	1.4583	ILLW3	+	+	BSISOMA	21,918.0000	
	15	1.1701	ILLW3	+	+	BSISOMA	21,918.0000	
	16	-1.8749	ACCDW2	+	+	BSISOMA	21,917.0000	
	18	0.0214	SUCHRW2	-	+	BSISOMA	21,916.0000	

MARS Learn Gains

Gains Data
Bin	Target
Bin Avg.	% Target
in Bin	Cum % Target
in Bin	Cum %
Pop	% 
Pop	Cases
in Bin	Cum
Lift	Lift
Pop	
1	21,956.843	8.84	8.84	8.82	8.82	30	1.00	1.00	
2	21,941.046	8.54	17.37	17.35	8.53	29	1.00	1.00	
3	21,932.553	8.24	25.61	25.59	8.24	28	1.00	1.00	
4	21,927.334	7.94	33.55	33.53	7.94	27	1.00	1.00	
5	21,925.829	7.65	41.20	41.18	7.65	26	1.00	1.00	
6	21,921.477	10.88	52.08	52.06	10.88	37	1.00	1.00	
7	21,921.040	12.35	64.43	64.41	12.35	42	1.00	1.00	
8	21,916.885	12.35	76.78	76.76	12.35	42	1.00	1.00	
9	21,916.505	19.11	95.88	95.88	19.12	65	1.00	1.00	
10	21,916.000	4.12	100.00	100.00	4.12	14	1.00	1.00	

Variable Importance
Variable	Score	 	
BSISOMA	100.00	||||||||||||||||||||||||||||||||||||||||||	
HAVMIL	75.47	|||||||||||||||||||||||||||||||	
ILLW3	55.23	|||||||||||||||||||||||	
BSIPSYC	45.33	||||||||||||||||||	
TRREPW2_mis	40.49	||||||||||||||||	
PHYSDISAGW3	35.75	||||||||||||||	
TRREPW2	34.10	||||||||||||||	
RADCHW3	23.54	|||||||||	
SUCHRW2	18.20	|||||||	
ACCDW2	15.17	||||||	

MARS 5 Results; 12 Basis Functions

	Dataset:	chwideZAMay2012Masterchicosold.dta

	Predictor Variables:	EDU2, EDU3, EDU4, EDU5, EDU6, EDU7, EDU8, MARRW12,
		MARRW13, MARRW14, MARRW15, MARRW16, MARRW22, MARRW23,
		MARRW24, MARRW25, MARRW26, MARRW27, MARRW31, MARRW32,
		MARRW33, MARRW34, MARRW35, MARRW36, CHILDW1, CHILDW2,
		CHILDW3, EMPLW11, EMPLW12, EMPLW13, EMPLW14, EMPLW15,
		EMPLW16, EMPLW22, EMPLW23, EMPLW24, EMPLW25, EMPLW26,
		EMPLW32, EMPLW33, EMPLW34, OCC2W1, OCC3W1, OCC4W1,
		OCC5W1, OCC6W1, OCC7W1, OCC8W1, OCC1W2, OCC2W2, OCC3W2,
		OCC4W2, OCC5W2, OCC6W2, OCC7W2, OCC8W2, OCC1W3, OCC2W3,
		OCC3W3, OCC4W3, OCC5W3, OCC6W3, OCC7W3, OCC8W3, INC1W1,
		INC2W1, INC3W1, INC4W1, INC1W2, INC2W2, INC3W2, INC4W2,
		INC1W3, INC2W3, INC3W3, INC4W3, JSW1, JSW2, JSW3,
		DEAW1, DEAW2, DEAW3, DVCEW1, DVCEW2, DVCEW3, SEPAW1,
		SEPAW2, SEPAW3, ACCDW1, ACCDW2, ACCDW3, CATAW1, CATAW2,
		CATAW3, ILLW1, ILLW2, ILLW3, MOVEW1, MOVEW2, MOVEW3,
		SHJOBW1, SHJOBW2, SHJOBW3, SHFAMW1, SHFAMW2, SHFAMW3,
		SHHLW1, SHHLW2, SHHLW3, SHFINCW1, SHFINCW2, SHFINCW3,
		SHHOUSW1, SHHOUSW2, SHHOUSW3, SHRELAW1, SHRELAW2,
		SHRELAW3, SUPRTW1, SUPRTW2, SUPRTW3, SUFAMW1, SUFAMW2,
		SUFAMW3, SUCHRW1, SUCHRW2, SUCHRW3, PHLTHW1, PHLTHW2,
		PHLTHW3, SMOKW1, SMOKW2, SMOKW3, LIQW1, LIQW2, LIQW3,
		MEDCOW1, MEDCOW2, MEDCOW3, GOFERW1, GOFERW2, GOFERW3,
		FDFERW1, FDFERW2, FDFERW3, TRGOVW1, TRGOVW2, TRGOVW3,
		TRREPW1, TRREPW2, TRREPW3, KMACC, KMWORK, INJSELFR,
		INJOTHR, DEFNW1, DEFNW2, DEFNW3, EFRADW1, EFRADW2,
		EFRADW3, AIRW1, AIRW2, AIRW3, RADCHW1, RADCHW2, RADCHW3,
		RADTLW1, RADTLW2, RADTLW3, RADHLW1, RADHLW2, RADHLW3,
		RADFMW1, RADFMW2, RADFMW3, DAFTER, NEIW1, NEIW2,
		NEIW3, TOXIC, WOMAN, KZCHORN, ICDXCNT, CSPRBSLV,
		CSSOCSPT, CSAVOID, WHPSOCISO, BSITOTAL, BSIPOSYMP,
		BSIGLOBSI, BSISOMA, BSIIPS, BSIDEP, BSIPHANX, BSIHOS,
		BSIPAR, BSIPSYC, MIPTSD, AVGCUMDOSEW1, AVGCUMDOSEW2,
		AVGCUMDOSEW3, EMPLW35, HAVMIL, DEPAGW1, DEPAGW2,
		DEPAGW3, ANXAGW1, ANXAGW2, ANXAGW3, PHYSDISAGW1,
		PHYSDISAGW2, PHYSDISAGW3, PTSDW1, PTSDW2, PTSDW3,
		DRINKSPWW1, DRINKSPWW2, DRINKSPWW3, VODKAW1, VODKAW2,
		VODKAW3, PAINMEDSPW1, PAINMEDSPW2, PAINMEDSPW3, DOCVISITSW1,
		DOCVISITSW2, DOCVISITSW3, CHILDW1_mis, SHFAMW1_mis,
		SHFAMW2_mis, SHFINCW1_mis, SHRELAW2_mis, SUFAMW3_mis,
		SMOKW1_mis, LIQW1_mis, MEDCOW1_mis, MEDCOW3_mis,
		TRGOVW1_mis, TRGOVW2_mis, TRGOVW3_mis, TRREPW1_mis,
		TRREPW2_mis, TRREPW3_mis, DEFNW1_mis, RADTLW1_mis,
		DAFTER_mis, CSPRBSLV_mis, CSAVOID_mis, DOCVISITSW1_mis,
		DOCVISITSW2_mis, DOCVISITSW3_mis

		Target Variable WHPSOCISO
N: 340 		Minimum2.192E+004 	Maximum:  2.202E+004 
Mean:   2.192E+004 		Varience:   229.28000 

		Variables, Terms, and Parameters
Direct variables: 9 		Total variables: 9 
Terms in model: 13 		Effective parameters: 33.00 

		R-Square Measures
Naive: 0.66932 		Naive adjusted: 0.65718 	GCV R-square: 0.59679 

		Mean-Square Measures
Naive MSE: 78.60139 		MARS GCV: 92.72143 

Basis Functions
 BF1 = max(0, BSIPSYC - 21923);
 BF3 = max(0, PHYSDISAGW2 - 21928) * BF1;
 BF4 = max(0, 21928 - PHYSDISAGW2) * BF1;
 BF5 = max(0, BSIDEP - 21921);
 BF6 = max(0, VODKAW1 - 21918) * BF5;
 BF7 = max(0, 21918 - VODKAW1) * BF5;
 BF9 = max(0, 21917 - ILLW3) * BF1;
 BF10 = max(0, GOFERW1 - 21926) * BF5;
 BF12 = max(0, PHYSDISAGW2 - 21919) * BF5;
 BF13 = max(0, 21919 - PHYSDISAGW2) * BF5;
 BF15 = max(0, 22066 - KMACC) * BF5;
 BF17 = max(0, 21918 - DEAW3) * BF5;
 BF18 = max(0, EDU3 - 2.00593E-010) * BF5;

 Y = 21915.3 - 4.30575 * BF1 + 0.261145 * BF3 + 0.666181 * BF4 
             + 0.554308 * BF6 + 0.403083 * BF7 + 4.72975 * BF9 
             - 0.0127431 * BF10 - 0.0457709 * BF12 
             - 0.752962 * BF13 + 0.0255894 * BF15 + 1.00933 * BF17 
             + 1.1042 * BF18;

 MODEL WHPSOCISO = BF1 BF3 BF4 BF6 BF7 BF9 BF10 BF12 BF13 BF15 
                   BF17 BF18;

Anova Data
	Function	Standard
Deviation	Mars Prediction Success
Threshold Table   	No of basis
Functions	No of Effective
Parameters	Variables	
	1	6.99183	101.30703	1	2.667	BSIPSYC	
	2	10.72730	115.02876	2	5.333	BSIPSYC, PHYSDISAGW2	
	3	5.77902	117.41181	2	5.333	BSIDEP, VODKAW1	
	4	5.12581	107.60473	1	2.667	ILLW3, BSIPSYC	
	5	1.98712	94.59936	1	2.667	GOFERW1, BSIDEP	
	6	5.66543	101.25293	2	5.333	BSIDEP, PHYSDISAGW2	
	7	2.67653	96.82343	1	2.667	KMACC, BSIDEP	
	8	4.96975	99.49885	1	2.667	DEAW3, BSIDEP	
	9	2.36544	96.09262	1	2.667	EDU3, BSIDEP	

Final Model
	Basis
Function	Coefficient	Variable	Sign	Parent
Sign	Parent	Knot	
	0	21,915.2988						
	1	-4.3057	BSIPSYC	+			21,923.0000	
	3	0.2611	PHYSDISAGW2	-	-	BSIPSYC	21,928.0000	
	4	0.6662	PHYSDISAGW2	+	+	BSIPSYC	21,928.0000	
	6	0.5543	VODKAW1	-	+	BSIDEP	21,918.0000	
	7	0.4031	VODKAW1	+	-	BSIDEP	21,918.0000	
	9	4.7298	ILLW3	+	+	BSIPSYC	21,917.0000	
	10	-0.0127	GOFERW1	-	+	BSIDEP	21,926.0000	
	12	-0.0458	PHYSDISAGW2	+	+	BSIDEP	21,919.0000	
	13	-0.7530	PHYSDISAGW2	-	+	BSIDEP	21,919.0000	
	15	0.0256	KMACC	+	+	BSIDEP	22,066.0000	
	17	1.0093	DEAW3	-	+	BSIDEP	21,918.0000	
	18	1.1042	EDU3	+	+	BSIDEP	0.0000	

MARS Learn Gains

Gains Data
Bin	Target
Bin Avg.	% Target
in Bin	Cum % Target
in Bin	Cum %
Pop	% 
Pop	Cases
in Bin	Cum
Lift	Lift
Pop	
1	21,951.210	12.07	12.07	12.06	12.06	41	1.00	1.00	
2	21,924.521	11.77	23.84	23.82	11.76	40	1.00	1.00	
3	21,919.067	11.47	35.31	35.29	11.47	39	1.00	1.00	
4	21,919.981	10.29	45.60	45.59	10.29	35	1.00	1.00	
5	21,917.902	10.00	55.60	55.59	10.00	34	1.00	1.00	
6	21,917.631	10.00	65.60	65.59	10.00	34	1.00	1.00	
7	21,916.000	9.70	75.30	75.29	9.71	33	1.00	1.00	
8	21,917.518	8.53	83.83	83.82	8.53	29	1.00	1.00	
9	21,916.000	8.23	92.06	92.06	8.24	28	1.00	1.00	
10	21,916.000	7.94	100.00	100.00	7.94	27	1.00	1.00	

Variable Importance
Variable	Score	 	
BSIPSYC	100.00	||||||||||||||||||||||||||||||||||||||||||	
BSIDEP	82.96	|||||||||||||||||||||||||||||||||||	
VODKAW1	71.39	||||||||||||||||||||||||||||||	
PHYSDISAGW2	63.61	||||||||||||||||||||||||||	
ILLW3	55.44	|||||||||||||||||||||||	
DEAW3	37.40	|||||||||||||||	
KMACC	29.10	||||||||||||	
EDU3	26.38	||||||||||	
GOFERW1	19.69	|||||||	

MARS 3 Results; 15 Basis Functions

	Dataset:	chwideZAMay2012Masterchicosold.dta

	Predictor Variables:	EDU2, EDU3, EDU4, EDU5, EDU6, EDU7, EDU8, MARRW12,
		MARRW13, MARRW14, MARRW15, MARRW16, MARRW22, MARRW23,
		MARRW24, MARRW25, MARRW26, MARRW27, MARRW31, MARRW32,
		MARRW33, MARRW34, MARRW35, MARRW36, CHILDW1, CHILDW2,
		CHILDW3, EMPLW11, EMPLW12, EMPLW13, EMPLW14, EMPLW15,
		EMPLW16, EMPLW22, EMPLW23, EMPLW24, EMPLW25, EMPLW26,
		EMPLW32, EMPLW33, EMPLW34, OCC2W1, OCC3W1, OCC4W1,
		OCC5W1, OCC6W1, OCC7W1, OCC8W1, OCC1W2, OCC2W2, OCC3W2,
		OCC4W2, OCC5W2, OCC6W2, OCC7W2, OCC8W2, OCC1W3, OCC2W3,
		OCC3W3, OCC4W3, OCC5W3, OCC6W3, OCC7W3, OCC8W3, INC1W1,
		INC2W1, INC3W1, INC4W1, INC1W2, INC2W2, INC3W2, INC4W2,
		INC1W3, INC2W3, INC3W3, INC4W3, JSW1, JSW2, JSW3,
		DEAW1, DEAW2, DEAW3, DVCEW1, DVCEW2, DVCEW3, SEPAW1,
		SEPAW2, SEPAW3, ACCDW1, ACCDW2, ACCDW3, CATAW1, CATAW2,
		CATAW3, ILLW1, ILLW2, ILLW3, MOVEW1, MOVEW2, MOVEW3,
		SHJOBW1, SHJOBW2, SHJOBW3, SHFAMW1, SHFAMW2, SHFAMW3,
		SHHLW1, SHHLW2, SHHLW3, SHFINCW1, SHFINCW2, SHFINCW3,
		SHHOUSW1, SHHOUSW2, SHHOUSW3, SHRELAW1, SHRELAW2,
		SHRELAW3, SUPRTW1, SUPRTW2, SUPRTW3, SUFAMW1, SUFAMW2,
		SUFAMW3, SUCHRW1, SUCHRW2, SUCHRW3, PHLTHW1, PHLTHW2,
		PHLTHW3, SMOKW1, SMOKW2, SMOKW3, LIQW1, LIQW2, LIQW3,
		MEDCOW1, MEDCOW2, MEDCOW3, GOFERW1, GOFERW2, GOFERW3,
		FDFERW1, FDFERW2, FDFERW3, TRGOVW1, TRGOVW2, TRGOVW3,
		TRREPW1, TRREPW2, TRREPW3, KMACC, KMWORK, INJSELFR,
		INJOTHR, DEFNW1, DEFNW2, DEFNW3, EFRADW1, EFRADW2,
		EFRADW3, AIRW1, AIRW2, AIRW3, RADCHW1, RADCHW2, RADCHW3,
		RADTLW1, RADTLW2, RADTLW3, RADHLW1, RADHLW2, RADHLW3,
		RADFMW1, RADFMW2, RADFMW3, DAFTER, NEIW1, NEIW2,
		NEIW3, TOXIC, WOMAN, KZCHORN, ICDXCNT, CSPRBSLV,
		CSSOCSPT, CSAVOID, WHPPAIN, BSITOTAL, BSIPOSYMP,
		BSIGLOBSI, BSISOMA, BSIIPS, BSIDEP, BSIPHANX, BSIHOS,
		BSIPAR, BSIPSYC, MIPTSD, AVGCUMDOSEW1, AVGCUMDOSEW2,
		AVGCUMDOSEW3, EMPLW35, HAVMIL, DEPAGW1, DEPAGW2,
		DEPAGW3, ANXAGW1, ANXAGW2, ANXAGW3, PHYSDISAGW1,
		PHYSDISAGW2, PHYSDISAGW3, PTSDW1, PTSDW2, PTSDW3,
		DRINKSPWW1, DRINKSPWW2, DRINKSPWW3, VODKAW1, VODKAW2,
		VODKAW3, PAINMEDSPW1, PAINMEDSPW2, PAINMEDSPW3, DOCVISITSW1,
		DOCVISITSW2, DOCVISITSW3, CHILDW1_mis, SHFAMW1_mis,
		SHFAMW2_mis, SHFINCW1_mis, SHRELAW2_mis, SUFAMW3_mis,
		SMOKW1_mis, LIQW1_mis, MEDCOW1_mis, MEDCOW3_mis,
		TRGOVW1_mis, TRGOVW2_mis, TRGOVW3_mis, TRREPW1_mis,
		TRREPW2_mis, TRREPW3_mis, DEFNW1_mis, RADTLW1_mis,
		DAFTER_mis, CSPRBSLV_mis, CSAVOID_mis, DOCVISITSW1_mis,
		DOCVISITSW2_mis, DOCVISITSW3_mis

		Target Variable WHPPAIN
N: 340 		Minimum2.192E+004 	Maximum:  2.200E+004 
Mean:   2.193E+004 		Varience:   270.64647 

		Variables, Terms, and Parameters
Direct variables: 9 		Total variables: 10 
Terms in model: 16 		Effective parameters: 42.47 

		R-Square Measures
Naive: 0.60443 		Naive adjusted: 0.58612 	GCV R-square: 0.48648 

		Mean-Square Measures
Naive MSE: 112.01472 		MARS GCV: 139.39244 

Basis Functions

		Basis Functions
 BF1 = max(0, BSISOMA - 21935);
 BF2 = max(0, 21935 - BSISOMA);
 BF3 = max(0, ILLW3 - 21918);
 BF4 = max(0, 21918 - ILLW3);
 BF5 = max(0, HAVMIL - 21962.6);
 BF6 = max(0, 21962.6 - HAVMIL);
 BF7 = (TRREPW2 ne . ) * BF5;
 BF9 = max(0, TRREPW2 - 21996) * BF7;
 BF11 = max(0, BSIPSYC - 21920) * BF6;
 BF12 = max(0, RADCHW3 - 21916) * BF1;
 BF13 = max(0, PHYSDISAGW3 - 21916) * BF6;
 BF14 = max(0, ILLW3 - 21918) * BF2;
 BF15 = max(0, 21918 - ILLW3) * BF2;
 BF16 = max(0, ACCDW2 - 21917) * BF2;
 BF18 = max(0, SUCHRW2 - 21916) * BF1;

 Y = 21968 - 2.29387 * BF1 - 3.94277 * BF2 - 10.9782 * BF3 
           - 16.2733 * BF4 - 0.150944 * BF5 + 1.09887 * BF6 
           + 0.149892 * BF7 + 0.00643871 * BF9 - 0.312306 * BF11 
           + 0.054552 * BF12 + 0.0598086 * BF13 + 1.45831 * BF14 
           + 1.17008 * BF15 - 1.87487 * BF16 + 0.0213682 * BF18;

 MODEL WHPPAIN = BF1 BF2 BF3 BF4 BF5 BF6 BF7 BF9 BF11 BF12 BF13 
                 BF14 BF15 BF16 BF18;

Anova Data
	Function	Standard
Deviation	Mars Prediction Success
Threshold Table   	No of basis
Functions	No of Effective
Parameters	Variables	
	1	14.48738	166.16855	2	5.529	BSISOMA	
	2	9.57689	155.05451	2	5.529	ILLW3	
	3	17.00446	153.70675	2	5.529	HAVMIL	
	4	15.60751	142.00063	1	2.765	HAVMIL, TRREPW2_mis	
	5	5.37837	152.45120	1	2.765	BSIPSYC, HAVMIL	
	6	2.46255	142.91213	1	2.765	RADCHW3, BSISOMA	
	7	3.64149	147.51717	1	2.765	HAVMIL, PHYSDISAGW3	
	8	10.61350	142.35864	2	5.529	ILLW3, BSISOMA	
	9	1.89696	140.85452	1	2.765	ACCDW2, BSISOMA	
	10	2.50518	141.49624	1	2.765	SUCHRW2, BSISOMA	
	11	2.87987	146.78128	1	2.765	TRREPW2, HAVMIL, TRREPW2_mis	

Final Model
	Basis
Function	Coefficient	Variable	Sign	Parent
Sign	Parent	Knot	
	0	21,967.9668						
	1	-2.2939	BSISOMA	+			21,935.0000	
	2	-3.9428	BSISOMA	-			21,935.0000	
	3	-10.9782	ILLW3	+			21,918.0000	
	4	-16.2733	ILLW3	-			21,918.0000	
	5	-0.1509	HAVMIL	+			21,962.5938	
	6	1.0989	HAVMIL	-			21,962.5938	
	7	0.1499	TRREPW2_mis	+	+	HAVMIL	SubSet1	
	9	0.0064	TRREPW2	-	+	TRREPW2_mis	21,996.0000	
	11	-0.3123	BSIPSYC	+	+	HAVMIL	21,920.0000	
	12	0.0546	RADCHW3	-	+	BSISOMA	21,916.0000	
	13	0.0598	PHYSDISAGW3	+	+	HAVMIL	21,916.0000	
	14	1.4583	ILLW3	+	+	BSISOMA	21,918.0000	
	15	1.1701	ILLW3	+	+	BSISOMA	21,918.0000	
	16	-1.8749	ACCDW2	+	+	BSISOMA	21,917.0000	
	18	0.0214	SUCHRW2	-	+	BSISOMA	21,916.0000	

MARS Learn Gains

Gains Data
Bin	Target
Bin Avg.	% Target
in Bin	Cum % Target
in Bin	Cum %
Pop	% 
Pop	Cases
in Bin	Cum
Lift	Lift
Pop	
1	21,956.843	8.84	8.84	8.82	8.82	30	1.00	1.00	
2	21,941.046	8.54	17.37	17.35	8.53	29	1.00	1.00	
3	21,932.553	8.24	25.61	25.59	8.24	28	1.00	1.00	
4	21,927.334	7.94	33.55	33.53	7.94	27	1.00	1.00	
5	21,925.829	7.65	41.20	41.18	7.65	26	1.00	1.00	
6	21,921.477	10.88	52.08	52.06	10.88	37	1.00	1.00	
7	21,921.040	12.35	64.43	64.41	12.35	42	1.00	1.00	
8	21,916.885	12.35	76.78	76.76	12.35	42	1.00	1.00	
9	21,916.505	19.11	95.88	95.88	19.12	65	1.00	1.00	
10	21,916.000	4.12	100.00	100.00	4.12	14	1.00	1.00	

Variable Importance
Variable	Score	 	
BSISOMA	100.00	||||||||||||||||||||||||||||||||||||||||||	
HAVMIL	75.47	|||||||||||||||||||||||||||||||	
ILLW3	55.23	|||||||||||||||||||||||	
BSIPSYC	45.33	||||||||||||||||||	
TRREPW2_mis	40.49	||||||||||||||||	
PHYSDISAGW3	35.75	||||||||||||||	
TRREPW2	34.10	||||||||||||||	
RADCHW3	23.54	|||||||||	
SUCHRW2	18.20	|||||||	
ACCDW2	15.17	||||||	

MARS 2 Results; 11 Basis Functions

	Dataset:	chwideZAMay2012Masterchicosold.dta

	Predictor Variables:	EDU2, EDU3, EDU4, EDU5, EDU6, EDU7, EDU8, MARRW12,
		MARRW13, MARRW14, MARRW15, MARRW16, MARRW22, MARRW23,
		MARRW24, MARRW25, MARRW26, MARRW27, MARRW31, MARRW32,
		MARRW33, MARRW34, MARRW35, MARRW36, CHILDW1, CHILDW2,
		CHILDW3, EMPLW11, EMPLW12, EMPLW13, EMPLW14, EMPLW15,
		EMPLW16, EMPLW22, EMPLW23, EMPLW24, EMPLW25, EMPLW26,
		EMPLW32, EMPLW33, EMPLW34, OCC2W1, OCC3W1, OCC4W1,
		OCC5W1, OCC6W1, OCC7W1, OCC8W1, OCC1W2, OCC2W2, OCC3W2,
		OCC4W2, OCC5W2, OCC6W2, OCC7W2, OCC8W2, OCC1W3, OCC2W3,
		OCC3W3, OCC4W3, OCC5W3, OCC6W3, OCC7W3, OCC8W3, INC1W1,
		INC2W1, INC3W1, INC4W1, INC1W2, INC2W2, INC3W2, INC4W2,
		INC1W3, INC2W3, INC3W3, INC4W3, JSW1, JSW2, JSW3,
		DEAW1, DEAW2, DEAW3, DVCEW1, DVCEW2, DVCEW3, SEPAW1,
		SEPAW2, SEPAW3, ACCDW1, ACCDW2, ACCDW3, CATAW1, CATAW2,
		CATAW3, ILLW1, ILLW2, ILLW3, MOVEW1, MOVEW2, MOVEW3,
		SHJOBW1, SHJOBW2, SHJOBW3, SHFAMW1, SHFAMW2, SHFAMW3,
		SHHLW1, SHHLW2, SHHLW3, SHFINCW1, SHFINCW2, SHFINCW3,
		SHHOUSW1, SHHOUSW2, SHHOUSW3, SHRELAW1, SHRELAW2,
		SHRELAW3, SUPRTW1, SUPRTW2, SUPRTW3, SUFAMW1, SUFAMW2,
		SUFAMW3, SUCHRW1, SUCHRW2, SUCHRW3, PHLTHW1, PHLTHW2,
		PHLTHW3, SMOKW1, SMOKW2, SMOKW3, LIQW1, LIQW2, LIQW3,
		MEDCOW1, MEDCOW2, MEDCOW3, GOFERW1, GOFERW2, GOFERW3,
		FDFERW1, FDFERW2, FDFERW3, TRGOVW1, TRGOVW2, TRGOVW3,
		TRREPW1, TRREPW2, TRREPW3, KMACC, KMWORK, INJSELFR,
		INJOTHR, DEFNW1, DEFNW2, DEFNW3, EFRADW1, EFRADW2,
		EFRADW3, AIRW1, AIRW2, AIRW3, RADCHW1, RADCHW2, RADCHW3,
		RADTLW1, RADTLW2, RADTLW3, RADHLW1, RADHLW2, RADHLW3,
		RADFMW1, RADFMW2, RADFMW3, DAFTER, NEIW1, NEIW2,
		NEIW3, TOXIC, WOMAN, KZCHORN, ICDXCNT, CSPRBSLV,
		CSSOCSPT, CSAVOID, WHPPA, BSITOTAL, BSIPOSYMP, BSIGLOBSI,
		BSISOMA, BSIIPS, BSIDEP, BSIPHANX, BSIHOS, BSIPAR,
		BSIPSYC, MIPTSD, AVGCUMDOSEW1, AVGCUMDOSEW2, AVGCUMDOSEW3,
		EMPLW35, HAVMIL, DEPAGW1, DEPAGW2, DEPAGW3, ANXAGW1,
		ANXAGW2, ANXAGW3, PHYSDISAGW1, PHYSDISAGW2, PHYSDISAGW3,
		PTSDW1, PTSDW2, PTSDW3, DRINKSPWW1, DRINKSPWW2, DRINKSPWW3,
		VODKAW1, VODKAW2, VODKAW3, PAINMEDSPW1, PAINMEDSPW2,
		PAINMEDSPW3, DOCVISITSW1, DOCVISITSW2, DOCVISITSW3,
		CHILDW1_mis, SHFAMW1_mis, SHFAMW2_mis, SHFINCW1_mis,
		SHRELAW2_mis, SUFAMW3_mis, SMOKW1_mis, LIQW1_mis,
		MEDCOW1_mis, MEDCOW3_mis, TRGOVW1_mis, TRGOVW2_mis,
		TRGOVW3_mis, TRREPW1_mis, TRREPW2_mis, TRREPW3_mis,
		DEFNW1_mis, RADTLW1_mis, DAFTER_mis, CSPRBSLV_mis,
		CSAVOID_mis, DOCVISITSW1_mis, DOCVISITSW2_mis, DOCVISITSW3_mis

		Target Variable WHPPA
N: 340 		Minimum2.192E+004 	Maximum:  2.200E+004 
Mean:   2.193E+004 		Varience:   211.88042 

		Variables, Terms, and Parameters
Direct variables: 9 		Total variables: 10 
Terms in model: 12 		Effective parameters: 29.47 

		R-Square Measures
Naive: 0.55521 		Naive adjusted: 0.54029 	GCV R-square: 0.46991 

		Mean-Square Measures
Naive MSE: 97.40324 		MARS GCV: 112.64727 

Basis Functions

		Basis Functions
 BF2 = max(0, 21933 - BSISOMA);
 BF3 = max(0, EMPLW33 - 5.37701E-009);
 BF4 = max(0, PHYSDISAGW1 - 21996);
 BF6 = max(0, SUPRTW2 - 22006);
 BF7 = max(0, 22006 - SUPRTW2);
 BF8 = max(0, DEPAGW3 - 21939.1) * BF6;
 BF9 = max(0, 21939.1 - DEPAGW3) * BF6;
 BF10 = max(0, AGE - 59) * BF3;
 BF11 = max(0, 59 - AGE) * BF3;
 BF12 = max(0, PAINMEDSPW1 - 21918);
 BF13 = max(0, 21918 - PAINMEDSPW1);
 BF14 = (SHFAMW2 ne . );
 BF16 = max(0, SHFAMW2 - 21966) * BF14;
 BF18 = max(0, PAINMEDSPW2 - 21916) * BF16;

 Y = 21960.7 - 2.07828 * BF2 - 0.60524 * BF4 + 0.935756 * BF6 
             - 0.091831 * BF7 - 0.0368928 * BF8 - 0.065908 * BF9 
             + 0.955328 * BF10 + 1.1404 * BF11 - 1.50148 * BF12 
             - 9.56192 * BF13 - 0.0885127 * BF18;

 MODEL WHPPA = BF2 BF4 BF6 BF7 BF8 BF9 BF10 BF11 BF12 BF13 BF18;

Anova Data
	Function	Standard
Deviation	Mars Prediction Success
Threshold Table   	No of basis
Functions	No of Effective
Parameters	Variables	
	1	7.70609	158.08837	1	2.588	BSISOMA	
	2	3.49895	121.28944	1	2.588	PHYSDISAGW1	
	3	7.48533	125.93218	2	5.176	SUPRTW2	
	4	4.09780	124.21730	2	5.176	PAINMEDSPW1	
	5	6.95919	120.34265	2	5.176	SUPRTW2, DEPAGW3	
	6	4.01363	125.84966	2	5.176	AGE, EMPLW33	
	7	3.05037	118.42767	1	2.588	SHFAMW2, PAINMEDSPW2, SHFAMW2_mis	

Final Model
	Basis
Function	Coefficient	Variable	Sign	Parent
Sign	Parent	Knot	

	0	21,960.6895						
	2	-2.0783	BSISOMA	+			21,933.0000	
	4	-0.6052	PHYSDISAGW1	-			21,996.0000	
	6	0.9358	SUPRTW2	+			22,006.0000	
	7	-0.0918	SUPRTW2	+			22,006.0000	
	8	-0.0369	DEPAGW3	-	-	SUPRTW2	21,939.0762	
	9	-0.0659	DEPAGW3	+	-	SUPRTW2	21,939.0762	
	10	0.9553	AGE	-	-	EMPLW33	59.0000	
	11	1.1404	AGE	+	+	EMPLW33	59.0000	
	12	-1.5015	PAINMEDSPW1	-			21,918.0000	
	13	-9.5619	PAINMEDSPW1	+			21,918.0000	
	18	-0.0885	PAINMEDSPW2	-	+	SHFAMW2	21,916.0000	

MARS Learn Gains

Gains Data
Bin	Target
Bin Avg.	% Target
in Bin	Cum % Target
in Bin	Cum %
Pop	% 
Pop	Cases
in Bin	Cum
Lift	Lift
Pop	
1	21,951.452	10.90	10.90	10.88	10.88	37	1.00	1.00	
2	21,936.255	10.59	21.49	21.47	10.59	36	1.00	1.00	
3	21,930.864	10.30	31.79	31.76	10.29	35	1.00	1.00	
4	21,921.152	10.00	41.78	41.76	10.00	34	1.00	1.00	
5	21,921.345	10.00	51.78	51.76	10.00	34	1.00	1.00	
6	21,921.834	9.41	61.19	61.18	9.41	32	1.00	1.00	
7	21,917.298	10.00	71.19	71.18	10.00	34	1.00	1.00	
8	21,916.986	9.70	80.89	80.88	9.71	33	1.00	1.00	
9	21,916.659	9.70	90.59	90.59	9.71	33	1.00	1.00	
10	21,917.354	9.41	100.00	100.00	9.41	32	1.00	1.00	

Variable Importance
Variable	Score	 	
BSISOMA	100.00	||||||||||||||||||||||||||||||||||||||||||	
EMPLW33	53.91	||||||||||||||||||||||	
AGE	53.91	||||||||||||||||||||||	
PAINMEDSPW1	50.48	|||||||||||||||||||||	
SUPRTW2	46.89	|||||||||||||||||||	
PHYSDISAGW1	43.61	||||||||||||||||||	
DEPAGW3	41.19	|||||||||||||||||	
PAINMEDSPW2	35.68	||||||||||||||	
SHFAMW2_mis	35.68	||||||||||||||	
SHFAMW2	35.68	||||||||||||||	

MARS 6 Results

	Dataset:	chwideZAMay2012Masterchicosold.dta

	Predictor Variables:	EDU2, EDU3, EDU4, EDU5, EDU6, EDU7, EDU8, MARRW12,
		MARRW13, MARRW14, MARRW15, MARRW16, MARRW22, MARRW23,
		MARRW24, MARRW25, MARRW26, MARRW27, MARRW31, MARRW32,
		MARRW33, MARRW34, MARRW35, MARRW36, CHILDW1, CHILDW2,
		CHILDW3, EMPLW11, EMPLW12, EMPLW13, EMPLW14, EMPLW15,
		EMPLW16, EMPLW22, EMPLW23, EMPLW24, EMPLW25, EMPLW26,
		EMPLW32, EMPLW33, EMPLW34, OCC2W1, OCC3W1, OCC4W1,
		OCC5W1, OCC6W1, OCC7W1, OCC8W1, OCC1W2, OCC2W2, OCC3W2,
		OCC4W2, OCC5W2, OCC6W2, OCC7W2, OCC8W2, OCC1W3, OCC2W3,
		OCC3W3, OCC4W3, OCC5W3, OCC6W3, OCC7W3, OCC8W3, INC1W1,
		INC2W1, INC3W1, INC4W1, INC1W2, INC2W2, INC3W2, INC4W2,
		INC1W3, INC2W3, INC3W3, INC4W3, JSW1, JSW2, JSW3,
		DEAW1, DEAW2, DEAW3, DVCEW1, DVCEW2, DVCEW3, SEPAW1,
		SEPAW2, SEPAW3, ACCDW1, ACCDW2, ACCDW3, CATAW1, CATAW2,
		CATAW3, ILLW1, ILLW2, ILLW3, MOVEW1, MOVEW2, MOVEW3,
		SHJOBW1, SHJOBW2, SHJOBW3, SHFAMW1, SHFAMW2, SHFAMW3,
		SHHLW1, SHHLW2, SHHLW3, SHFINCW1, SHFINCW2, SHFINCW3,
		SHHOUSW1, SHHOUSW2, SHHOUSW3, SHRELAW1, SHRELAW2,
		SHRELAW3, SUPRTW1, SUPRTW2, SUPRTW3, SUFAMW1, SUFAMW2,
		SUFAMW3, SUCHRW1, SUCHRW2, SUCHRW3, PHLTHW1, PHLTHW2,
		PHLTHW3, SMOKW1, SMOKW2, SMOKW3, LIQW1, LIQW2, LIQW3,
		MEDCOW1, MEDCOW2, MEDCOW3, GOFERW1, GOFERW2, GOFERW3,
		FDFERW1, FDFERW2, FDFERW3, TRGOVW1, TRGOVW2, TRGOVW3,
		TRREPW1, TRREPW2, TRREPW3, KMACC, KMWORK, INJSELFR,
		INJOTHR, DEFNW1, DEFNW2, DEFNW3, EFRADW1, EFRADW2,
		EFRADW3, AIRW1, AIRW2, AIRW3, RADCHW1, RADCHW2, RADCHW3,
		RADTLW1, RADTLW2, RADTLW3, RADHLW1, RADHLW2, RADHLW3,
		RADFMW1, RADFMW2, RADFMW3, DAFTER, NEIW1, NEIW2,
		NEIW3, TOXIC, WOMAN, KZCHORN, ICDXCNT, CSPRBSLV,
		CSSOCSPT, CSAVOID, WHPPAIN, BSITOTAL, BSIPOSYMP,
		BSIGLOBSI, BSISOMA, BSIIPS, BSIDEP, BSIPHANX, BSIHOS,
		BSIPAR, BSIPSYC, MIPTSD, AVGCUMDOSEW1, AVGCUMDOSEW2,
		AVGCUMDOSEW3, EMPLW35, HAVMIL, DEPAGW1, DEPAGW2,
		DEPAGW3, ANXAGW1, ANXAGW2, ANXAGW3, PHYSDISAGW1,
		PHYSDISAGW2, PHYSDISAGW3, PTSDW1, PTSDW2, PTSDW3,
		DRINKSPWW1, DRINKSPWW2, DRINKSPWW3, VODKAW1, VODKAW2,
		VODKAW3, PAINMEDSPW1, PAINMEDSPW2, PAINMEDSPW3, DOCVISITSW1,
		DOCVISITSW2, DOCVISITSW3, CHILDW1_mis, SHFAMW1_mis,
		SHFAMW2_mis, SHFINCW1_mis, SHRELAW2_mis, SUFAMW3_mis,
		SMOKW1_mis, LIQW1_mis, MEDCOW1_mis, MEDCOW3_mis,
		TRGOVW1_mis, TRGOVW2_mis, TRGOVW3_mis, TRREPW1_mis,
		TRREPW2_mis, TRREPW3_mis, DEFNW1_mis, RADTLW1_mis,
		DAFTER_mis, CSPRBSLV_mis, CSAVOID_mis, DOCVISITSW1_mis,
		DOCVISITSW2_mis, DOCVISITSW3_mis

MARS 6 Results
Model Sequence
	Basis
Functions	N
Predictors	N
Inputs	Effective
Parameters	    GCV    	GCV R-Square	Train MSE	
	17	10	9	48.00	143.19523	0.47247	111.52172	
	16	10	9	45.24	141.24032	0.47967	111.74503	
	**15	10	9	42.47	139.39244	0.48648	112.01472	
	14	10	9	39.71	140.53278	0.48228	114.68563	
	13	9	8	36.94	140.73180	0.48155	116.61371	
	12	9	8	34.18	142.18054	0.47621	119.60664	
	11	9	8	31.41	141.29647	0.47947	120.65276	
	10	9	8	28.65	141.32531	0.47936	122.47602	
	9	9	8	25.88	139.71947	0.48527	122.87082	
	8	8	7	23.12	142.59702	0.47467	127.23297	
	7	8	7	20.35	144.08245	0.46920	130.41739	
	6	7	6	17.59	147.78165	0.45557	135.68103	
	5	6	5	14.82	152.84387	0.43692	142.31834	
	4	5	4	12.06	159.80222	0.41129	150.88671	
	3	3	3	9.29	167.13510	0.38428	160.00491	
	2	2	2	6.53	177.76433	0.34512	172.52454	
	1	1	1	3.76	195.32839	0.28041	192.15706	
	0	0	0	1.00	271.44485	0.00000	269.85045	

MARS Selector Error Curve

MARS 5 Results

	Dataset:	chwideZAMay2012Masterchicosold.dta

	Predictor Variables:	EDU2, EDU3, EDU4, EDU5, EDU6, EDU7, EDU8, MARRW12,
		MARRW13, MARRW14, MARRW15, MARRW16, MARRW22, MARRW23,
		MARRW24, MARRW25, MARRW26, MARRW27, MARRW31, MARRW32,
		MARRW33, MARRW34, MARRW35, MARRW36, CHILDW1, CHILDW2,
		CHILDW3, EMPLW11, EMPLW12, EMPLW13, EMPLW14, EMPLW15,
		EMPLW16, EMPLW22, EMPLW23, EMPLW24, EMPLW25, EMPLW26,
		EMPLW32, EMPLW33, EMPLW34, OCC2W1, OCC3W1, OCC4W1,
		OCC5W1, OCC6W1, OCC7W1, OCC8W1, OCC1W2, OCC2W2, OCC3W2,
		OCC4W2, OCC5W2, OCC6W2, OCC7W2, OCC8W2, OCC1W3, OCC2W3,
		OCC3W3, OCC4W3, OCC5W3, OCC6W3, OCC7W3, OCC8W3, INC1W1,
		INC2W1, INC3W1, INC4W1, INC1W2, INC2W2, INC3W2, INC4W2,
		INC1W3, INC2W3, INC3W3, INC4W3, JSW1, JSW2, JSW3,
		DEAW1, DEAW2, DEAW3, DVCEW1, DVCEW2, DVCEW3, SEPAW1,
		SEPAW2, SEPAW3, ACCDW1, ACCDW2, ACCDW3, CATAW1, CATAW2,
		CATAW3, ILLW1, ILLW2, ILLW3, MOVEW1, MOVEW2, MOVEW3,
		SHJOBW1, SHJOBW2, SHJOBW3, SHFAMW1, SHFAMW2, SHFAMW3,
		SHHLW1, SHHLW2, SHHLW3, SHFINCW1, SHFINCW2, SHFINCW3,
		SHHOUSW1, SHHOUSW2, SHHOUSW3, SHRELAW1, SHRELAW2,
		SHRELAW3, SUPRTW1, SUPRTW2, SUPRTW3, SUFAMW1, SUFAMW2,
		SUFAMW3, SUCHRW1, SUCHRW2, SUCHRW3, PHLTHW1, PHLTHW2,
		PHLTHW3, SMOKW1, SMOKW2, SMOKW3, LIQW1, LIQW2, LIQW3,
		MEDCOW1, MEDCOW2, MEDCOW3, GOFERW1, GOFERW2, GOFERW3,
		FDFERW1, FDFERW2, FDFERW3, TRGOVW1, TRGOVW2, TRGOVW3,
		TRREPW1, TRREPW2, TRREPW3, KMACC, KMWORK, INJSELFR,
		INJOTHR, DEFNW1, DEFNW2, DEFNW3, EFRADW1, EFRADW2,
		EFRADW3, AIRW1, AIRW2, AIRW3, RADCHW1, RADCHW2, RADCHW3,
		RADTLW1, RADTLW2, RADTLW3, RADHLW1, RADHLW2, RADHLW3,
		RADFMW1, RADFMW2, RADFMW3, DAFTER, NEIW1, NEIW2,
		NEIW3, TOXIC, WOMAN, KZCHORN, ICDXCNT, CSPRBSLV,
		CSSOCSPT, CSAVOID, WHPSOCISO, BSITOTAL, BSIPOSYMP,
		BSIGLOBSI, BSISOMA, BSIIPS, BSIDEP, BSIPHANX, BSIHOS,
		BSIPAR, BSIPSYC, MIPTSD, AVGCUMDOSEW1, AVGCUMDOSEW2,
		AVGCUMDOSEW3, EMPLW35, HAVMIL, DEPAGW1, DEPAGW2,
		DEPAGW3, ANXAGW1, ANXAGW2, ANXAGW3, PHYSDISAGW1,
		PHYSDISAGW2, PHYSDISAGW3, PTSDW1, PTSDW2, PTSDW3,
		DRINKSPWW1, DRINKSPWW2, DRINKSPWW3, VODKAW1, VODKAW2,
		VODKAW3, PAINMEDSPW1, PAINMEDSPW2, PAINMEDSPW3, DOCVISITSW1,
		DOCVISITSW2, DOCVISITSW3, CHILDW1_mis, SHFAMW1_mis,
		SHFAMW2_mis, SHFINCW1_mis, SHRELAW2_mis, SUFAMW3_mis,
		SMOKW1_mis, LIQW1_mis, MEDCOW1_mis, MEDCOW3_mis,
		TRGOVW1_mis, TRGOVW2_mis, TRGOVW3_mis, TRREPW1_mis,
		TRREPW2_mis, TRREPW3_mis, DEFNW1_mis, RADTLW1_mis,
		DAFTER_mis, CSPRBSLV_mis, CSAVOID_mis, DOCVISITSW1_mis,
		DOCVISITSW2_mis, DOCVISITSW3_mis

MARS 5 Results
Model Sequence
	Basis
Functions	N
Predictors	N
Inputs	Effective
Parameters	    GCV    	GCV R-Square	Train MSE	
	18	9	9	49.00	100.60357	0.56251	78.05764	
	17	9	9	46.33	98.79693	0.57037	77.82479	
	16	9	9	43.67	97.09787	0.57776	77.64067	
	15	9	9	41.00	95.44891	0.58493	77.46213	
	14	9	9	38.33	93.87775	0.59176	77.31345	
	13	9	9	35.67	92.98646	0.59563	77.70022	
	**12	9	9	33.00	92.72143	0.59679	78.60139	
	11	9	9	30.33	93.03612	0.59542	79.99959	
	10	8	8	27.67	94.86252	0.58748	82.72876	
	9	7	7	25.00	96.83585	0.57889	85.63759	
	8	7	7	22.33	98.98895	0.56953	88.76119	
	7	7	7	19.67	100.16611	0.56441	91.05590	
	6	7	7	17.00	101.38317	0.55912	93.42169	
	5	6	6	14.33	103.17963	0.55131	96.36409	
	4	5	5	11.67	108.65249	0.52751	102.83617	
	3	5	5	9.00	117.92385	0.48719	113.09397	
	2	4	4	6.33	131.57332	0.42783	127.84527	
	1	2	2	3.67	164.84566	0.28314	162.26383	
	0	0	0	1.00	229.95634	0.00000	228.60564	

MARS Selector Error Curve

MARS 4 Results

	Dataset:	chwideZAMay2012Masterchicosold.dta

	Predictor Variables:	EDU2, EDU3, EDU4, EDU5, EDU6, EDU7, EDU8, MARRW12,
		MARRW13, MARRW14, MARRW15, MARRW16, MARRW22, MARRW23,
		MARRW24, MARRW25, MARRW26, MARRW27, MARRW31, MARRW32,
		MARRW33, MARRW34, MARRW35, MARRW36, CHILDW1, CHILDW2,
		CHILDW3, EMPLW11, EMPLW12, EMPLW13, EMPLW14, EMPLW15,
		EMPLW16, EMPLW22, EMPLW23, EMPLW24, EMPLW25, EMPLW26,
		EMPLW32, EMPLW33, EMPLW34, OCC2W1, OCC3W1, OCC4W1,
		OCC5W1, OCC6W1, OCC7W1, OCC8W1, OCC1W2, OCC2W2, OCC3W2,
		OCC4W2, OCC5W2, OCC6W2, OCC7W2, OCC8W2, OCC1W3, OCC2W3,
		OCC3W3, OCC4W3, OCC5W3, OCC6W3, OCC7W3, OCC8W3, INC1W1,
		INC2W1, INC3W1, INC4W1, INC1W2, INC2W2, INC3W2, INC4W2,
		INC1W3, INC2W3, INC3W3, INC4W3, JSW1, JSW2, JSW3,
		DEAW1, DEAW2, DEAW3, DVCEW1, DVCEW2, DVCEW3, SEPAW1,
		SEPAW2, SEPAW3, ACCDW1, ACCDW2, ACCDW3, CATAW1, CATAW2,
		CATAW3, ILLW1, ILLW2, ILLW3, MOVEW1, MOVEW2, MOVEW3,
		SHJOBW1, SHJOBW2, SHJOBW3, SHFAMW1, SHFAMW2, SHFAMW3,
		SHHLW1, SHHLW2, SHHLW3, SHFINCW1, SHFINCW2, SHFINCW3,
		SHHOUSW1, SHHOUSW2, SHHOUSW3, SHRELAW1, SHRELAW2,
		SHRELAW3, SUPRTW1, SUPRTW2, SUPRTW3, SUFAMW1, SUFAMW2,
		SUFAMW3, SUCHRW1, SUCHRW2, SUCHRW3, PHLTHW1, PHLTHW2,
		PHLTHW3, SMOKW1, SMOKW2, SMOKW3, LIQW1, LIQW2, LIQW3,
		MEDCOW1, MEDCOW2, MEDCOW3, GOFERW1, GOFERW2, GOFERW3,
		FDFERW1, FDFERW2, FDFERW3, TRGOVW1, TRGOVW2, TRGOVW3,
		TRREPW1, TRREPW2, TRREPW3, KMACC, KMWORK, INJSELFR,
		INJOTHR, DEFNW1, DEFNW2, DEFNW3, EFRADW1, EFRADW2,
		EFRADW3, AIRW1, AIRW2, AIRW3, RADCHW1, RADCHW2, RADCHW3,
		RADTLW1, RADTLW2, RADTLW3, RADHLW1, RADHLW2, RADHLW3,
		RADFMW1, RADFMW2, RADFMW3, DAFTER, NEIW1, NEIW2,
		NEIW3, TOXIC, WOMAN, KZCHORN, ICDXCNT, CSPRBSLV,
		CSSOCSPT, CSAVOID, WHPSLEEP, BSITOTAL, BSIPOSYMP,
		BSIGLOBSI, BSISOMA, BSIIPS, BSIDEP, BSIPHANX, BSIHOS,
		BSIPAR, BSIPSYC, MIPTSD, AVGCUMDOSEW1, AVGCUMDOSEW2,
		AVGCUMDOSEW3, EMPLW35, HAVMIL, DEPAGW1, DEPAGW2,
		DEPAGW3, ANXAGW1, ANXAGW2, ANXAGW3, PHYSDISAGW1,
		PHYSDISAGW2, PHYSDISAGW3, PTSDW1, PTSDW2, PTSDW3,
		DRINKSPWW1, DRINKSPWW2, DRINKSPWW3, VODKAW1, VODKAW2,
		VODKAW3, PAINMEDSPW1, PAINMEDSPW2, PAINMEDSPW3, DOCVISITSW1,
		DOCVISITSW2, DOCVISITSW3, CHILDW1_mis, SHFAMW1_mis,
		SHFAMW2_mis, SHFINCW1_mis, SHRELAW2_mis, SUFAMW3_mis,
		SMOKW1_mis, LIQW1_mis, MEDCOW1_mis, MEDCOW3_mis,
		TRGOVW1_mis, TRGOVW2_mis, TRGOVW3_mis, TRREPW1_mis,
		TRREPW2_mis, TRREPW3_mis, DEFNW1_mis, RADTLW1_mis,
		DAFTER_mis, CSPRBSLV_mis, CSAVOID_mis, DOCVISITSW1_mis,
		DOCVISITSW2_mis, DOCVISITSW3_mis

MARS 4 Results
Model Sequence
	Basis
Functions	N
Predictors	N
Inputs	Effective
Parameters	    GCV    	GCV R-Square	Train MSE	
	15	10	8	40.00	361.65336	0.41495	295.46843	
	14	10	8	37.40	355.47930	0.42494	294.57092	
	13	10	8	34.80	349.55296	0.43452	293.75517	
	12	10	8	32.20	344.47834	0.44273	293.54351	
	**11	10	8	29.60	340.98743	0.44838	294.59748	
	10	10	8	27.00	342.85510	0.44536	300.27866	
	9	9	7	24.40	350.14488	0.43356	310.83428	
	8	8	6	21.80	360.74404	0.41642	324.55822	
	7	8	6	19.20	368.20826	0.40434	335.69528	
	6	6	5	16.60	377.38991	0.38949	348.61588	
	5	5	4	14.00	388.91907	0.37084	363.97291	
	4	5	4	11.40	402.33180	0.34914	381.41323	
	3	4	3	8.80	400.31009	0.35241	384.37842	
	2	2	2	6.20	406.12021	0.34301	394.92848	
	1	2	2	3.60	429.83087	0.30466	423.26656	
	0	0	0	1.00	618.15527	0.00000	614.52443	

MARS Selector Error Curve

MARS 2 Results

	Dataset:	chwideZAMay2012Masterchicosold.dta

	Predictor Variables:	EDU2, EDU3, EDU4, EDU5, EDU6, EDU7, EDU8, MARRW12,
		MARRW13, MARRW14, MARRW15, MARRW16, MARRW22, MARRW23,
		MARRW24, MARRW25, MARRW26, MARRW27, MARRW31, MARRW32,
		MARRW33, MARRW34, MARRW35, MARRW36, CHILDW1, CHILDW2,
		CHILDW3, EMPLW11, EMPLW12, EMPLW13, EMPLW14, EMPLW15,
		EMPLW16, EMPLW22, EMPLW23, EMPLW24, EMPLW25, EMPLW26,
		EMPLW32, EMPLW33, EMPLW34, OCC2W1, OCC3W1, OCC4W1,
		OCC5W1, OCC6W1, OCC7W1, OCC8W1, OCC1W2, OCC2W2, OCC3W2,
		OCC4W2, OCC5W2, OCC6W2, OCC7W2, OCC8W2, OCC1W3, OCC2W3,
		OCC3W3, OCC4W3, OCC5W3, OCC6W3, OCC7W3, OCC8W3, INC1W1,
		INC2W1, INC3W1, INC4W1, INC1W2, INC2W2, INC3W2, INC4W2,
		INC1W3, INC2W3, INC3W3, INC4W3, JSW1, JSW2, JSW3,
		DEAW1, DEAW2, DEAW3, DVCEW1, DVCEW2, DVCEW3, SEPAW1,
		SEPAW2, SEPAW3, ACCDW1, ACCDW2, ACCDW3, CATAW1, CATAW2,
		CATAW3, ILLW1, ILLW2, ILLW3, MOVEW1, MOVEW2, MOVEW3,
		SHJOBW1, SHJOBW2, SHJOBW3, SHFAMW1, SHFAMW2, SHFAMW3,
		SHHLW1, SHHLW2, SHHLW3, SHFINCW1, SHFINCW2, SHFINCW3,
		SHHOUSW1, SHHOUSW2, SHHOUSW3, SHRELAW1, SHRELAW2,
		SHRELAW3, SUPRTW1, SUPRTW2, SUPRTW3, SUFAMW1, SUFAMW2,
		SUFAMW3, SUCHRW1, SUCHRW2, SUCHRW3, PHLTHW1, PHLTHW2,
		PHLTHW3, SMOKW1, SMOKW2, SMOKW3, LIQW1, LIQW2, LIQW3,
		MEDCOW1, MEDCOW2, MEDCOW3, GOFERW1, GOFERW2, GOFERW3,
		FDFERW1, FDFERW2, FDFERW3, TRGOVW1, TRGOVW2, TRGOVW3,
		TRREPW1, TRREPW2, TRREPW3, KMACC, KMWORK, INJSELFR,
		INJOTHR, DEFNW1, DEFNW2, DEFNW3, EFRADW1, EFRADW2,
		EFRADW3, AIRW1, AIRW2, AIRW3, RADCHW1, RADCHW2, RADCHW3,
		RADTLW1, RADTLW2, RADTLW3, RADHLW1, RADHLW2, RADHLW3,
		RADFMW1, RADFMW2, RADFMW3, DAFTER, NEIW1, NEIW2,
		NEIW3, TOXIC, WOMAN, KZCHORN, ICDXCNT, CSPRBSLV,
		CSSOCSPT, CSAVOID, WHPPA, BSITOTAL, BSIPOSYMP, BSIGLOBSI,
		BSISOMA, BSIIPS, BSIDEP, BSIPHANX, BSIHOS, BSIPAR,
		BSIPSYC, MIPTSD, AVGCUMDOSEW1, AVGCUMDOSEW2, AVGCUMDOSEW3,
		EMPLW35, HAVMIL, DEPAGW1, DEPAGW2, DEPAGW3, ANXAGW1,
		ANXAGW2, ANXAGW3, PHYSDISAGW1, PHYSDISAGW2, PHYSDISAGW3,
		PTSDW1, PTSDW2, PTSDW3, DRINKSPWW1, DRINKSPWW2, DRINKSPWW3,
		VODKAW1, VODKAW2, VODKAW3, PAINMEDSPW1, PAINMEDSPW2,
		PAINMEDSPW3, DOCVISITSW1, DOCVISITSW2, DOCVISITSW3,
		CHILDW1_mis, SHFAMW1_mis, SHFAMW2_mis, SHFINCW1_mis,
		SHRELAW2_mis, SUFAMW3_mis, SMOKW1_mis, LIQW1_mis,
		MEDCOW1_mis, MEDCOW3_mis, TRGOVW1_mis, TRGOVW2_mis,
		TRGOVW3_mis, TRREPW1_mis, TRREPW2_mis, TRREPW3_mis,
		DEFNW1_mis, RADTLW1_mis, DAFTER_mis, CSPRBSLV_mis,
		CSAVOID_mis, DOCVISITSW1_mis, DOCVISITSW2_mis, DOCVISITSW3_mis

MARS 2 Results
Model Sequence
	Basis
Functions	N
Predictors	N
Inputs	Effective
Parameters	    GCV    	GCV R-Square	Train MSE	
	17	10	9	45.00	121.34796	0.42897	96.45877	
	16	10	9	42.41	119.25946	0.43879	96.17073	
	15	10	9	39.82	117.24823	0.44826	95.90377	
	14	10	9	37.24	115.34524	0.45721	95.68589	
	13	10	9	34.65	113.74532	0.46474	95.68443	
	12	10	9	32.06	112.90949	0.46867	96.30288	
	**11	10	9	29.47	112.64727	0.46991	97.40324	
	10	10	9	26.88	113.76066	0.46467	99.70854	
	9	10	9	24.29	115.21194	0.45784	102.34579	
	8	10	9	21.71	116.79975	0.45037	105.14587	
	7	10	9	19.12	120.20070	0.43436	109.64319	
	6	9	8	16.53	123.94561	0.41674	114.54539	
	5	8	7	13.94	127.73701	0.39890	119.58681	
	4	5	5	11.35	131.05973	0.38326	124.28109	
	3	4	4	8.76	137.31569	0.35383	131.87886	
	2	3	3	6.18	146.15329	0.31224	142.14568	
	1	1	1	3.59	154.33716	0.27373	151.99078	
	0	0	0	1.00	212.50545	0.00000	211.25725	

MARS Selector Error Curve

MARS 3 Results

	Dataset:	chwideZAMay2012Masterchicosold.dta

	Predictor Variables:	EDU2, EDU3, EDU4, EDU5, EDU6, EDU7, EDU8, MARRW12,
		MARRW13, MARRW14, MARRW15, MARRW16, MARRW22, MARRW23,
		MARRW24, MARRW25, MARRW26, MARRW27, MARRW31, MARRW32,
		MARRW33, MARRW34, MARRW35, MARRW36, CHILDW1, CHILDW2,
		CHILDW3, EMPLW11, EMPLW12, EMPLW13, EMPLW14, EMPLW15,
		EMPLW16, EMPLW22, EMPLW23, EMPLW24, EMPLW25, EMPLW26,
		EMPLW32, EMPLW33, EMPLW34, OCC2W1, OCC3W1, OCC4W1,
		OCC5W1, OCC6W1, OCC7W1, OCC8W1, OCC1W2, OCC2W2, OCC3W2,
		OCC4W2, OCC5W2, OCC6W2, OCC7W2, OCC8W2, OCC1W3, OCC2W3,
		OCC3W3, OCC4W3, OCC5W3, OCC6W3, OCC7W3, OCC8W3, INC1W1,
		INC2W1, INC3W1, INC4W1, INC1W2, INC2W2, INC3W2, INC4W2,
		INC1W3, INC2W3, INC3W3, INC4W3, JSW1, JSW2, JSW3,
		DEAW1, DEAW2, DEAW3, DVCEW1, DVCEW2, DVCEW3, SEPAW1,
		SEPAW2, SEPAW3, ACCDW1, ACCDW2, ACCDW3, CATAW1, CATAW2,
		CATAW3, ILLW1, ILLW2, ILLW3, MOVEW1, MOVEW2, MOVEW3,
		SHJOBW1, SHJOBW2, SHJOBW3, SHFAMW1, SHFAMW2, SHFAMW3,
		SHHLW1, SHHLW2, SHHLW3, SHFINCW1, SHFINCW2, SHFINCW3,
		SHHOUSW1, SHHOUSW2, SHHOUSW3, SHRELAW1, SHRELAW2,
		SHRELAW3, SUPRTW1, SUPRTW2, SUPRTW3, SUFAMW1, SUFAMW2,
		SUFAMW3, SUCHRW1, SUCHRW2, SUCHRW3, PHLTHW1, PHLTHW2,
		PHLTHW3, SMOKW1, SMOKW2, SMOKW3, LIQW1, LIQW2, LIQW3,
		MEDCOW1, MEDCOW2, MEDCOW3, GOFERW1, GOFERW2, GOFERW3,
		FDFERW1, FDFERW2, FDFERW3, TRGOVW1, TRGOVW2, TRGOVW3,
		TRREPW1, TRREPW2, TRREPW3, KMACC, KMWORK, INJSELFR,
		INJOTHR, DEFNW1, DEFNW2, DEFNW3, EFRADW1, EFRADW2,
		EFRADW3, AIRW1, AIRW2, AIRW3, RADCHW1, RADCHW2, RADCHW3,
		RADTLW1, RADTLW2, RADTLW3, RADHLW1, RADHLW2, RADHLW3,
		RADFMW1, RADFMW2, RADFMW3, DAFTER, NEIW1, NEIW2,
		NEIW3, TOXIC, WOMAN, KZCHORN, ICDXCNT, CSPRBSLV,
		CSSOCSPT, CSAVOID, WHPPAIN, BSITOTAL, BSIPOSYMP,
		BSIGLOBSI, BSISOMA, BSIIPS, BSIDEP, BSIPHANX, BSIHOS,
		BSIPAR, BSIPSYC, MIPTSD, AVGCUMDOSEW1, AVGCUMDOSEW2,
		AVGCUMDOSEW3, EMPLW35, HAVMIL, DEPAGW1, DEPAGW2,
		DEPAGW3, ANXAGW1, ANXAGW2, ANXAGW3, PHYSDISAGW1,
		PHYSDISAGW2, PHYSDISAGW3, PTSDW1, PTSDW2, PTSDW3,
		DRINKSPWW1, DRINKSPWW2, DRINKSPWW3, VODKAW1, VODKAW2,
		VODKAW3, PAINMEDSPW1, PAINMEDSPW2, PAINMEDSPW3, DOCVISITSW1,
		DOCVISITSW2, DOCVISITSW3, CHILDW1_mis, SHFAMW1_mis,
		SHFAMW2_mis, SHFINCW1_mis, SHRELAW2_mis, SUFAMW3_mis,
		SMOKW1_mis, LIQW1_mis, MEDCOW1_mis, MEDCOW3_mis,
		TRGOVW1_mis, TRGOVW2_mis, TRGOVW3_mis, TRREPW1_mis,
		TRREPW2_mis, TRREPW3_mis, DEFNW1_mis, RADTLW1_mis,
		DAFTER_mis, CSPRBSLV_mis, CSAVOID_mis, DOCVISITSW1_mis,
		DOCVISITSW2_mis, DOCVISITSW3_mis

MARS 3 Results
Model Sequence
	Basis
Functions	N
Predictors	N
Inputs	Effective
Parameters	    GCV    	GCV R-Square	Train MSE	
	17	10	9	48.00	143.19523	0.47247	111.52172	
	16	10	9	45.24	141.24032	0.47967	111.74503	
	**15	10	9	42.47	139.39244	0.48648	112.01472	
	14	10	9	39.71	140.53278	0.48228	114.68563	
	13	9	8	36.94	140.73180	0.48155	116.61371	
	12	9	8	34.18	142.18054	0.47621	119.60664	
	11	9	8	31.41	141.29647	0.47947	120.65276	
	10	9	8	28.65	141.32531	0.47936	122.47602	
	9	9	8	25.88	139.71947	0.48527	122.87082	
	8	8	7	23.12	142.59702	0.47467	127.23297	
	7	8	7	20.35	144.08245	0.46920	130.41739	
	6	7	6	17.59	147.78165	0.45557	135.68103	
	5	6	5	14.82	152.84387	0.43692	142.31834	
	4	5	4	12.06	159.80222	0.41129	150.88671	
	3	3	3	9.29	167.13510	0.38428	160.00491	
	2	2	2	6.53	177.76433	0.34512	172.52454	
	1	1	1	3.76	195.32839	0.28041	192.15706	
	0	0	0	1.00	271.44485	0.00000	269.85045	

MARS Selector Error Curve