*Table 11 n=2724 cohorts,Low animal food seven subset basic statistics with 
male and female cohorts paired; 

data source2;
	set Projects.source;
where (NCD17m2 <1070.22659 and afoods2 <400) or afoods2 <149;
run; quit;  

proc corr data=source2 fisher;
where (NCD17m2 <1070.22659 and afoods2 <400) or afoods2 <149;
var pmeat17KC2 rmeat17KC2 fish17KC2 milk17KC2 poultry16KC2 eggs16KC2 addedSFAKC2 
addedPUFAKC2 addedTFAKC2 Alcohol17KC2 Sugarb17KC2 potatoes16KC2 swtpot16KC2 
corn16KC2 fruits17KC2 Vegetables17KC2 nutsseeds17KC2 wgrains17KC2 legumes17KC2 rice16KC2 
afoods2 healthypfoods2 kcal2016m2 VitAdeficm2 sodium17m2 Calcium17m2 Fiber17m2 PAMETs17m2
Childunwt17m2 discbreastF17m2 AmbientPM17m2 smoke17m2 SHSmoke17m2 SLTobacco17m2 leadblood17m2 HHairPoll17m2 kidneyDz17m2 BMI17m2 LDLc17 FPG17m2 SBP17m2 SDI_2016M2;
	with NCD17m2;
run; quit;
*Result;
1 With Variables:	NCD17m2
42 Variables:	Pmeat17KC2 Rmeat17KC2 Fish17KC2 Milk17KC2 Poultry16KC2 eggs16KC2 AddedSFAKC2 AddedPUFAKC2 AddedTFAKC2 Alcohol17KC2 sugarb17KC2 potatoes16KC2 swtpot16KC2 Corn16KC2 fruits17KC2 vegetables17KC2 nutsseeds17KC2 wgrains17KC2 legumes17KC2 Rice16KC2 Afoods2 Healthypfoods2 kcal2016m2 VitAdeficm2 sodium17m2 Calcium17m2 Fiber17m2 PAMETs17m2 Childunwt17m2 discbreastF17m2 AmbientPM17m2 smoke17m2 SHSmoke17m2 SLTobacco17m2 leadblood17m2 HHairPoll17m2 kidneyDz17m2 BMI17m2 LDLc17 FPG17m2 SBP17m2 SDI_2016M2
Simple Statistics
Variable	N	Mean	Std Dev	Sum	Minimum	Maximum	Label
NCD17m2	2724	1545	343.58400	4209392	713.36705	3521	NCD deaths/100k/year m/f
Pmeat17KC2	2724	1.45735	1.34773	3970	0.27662	13.26006	Processed meat KC/d m/f
Rmeat17KC2	2724	17.00530	17.83132	46322	4.85276	108.83718	Red meat KC/d m/f
Fish17KC2	2724	2.51617	2.23672	6854	0.43684	11.52453	Fish KC/d m/f
Milk17KC2	2724	15.97554	8.86718	43517	1.08117	76.04611	Milk KC/d m/f
Poultry16KC2	2724	17.52645	26.81977	47742	1.40384	143.64310	Poultry KC/d m/f
eggs16KC2	2724	7.07047	6.07685	19260	1.04803	38.44987	Eggs KC/d m/f
AddedSFAKC2	2724	85.53648	24.22951	233001	18.29705	173.01711	Added SFA KC/d m/f
AddedPUFAKC2	2724	27.62283	23.76614	75245	1.64504	142.96291	Added PUFA KC/d m/f
AddedTFAKC2	2724	9.15384	7.19519	24935	0.77103	36.95601	Added TFA KC/d m/f
Alcohol17KC2	2724	77.04666	34.75746	209875	9.52646	246.48465	Alcohol KC/d m/f
sugarb17KC2	2724	315.61247	144.71378	859728	98.33949	1392	Sugary beverages KC/d m/f
potatoes16KC2	2724	83.21676	101.35049	226682	3.49452	606.10388	Potatoes KC/d m/f
swtpot16KC2	2724	14.32801	31.03150	39029	0.16194	226.78926	Sweet potatoes KC/d m/f
Corn16KC2	2724	45.13329	63.50868	122943	0.54239	351.49841	Corn KC/d m/f
fruits17KC2	2724	32.96595	22.49362	89799	3.84081	110.72589	Fruits KC/d m/f
vegetables17KC2	2724	64.20206	40.64121	174886	9.61983	192.32110	Vegetables KC/d m/f
nutsseeds17KC2	2724	5.77165	4.67349	15722	0.26662	31.59282	Nuts/seeds KC/d m/f
wgrains17KC2	2724	59.53552	28.70412	162175	2.30023	150.56791	W grains KC/d m/f
legumes17KC2	2724	74.47066	31.37853	202858	11.51965	180.76572	Legumes KC/d m/f
Rice16KC2	2724	180.24074	139.66377	490976	2.32657	547.15006	Rice KC/d m/f
Afoods2	2724	147.08775	67.87692	400667	56.29420	396.61097	Animal foods 7 KC/d m/f
Healthypfoods2	2724	431.51459	150.63701	1175446	131.64704	844.63430	Healthy plants 7 KC/d m/f
kcal2016m2	2724	2345	336.77209	6386664	1579	3254	Total KC/d m/f
VitAdeficm2	2724	29869	9317	81363251	1475	48691	Vitamin A deficiency m/f
sodium17m2	2724	3.09421	0.66772	8429	1.57072	6.41655	Sodium g/d m/f
Calcium17m2	2724	0.21938	0.07198	597.58437	0.08669	0.72502	Calcium g/d m/f
Fiber17m2	2724	9.41197	3.22377	25638	2.94353	20.95141	Fiber g/d m/f
PAMETs17m2	2724	4639	1119	12635413	2144	7496	Physical activity METs m/f
Childunwt17m2	2724	0.34628	0.16371	943.26550	0.01447	0.49656	Child underweight >2SD m/f
discbreastF17m2	2724	0.07655	0.03858	208.51210	0.01596	0.22583	Stop breast f <6 months m/f
AmbientPM17m2	2724	62.12175	26.18956	169220	8.86854	95.53634	Ambient pollution m/f
smoke17m2	2724	0.14803	0.05138	403.24573	0.04178	0.31401	Smoking rate (0-1) m/f
SHSmoke17m2	2724	0.36065	0.07529	982.42077	0.17768	0.49651	Second hand smoke m/f
SLTobacco17m2	2724	0.14512	0.11112	395.31441	0.00189	0.29705	SubL tobacco (0-1) m/f
leadblood17m2	2724	5.29200	0.64981	14415	3.72473	7.35315	Blood lead mcg/dl m/f
HHairPoll17m2	2724	0.66893	0.27034	1822	0.00617	0.99570	Household air pollution m/f
kidneyDz17m2	2724	0.07091	0.01368	193.15873	0.03097	0.10810	Kidney disease III (0-1) m/f
BMI17m2	2724	20.22191	1.93652	55084	18.28274	25.97656	BMI17m2
LDLc17	2724	2.05389	0.28267	5595	1.27179	3.05151	LDLc mmol/L
FPG17m2	2724	4.13214	0.25606	11256	3.39688	4.98570	FPG mmol/L m/f
SBP17m2	2724	132.98011	3.26205	362238	124.71437	144.27512	SBP mm Hg m/f
SDI_2016M2	2724	0.41101	0.11274	1120	0.11218	0.79231	SDI (0-1) m/f
Pearson Correlation Statistics (Fisher's z Transformation)
Variable	With Variable	N	Sample Correlation	Fisher's z	Bias Adjustment	Correlation Estimate	95% Confidence Limits	p Value for
H0:Rho=0
Pmeat17KC2	NCD17m2	2724	-0.39915	-0.42264	-0.0000733	-0.39909	-0.430196	-0.367033	<.0001
Rmeat17KC2	NCD17m2	2724	-0.44470	-0.47807	-0.0000817	-0.44463	-0.474267	-0.413988	<.0001
Fish17KC2	NCD17m2	2724	-0.61003	-0.70898	-0.0001120	-0.60996	-0.633019	-0.585828	<.0001
Milk17KC2	NCD17m2	2724	-0.42739	-0.45670	-0.0000785	-0.42733	-0.457541	-0.396130	<.0001
Poultry16KC2	NCD17m2	2724	-0.61399	-0.71530	-0.0001127	-0.61392	-0.636794	-0.589967	<.0001
eggs16KC2	NCD17m2	2724	-0.64300	-0.76327	-0.0001181	-0.64293	-0.664441	-0.620352	<.0001
AddedSFAKC2	NCD17m2	2724	-0.46512	-0.50383	-0.0000854	-0.46506	-0.493985	-0.435100	<.0001
AddedPUFAKC2	NCD17m2	2724	-0.62744	-0.73719	-0.0001152	-0.62737	-0.649622	-0.604048	<.0001
AddedTFAKC2	NCD17m2	2724	-0.15008	-0.15122	-0.0000276	-0.15005	-0.186555	-0.113132	<.0001
Alcohol17KC2	NCD17m2	2724	0.13227	0.13305	0.0000243	0.13225	0.095162	0.168962	<.0001
sugarb17KC2	NCD17m2	2724	-0.43106	-0.46120	-0.0000792	-0.43099	-0.461087	-0.399912	<.0001
potatoes16KC2	NCD17m2	2724	-0.10275	-0.10312	-0.0000189	-0.10273	-0.139750	-0.065430	<.0001
swtpot16KC2	NCD17m2	2724	0.05169	0.05174	9.49184E-6	0.05168	0.014155	0.089066	0.0070
Corn16KC2	NCD17m2	2724	-0.09217	-0.09243	-0.0000169	-0.09215	-0.129262	-0.054786	<.0001
fruits17KC2	NCD17m2	2724	-0.51402	-0.56817	-0.0000944	-0.51395	-0.541060	-0.485767	<.0001
vegetables17KC2	NCD17m2	2724	-0.19921	-0.20191	-0.0000366	-0.19917	-0.234970	-0.162833	<.0001
nutsseeds17KC2	NCD17m2	2724	-0.17640	-0.17826	-0.0000324	-0.17637	-0.212515	-0.139736	<.0001
wgrains17KC2	NCD17m2	2724	-0.14787	-0.14896	-0.0000272	-0.14784	-0.184372	-0.110900	<.0001
legumes17KC2	NCD17m2	2724	0.02456	0.02457	4.51033E-6	0.02456	-0.013009	0.062058	0.2000
Rice16KC2	NCD17m2	2724	0.13137	0.13213	0.0000241	0.13134	0.094251	0.168069	<.0001
Afoods2	NCD17m2	2724	-0.66688	-0.80511	-0.0001225	-0.66681	-0.687162	-0.645421	<.0001
Healthypfoods2	NCD17m2	2724	-0.02659	-0.02659	-4.8819E-6	-0.02658	-0.064074	0.010985	0.1654
kcal2016m2	NCD17m2	2724	-0.50314	-0.55350	-0.0000924	-0.50307	-0.530601	-0.474479	<.0001
VitAdeficm2	NCD17m2	2724	0.44884	0.48324	0.0000824	0.44877	0.418264	0.478266	<.0001
sodium17m2	NCD17m2	2724	-0.10840	-0.10883	-0.0000199	-0.10838	-0.145346	-0.071115	<.0001
Calcium17m2	NCD17m2	2724	-0.53635	-0.59902	-0.0000985	-0.53628	-0.562506	-0.508974	<.0001
Fiber17m2	NCD17m2	2724	-0.15888	-0.16024	-0.0000292	-0.15886	-0.195247	-0.122027	<.0001
PAMETs17m2	NCD17m2	2724	0.18468	0.18683	0.0000339	0.18465	0.148122	0.220677	<.0001
Childunwt17m2	NCD17m2	2724	0.49316	0.54023	0.0000906	0.49309	0.464133	0.521001	<.0001
discbreastF17m2	NCD17m2	2724	-0.57503	-0.65501	-0.0001056	-0.57496	-0.599570	-0.549265	<.0001
AmbientPM17m2	NCD17m2	2724	0.32176	0.33360	0.0000591	0.32170	0.287622	0.354970	<.0001
smoke17m2	NCD17m2	2724	-0.09733	-0.09764	-0.0000179	-0.09732	-0.134382	-0.059980	<.0001
SHSmoke17m2	NCD17m2	2724	-0.02012	-0.02012	-3.6943E-6	-0.02012	-0.057628	0.017454	0.2939
SLTobacco17m2	NCD17m2	2724	0.28037	0.28808	0.0000515	0.28032	0.245348	0.314565	<.0001
leadblood17m2	NCD17m2	2724	0.12990	0.13063	0.0000239	0.12987	0.092768	0.166615	<.0001
HHairPoll17m2	NCD17m2	2724	0.52173	0.57871	0.0000958	0.52166	0.493774	0.548467	<.0001
kidneyDz17m2	NCD17m2	2724	0.09438	0.09466	0.0000173	0.09436	0.057007	0.131451	<.0001
BMI17m2	NCD17m2	2724	-0.55350	-0.62342	-0.0001016	-0.55343	-0.578957	-0.526828	<.0001
LDLc17	NCD17m2	2724	-0.50757	-0.55945	-0.0000932	-0.50750	-0.534861	-0.479074	<.0001
FPG17m2	NCD17m2	2724	-0.35614	-0.37246	-0.0000654	-0.35608	-0.388444	-0.322844	<.0001
SBP17m2	NCD17m2	2724	-0.05202	-0.05206	-9.5511E-6	-0.05201	-0.089387	-0.014478	0.0066
SDI_2016M2	NCD17m2	2724	-0.62576	-0.73441	-0.0001149	-0.62569	-0.648014	-0.602282	<.0001

*Table 11 paired low afoods: Standardizing the risk factors independent variable;
data source2;
	set Projects.source;
where (NCD17m2 <1070.22659 and afoods2 <400) or afoods2 <149;
NCD17m2s	=	NCD17m2	/	343.584	-	4.49758	;
Pmeat17KC2s	=	Pmeat17KC2	/	1.34773	-	1.08134	;
Rmeat17KC2s	=	Rmeat17KC2	/	17.83132	-	0.95368	;
Fish17KC2s	=	Fish17KC2	/	2.23672	-	1.12494	;
Milk17KC2s	=	Milk17KC2	/	8.86718	-	1.80165	;
Poultry16KC2s	=	Poultry16KC2	/	26.81977	-	0.65349	;
eggs16KC2s	=	eggs16KC2	/	6.07685	-	1.16351	;
AddedSFAKC2s	=	AddedSFAKC2	/	24.22951	-	3.53026	;
AddedPUFAKC2s	=	AddedPUFAKC2	/	23.76614	-	1.16228	;
AddedTFAKC2s	=	AddedTFAKC2	/	7.19519	-	1.27222	;
Alcohol17KC2s	=	Alcohol17KC2	/	34.75746	-	2.21669	;
sugarb17KC2s	=	sugarb17KC2	/	144.71378	-	2.18094	;
potatoes16KC2s	=	potatoes16KC2	/	101.35049	-	0.82108	;
swtpot16KC2s	=	swtpot16KC2	/	31.0315	-	0.46172	;
Corn16KC2s	=	Corn16KC2	/	63.50868	-	0.71066	;
fruits17KC2s	=	fruits17KC2	/	22.49362	-	1.46557	;
vegetables17KC2s	=	vegetables17KC2	/	40.64121	-	1.57973	;
nutsseeds17KC2s	=	nutsseeds17KC2	/	4.67349	-	1.23498	;
wgrains17KC2s	=	wgrains17KC2	/	28.70412	-	2.07411	;
legumes17KC2s	=	legumes17KC2	/	31.37853	-	2.3733	;
Rice16KC2s	=	Rice16KC2	/	139.66377	-	1.29053	;
VitAdeficm2s	=	VitAdeficm2	/	9317	-	3.20586	;
Childunwt17m2s	=	Childunwt17m2	/	0.16371	-	2.1152	;
AmbientPM17m2s	=	AmbientPM17m2	/	26.18956	-	2.372	;
SLTobacco17m2s	=	SLTobacco17m2	/	0.11112	-	1.306	;
leadblood17m2s	=	leadblood17m2	/	0.64981	-	8.14392	;
HHairPoll17m2s	=	HHairPoll17m2	/	0.27034	-	2.47441	;
kidneyDz17m2s	=	kidneyDz17m2	/	0.01368	-	5.18348	;
SDI_2016M2s	=	SDI_2016M2	/	0.11274	-	3.64562	;

*Table 11 paired low afoods: Confirming that all variables were standardized;
proc corr data=source2 fisher;
where (NCD17m2 <1070.22659 and afoods2 <400) or afoods2 <149;
var pmeat17KC2s rmeat17KC2s fish17KC2s milk17KC2s poultry16KC2s eggs16KC2s addedSFAKC2s 
addedPUFAKC2s addedTFAKC2s Alcohol17KC2s Sugarb17KC2s potatoes16KC2s swtpot16KC2s 
corn16KC2s fruits17KC2s Veg:etables17KC2s nutsseeds17KC2s wgrains17KC2s legumes17KC2s rice16KC2s 
VitAdeficm2s Childunwt17m2s AmbientPM17m2s SLTobacco17m2s leadblood17m2s
HHairPoll17m2s kidneyDz17m2s SDI_2016M2s;
	with NCD17m2s;
run; quit;
They were all standardized.
* Adjusting these standardized variables for their means and R2s and Making a combined risk factor variable
data source2;
	set Projects.source;
where (NCD17m2 <1070.22659 and afoods2 <400) or afoods2 <149;
  NCD17m2f1=		
-	pmeat17KC2s	*	1.45735	*	0.159272828
-	rmeat17KC2s	*	17.0053	*	0.197695837
-	fish17KC2s	*	2.51617	*	0.372051202
-	milk17KC2s	*	15.97554	*	0.182610929
-	poultry16KC2s	*	17.52645	*	0.376897766
-	eggs16KC2s	*	7.07047	*	0.413358985
-	addedSFAKC2s	*	85.53648	*	0.216280804
-	addedPUFAKC2s	*	27.62283	*	0.393593117
-	addedTFAKC2s	*	9.15384	*	0.022515003
+	Alcohol17KC2s	*	77.04666	*	0.017490063
-	Sugarb17KC2s	*	315.61247	*	0.18575238
-	potatoes16KC2s	*	83.21676	*	0.010553453
+	swtpot16KC2s	*	14.32801	*	0.002670822
-	corn16KC2s	*	45.13329	*	0.008491623
-	fruits17KC2s	*	32.96595	*	0.264144603
-	Vegetables17KC2s	*	64.20206	*	0.039668689
-	nutsseeds17KC2s	*	5.77165	*	0.031106377
-	wgrains17KC2s	*	59.53552	*	0.021856666
+	legumes17KC2s	*	74.47066	*	0.000603194

+	rice16KC2s	*	180.24074	*	0.017250196
;
run;
Then with 
proc corr data=source2 fisher;
where (NCD17m2 <1070.22659 and afoods2 <400) or afoods2 <149;
var NCD17m2f1 pmeat17KC2s rmeat17KC2s fish17KC2s milk17KC2s poultry16KC2s eggs16KC2s addedSFAKC2s 
addedPUFAKC2s addedTFAKC2s Alcohol17KC2s Sugarb17KC2s potatoes16KC2s swtpot16KC2s 
corn16KC2s fruits17KC2s Vegetables17KC2s nutsseeds17KC2s wgrains17KC2s legumes17KC2s rice16KC2s 
VitAdeficm2s Childunwt17m2s AmbientPM17m2s SLTobacco17m2s leadblood17m2s
HHairPoll17m2s kidneyDz17m2s SDI_2016M2s;
	with NCD17m2s;
run; quit;
The result was as follows:
NOTE: ODS statements in the SAS Studio environment may disable some output features.
69
70 proc corr data=source2 fisher;
71 where (NCD17m2 <1070.22659 and afoods2 <400) or afoods2 <149;
72 var NCD17m2f1 pmeat17KC2s rmeat17KC2s fish17KC2s milk17KC2s poultry16KC2s eggs16KC2s addedSFAKC2s
73 addedPUFAKC2s addedTFAKC2s Alcohol17KC2s Sugarb17KC2s potatoes16KC2s swtpot16KC2s
74 corn16KC2s fruits17KC2s Vegetables17KC2s nutsseeds17KC2s wgrains17KC2s legumes17KC2s rice16KC2s
75 VitAdeficm2s Childunwt17m2s AmbientPM17m2s SLTobacco17m2s leadblood17m2s
ERROR: Variable VITADEFICM2S not found.
ERROR: Variable CHILDUNWT17M2S not found.
ERROR: Variable AMBIENTPM17M2S not found.
ERROR: Variable SLTOBACCO17M2S not found.
76 HHairPoll17m2s kidneyDz17m2s SDI_2016M2s;
ERROR: Variable LEADBLOOD17M2S not found.
ERROR: Variable HHAIRPOLL17M2S not found.
ERROR: Variable KIDNEYDZ17M2S not found.
ERROR: Variable SDI_2016M2S not found.
77 with NCD17m2s;
ERROR: Variable NCD17M2S not found.
78 run;

Without the non-dietary risk factors, the result was

The CORR Procedure

1 With Variables:	NCD17m2
21 Variables:	NCD17m2f1 pmeat17KC2s rmeat17KC2s fish17KC2s milk17KC2s poultry16KC2s eggs16KC2s addedSFAKC2s addedPUFAKC2s addedTFAKC2s Alcohol17KC2s Sugarb17KC2s potatoes16KC2s swtpot16KC2s corn16KC2s fruits17KC2s Vegetables17KC2s nutsseeds17KC2s wgrains17KC2s legumes17KC2s rice16KC2s
Simple Statistics
Variable	N	Mean	Std Dev	Sum	Minimum	Maximum	Label
NCD17m2	2724	1545	343.58400	4209392	713.36705	3521	NCD deaths/100k/year m/f
NCD17m2f1	0	.	.	.	.	.	 
pmeat17KC2s	0	.	.	.	.	.	 
rmeat17KC2s	0	.	.	.	.	.	 
fish17KC2s	0	.	.	.	.	.	 
milk17KC2s	0	.	.	.	.	.	 
poultry16KC2s	0	.	.	.	.	.	 
eggs16KC2s	0	.	.	.	.	.	 
addedSFAKC2s	0	.	.	.	.	.	 
addedPUFAKC2s	0	.	.	.	.	.	 
addedTFAKC2s	0	.	.	.	.	.	 
Alcohol17KC2s	0	.	.	.	.	.	 
Sugarb17KC2s	0	.	.	.	.	.	 
potatoes16KC2s	0	.	.	.	.	.	 
swtpot16KC2s	0	.	.	.	.	.	 
corn16KC2s	0	.	.	.	.	.	 
fruits17KC2s	0	.	.	.	.	.	 
Vegetables17KC2s	0	.	.	.	.	.	 
nutsseeds17KC2s	0	.	.	.	.	.	 
wgrains17KC2s	0	.	.	.	.	.	 
legumes17KC2s	0	.	.	.	.	.	 
rice16KC2s	0	.	.	.	.	.