August 2009
Intermediate to advanced
648 pages
17h 35m
English
The following code updates the default template for the exact tests output in the PROC LOGISTIC procedure to produce six decimal places.
ods output ExactTests=try1 ExactParmEst=try2; proc logistic data=animal descending; class animal /param=ref; model response = animal ordtreat; exact 'parm' ordtreat / estimate=both; run; proc template; define table ExactTests2; parent=Stat.Logistic.Exacttests; column Label Effect Test Statistic ExactPValue MidPValue; define ExactPValue; parent =Stat.Logistic.ExactPValue; format=D8.6; end; end; data _null_; title2 'Listing of ExactTests Using a Customized Template'; set try1; file print ods=(template='ExactTests2'); put _ods_; run;
Read now
Unlock full access