Hou Xu-Hong, Shen Fu-Jie, Wang Jian-Hua, Jiang Qing-Wu
Sixth People's Hospital of Shanghai Jiao Tong University, Shanghai 200233, China.
Zhonghua Liu Xing Bing Xue Za Zhi. 2005 Dec;26(12):995-8.
In order to analyze multiple statistic tables more efficiently Excel Visual Basic for Application (VBA) was introduced through the use of an example of calculating standardized mortality rates (SMRs).
Mortality data of cancer and cardiovascular diseases, by sex and age, have been collected from 1991 to 2003 by the Center for Disease Control and Prevention of Shanghai Huangpu District. Standard population composition was defined as Chinese census statistics in 2000. The male's SMRs were calculated, using Excel VBA for each year and classification of cancers.
The male's SMRs were obtained by year and different cancers. At the same time, the results were listed in the cancer's SMRs table for male.
Excel is more flexible than general database on the combination of data and annotation. Excel VBA is better than the basic Excel in operating multiple tables simultaneously and man-machine conversation. Statistic analysis can be efficiently completed by using Excel VBA.
通过一个计算标准化死亡率(SMR)的例子,介绍如何使用Excel应用程序可视化Basic(VBA)更高效地分析多个统计表格。
上海市黄浦区疾病预防控制中心收集了1991年至2003年按性别和年龄划分的癌症和心血管疾病死亡率数据。标准人口构成定义为2000年中国人口普查统计数据。使用Excel VBA计算每年男性的SMR以及各类癌症的SMR。
得出了各年份和不同癌症的男性SMR。同时,结果列于男性癌症SMR表格中。
在数据与注释的结合方面,Excel比一般数据库更灵活。Excel VBA在同时操作多个表格和人机对话方面比基本的Excel更好。使用Excel VBA可以高效地完成统计分析。