data temp2; input t count 8.; cards; 2004 33439457 2005 33516847 2006 34203531 2007 34703545 2008 35171713 2009 35372460 2010 35893687 ;;;; run; proc genmod data = temp2; model count = t / dist=poisson link=log; ods output parameterestimates = temp3(where=(parameter='t')); run; data eapc (keep = eapc lower95 upper95 pvalue); set temp3; eapc = (exp(estimate)-1)*100; lower95 = (exp(lowerwaldcl)-1)*100; upper95 = (exp(upperwaldcl)-1)*100; pvalue = probchisq; run; proc print data = eapc; var eapc lower95 upper95 pvalue; run;
... View more