• No results found

Chapter V: Discussion and Conclusion

2300 HAT2 2396 HAZMNK1R 3337 3339 HAZMNK5R 3342 3344 WTPFQX6 52 60 WTPFE

B) Continuous Variables

IV) Check for Interactions

%macro interaction1(variable=); data int1;

set 'f:\biostat thesis\final2';

%let x=&variable;

%let covlist= gender race2 agegrp2 agegrp3 pajog hdl bmicat edu1 alcohol cessation; run;

proc logistic data=int1 descending;

class gender(ref=first) race2(ref=first)

edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race2 race2val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*race2;

ods select Logistic.ParameterEstimates; Title "&x*race2";

run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*agegrp2;

ods select Logistic.ParameterEstimates; Title "&x*agegrp2";

run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*agegrp3;

ods select Logistic.ParameterEstimates; Title "&x*agegrp3";

run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*pajog;

ods select Logistic.ParameterEstimates; Title "&x*pajog";

run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*hdl;

ods select Logistic.ParameterEstimates; Title "&x*hdl";

run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*bmicat;

ods select Logistic.ParameterEstimates; Title "&x*bmicat";

run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*alc;

ods select Logistic.ParameterEstimates; Title "&x*alc";

run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*cessation;

ods select Logistic.ParameterEstimates; Title "&x*cessation";

run;

%mend interaction1; run;

%macro interaction2(variable=); data int1;

set 'f:\biostat thesis\final2';

%let x=&variable;

%let covlist= gender race2 agegrp2 agegrp3 pajog hdl bmicat edu1 alcohol cessation; run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*agegrp2;

ods select Logistic.ParameterEstimates; Title "&x*agegrp2";

run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*agegrp3;

ods select Logistic.ParameterEstimates; Title "&x*agegrp3";

run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*pajog;

ods select Logistic.ParameterEstimates; Title "&x*pajog";

run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*hdl;

ods select Logistic.ParameterEstimates; Title "&x*hdl";

run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*bmicat;

ods select Logistic.ParameterEstimates; Title "&x*bmicat";

run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*alc;

ods select Logistic.ParameterEstimates; Title "&x*alc";

run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*cessation;

ods select Logistic.ParameterEstimates; Title "&x*cessation";

%mend interaction2; run;

%macro interaction3(variable=); data int1;

set 'f:\biostat thesis\final2';

%let x=&variable;

%let covlist= gender race2 agegrp2 agegrp3 pajog hdl bmicat edu1 alcohol cessation; run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*pajog;

ods select Logistic.ParameterEstimates; Title "&x*pajog";

run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*hdl;

ods select Logistic.ParameterEstimates; Title "&x*hdl";

run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*bmicat;

ods select Logistic.ParameterEstimates; Title "&x*bmicat";

run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*alcohol;

ods select Logistic.ParameterEstimates; Title "&x*alcohol";

run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*cessation;

ods select Logistic.ParameterEstimates; Title "&x*cessation";

run;

%mend interaction3; run;

%macro interaction4(variable=); data int1;

set 'f:\biostat thesis\final2';

%let x=&variable;

%let covlist= gender race2 agegrp2 agegrp3 pajog hdl bmicat edu1 alcohol cessation; run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*hdl;

ods select Logistic.ParameterEstimates; Title "&x*hdl";

run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*bmicat;

ods select Logistic.ParameterEstimates; Title "&x*bmicat";

run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*alc;

ods select Logistic.ParameterEstimates; Title "&x*alc";

run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*cessation;

ods select Logistic.ParameterEstimates; Title "&x*cessation";

run;

%mend interaction4; run;

%macro interaction5(variable=); data int1;

set 'f:\biostat thesis\final2';

%let x=&variable;

%let covlist= gender race2 agegrp2 agegrp3 pajog hdl bmicat edu1 alcohol cessation; run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*bmicat;

ods select Logistic.ParameterEstimates; Title "&x*bmicat";

run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*alc;

ods select Logistic.ParameterEstimates; Title "&x*alc";

run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*cessation;

ods select Logistic.ParameterEstimates; Title "&x*cessation";

run;

%mend interaction5; run;

%macro interaction6(variable=); data int1;

set 'f:\biostat thesis\final2';

%let x=&variable;

%let covlist= gender race2 agegrp2 agegrp3 pajog hdl bmicat edu1 alcohol cessation; run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*alc;

ods select Logistic.ParameterEstimates; Title "&x*alc";

run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*cessation;

ods select Logistic.ParameterEstimates; Title "&x*cessation";

run;

%mend interaction6; run;

%macro interaction7(variable=); data int1;

set 'f:\biostat thesis\final2';

%let x=&variable;

%let covlist= gender race2 agegrp2 agegrp3 pajog hdl bmicat edu1 alcohol cessation; run;

proc logistic data=int1 descending;

class gender(ref=first) race1(ref=first) race2(ref=first) race3(ref=first) edu1(ref=first) agegrp2(ref=first) agegrp3 (ref=first)

pajog(ref=first) hdl(ref=first) bmicat(ref=first) alcohol(ref=first) cessation(ref=first)/param=ref;

format gender sex. race1 race1val. race2 race2val. race3 race3val.

edu1 edu1val. agegrp2 age2group. agegrp3 age3group. pajog jog. hdl hdl.

bmicat bmicat. alcohol alc. cessation cess.; model diagnose=&covlist &x*cessation;

ods select Logistic.ParameterEstimates; Title "&x*cessation";

run;

%mend interaction7; run;

%interaction1(variable=gender);run;

%interaction2(variable=race2);run;

%interaction3(variable=agegrp2);run;

%interaction3(variable=agegrp3);run;

%interaction4(variable=pajog);run;

%interaction5(variable=hdl);run;

%interaction6(variable=bmicat);run;

%interaction7(variable=alcohol);run;

V) Fitting a Model Containing the Main Effects + Interactions Significant at .05 level (to

Related documents