Search JIM Advanced Search

Journal of Chinese Integrative Medicine ›› 2009, Vol. 7 ›› Issue (8): 784-787.doi: 10.3736/jcim20090815

• Medical Statistice • Previous Articles     Next Articles

Statistical analysis using SAS software package for data of R×C contingency table (Part one)

 Liang-ping Hu, Li-xin Tao   

  1. Consulting Center of Biomedical Statistics,Academy of Military Medical Sciences,Beijing 100850,China
  • Received:2009-07-03 Accepted:2009-07-25 Online:2009-08-20 Published:2009-08-15
  • Contact: Liang-ping Hu E-mail:lphu812@sina.com

Key words: Statistics, Medicine, Data analysis, Statistical, Qualitative data, SAS software

"

分组 n 等位基因
ε2 ε3 ε4
痰证 20 2 25 13
瘀证 79 12 123 23
痰瘀互阻证 82 15 118 31
非痰非瘀证 19 2 25 11

"

data PGM1; 15 118 31
do A=1 to 4; 2 25 11
do B=1 to 3; ;
input F @@; ods HTML;
output; PROC FREQ;
end; end; weight F;
cards; tables A*B/CHISQ;
2 25 13 run;
12 123 23 ods HTML close;

"

统计量 自由度 概率
卡方 6 9.736 4 0.136 2
似然比卡方 6 9.213 9 0.161 9
Mantel-Haenszel卡方 1 0.003 8 0.951 1
Phi系数 0.156 0
列联系数 0.154 2
Cramer V统计量 0.110 3

"

组别 n 皮肤
溃疡
腕管综
合征
筋膜间室
综合征
关节
僵硬
正中神
经损伤
握力
下降
A 95 0 2 0 3 0 0
B 90 5 4 0 3 3 1
C 90 4 2 1 2 2 4

"

data PGM2; 4 2 1 2 2 4
do A=1 to 3; ;
do B=1 to 6; ods HTML;
input F @@; PROC FREQ;
output; weight F;
end; end; tables A*B/exact;
cards; run;
0 2 0 3 0 0 ods HTML close;
5 4 0 3 3 1

"

统计量 自由度 概率
卡方 10 12.147 9 0.275 3
似然比卡方 10 13.904 5 0.177 4
Mantel-Haenszel卡方 1 0.449 2 0.502 7
Phi系数 0.580 9
列联系数 0.502 3
Cramer V统计量 0.410 8

"

Fisher精确检验
表概率(P 1.308×10–5
双侧Pr<=P 0.366 3

"

证型 n 皮下组织回声强度
+ ++ +++ ++++
寒湿阻络型 30 3 2 15 10 0
湿热下注型 41 5 24 6 4 2
痰凝血瘀型 36 0 1 7 12 16

"

data PGM3; data two; set PGM3;
do A=1 to 3; do I=1 TO F;
do B=1 to 5; output two;
input F @@; output; end; run;
end; end; cards; ods HTML;
3215100 PROC NPAR1WAY Wilcoxon
524642 data=two;
0171216 class A; VAR B; run;
; ods HTML close;

"

A n 秩和得分 H0假设下
的期望值
H0假设下
的标准差
平均秩和
1 30 1 565.00 1 620.0 140.282 557 52.166 667
2 41 1 350.50 2 214.0 151.831 394 32.939 024
3 36 2 862.50 1 944.0 147.563 215 79.513 889

"

Kruskal-Wallis检验
卡方 45.770 0
自由度 2
Pr>χ2 <0.000 1

"

组别 n
肝脏脂肪变性程度
1 2 3 4
模型组 10 0 1 6 3
辛伐他汀组 12 1 4 6 1
葛根素组 12 2 8 2 0

"

data PGM4; ;
do A=1 to 3; ods HTML;
do B=1 to 4; PROC FREQ;
input F @@; output; weight F;
end; end; cards; tables A*B/CMH
0 1 6 3 scores=rank;
1 4 6 1 run;
2 8 2 0 ods HTML close;

"

统计量 对立假设 自由度 概率
1 非零相关 1 12.276 0 0.000 5
2 行均值得分差值 2 12.280 6 0.002 2
3 一般关联 6 13.215 6 0.039 7
[1] Hu LP. Design of scientific researches and statistical analysis in dentistry[M]. Beijing: People's Military Medical Press, 2007: 163-168
胡良平 . 口腔医学科研设计与统计分析[M]. 北京: 人民军医出版社, 2007: 163-168
[2] Ouyang T, Song JN, Miao Y, Lin Q, Niu XH, Jin H , Chen B.on relationship between polymorphism of apolipoprotein E gene and syndromes of phlegm and blood stasis in patients with coronary heart disease[J]. J Chin Integr Med, 2005,3(6):438-442
欧阳涛, 宋剑南, 苗阳, 林谦, 牛晓红, 金红, 陈冰 . 冠心病痰瘀证与载脂蛋白E基因多态性关系的研究[J]. 中西医结合学报, 2005,3(6):438-442
[3] Liu CG, Peng ZR, Song Y, Luo GM . Effect of various external fixation for the treatment of Colles fracture[J]. Zhongguo Gu Shang, 2008,21(6):425-426
doi: doi:10.3969/j.issn.1003-0034.yyyy.nn.zzz
刘存根, 彭再如, 宋宇, 罗共明 . Colles骨折不同外固定方法疗效分析[J]. 中国骨伤, 2008,21(6):425-426
doi: doi:10.3969/j.issn.1003-0034.yyyy.nn.zzz
[4] Liu M, Zhang Y, Song FC, Cheng ZX . Relationship between ultrasound imaging and traditional Chinese medicine syndrome in limb lymphedema[J]. J Chin Integr Med, 2009,7(5):418-421
doi: 10.3736/jcim20090504
刘明, 张玥, 宋福晨, 程志新 . 肢体淋巴水肿中医证型与超声显像的关系[J]. 中西医结合学报, 2009,7(5):418-421
doi: 10.3736/jcim20090504
[5] Zheng PY, Ma ZS, Hua YQ, Liu T, Xing LJ, Ji G . Effects of puerarin on expressions of leptin receptor mRNA, phosphorylated Janus kinase 2/phosphorylated signal transducers and activators of transcription 3 proteins in the liver of rats with non-alcoholic fatty liver[J]. J Chin Integr Med, 2008,6(9):921-927
郑培永, 马赞颂, 花永强, 柳涛, 邢练军, 季光 . 葛根素对非酒精性脂肪性肝病大鼠肝脏瘦素受体mRNA和磷酸化Janus激酶2/磷酸化信号转导与转录激活因子3的影响[J]. 中西医结合学报, 2008,6(9):921-927
[1] Tara Rajendran. Addressing the need for personalizing music therapy in integrative oncology. Journal of Integrative Medicine, 2022, 20(4): 281-283.
[2] Wan-jun Guo, Yi Wang, Yu Deng, Lin-yan Cheng, Xin Liu, Ruo-fan Xi, Sheng-jie Zhu, Xin-yi Feng, Liang Hua, Kan Ze, Jian-yong Zhu, Dong-jie Guo, Fu-lun Li. Therapeutic effects of the extract of Sancao Formula, a Chinese herbal compound, on imiquimod-induced psoriasis via cysteine-rich protein 61. Journal of Integrative Medicine, 2022, 20(4): 376-384.
[3] Cai-lian Fana, Wan-jun Caib, Meng-nan Ye, Miao Chen, Yi Dai. Qili Qiangxin, a compound herbal medicine formula, alleviates hypoxia-reoxygenation-induced apoptotic and autophagic cell death via suppression of ROS/AMPK/mTOR pathway in vitro. Journal of Integrative Medicine, 2022, 20(4): 365-375.
[4] Shang-jin Song, Xuan Liu, Qing Ji, Da-zhi Sun, Li-juan Xiu, Jing-yu Xu, Xiao-qiang Yue. Ziyin Huatan Recipe, a Chinese herbal compound, inhibits migration and invasion of gastric cancer by upregulating RUNX3 expression. Journal of Integrative Medicine, 2022, 20(4): 355-364.
[5] Vibha Malhotra, Joanna Harnett, Erica McIntyre, Amie Steel, Keith Wong, Bandana Saini. To “tell or not to tell”—Exploring disclosure about medicine use by people living with sleep disorders. Journal of Integrative Medicine, 2022, 20(4): 338-347.
[6] Maryam Azimi, Hanieh Niayesh, Mahboobeh Raeiszadeh, Sedigheh Khodabandeh-shahraki. Efficacy of the herbal formula of Foeniculum vulgare and Rosa damascena on elderly patients with functional constipation: A double-blind randomized controlled tria. Journal of Integrative Medicine, 2022, 20(3): 230-236.
[7] Marisa Casal. Improving the health and treatment success rates of in vitro fertilization patients with traditional chinese medicine: need for more robust evidence and innovative approaches. Journal of Integrative Medicine, 2022, 20(3): 187-192.
[8] Ning Guo, Fei Wu, Mei Wu, Yuan Wang, Qing Lang, Xiao Lin, Yi Feng. Progress in the design and quality control of placeboes for clinical trials of traditional Chinese medicine . Journal of Integrative Medicine, 2022, 20(3): 204-212.
[9] Tareq A. Wani, Zahoor A. Kaloo, Nisar A. Dangroo. Aconitum heterophyllum Wall. ex Royle: A critically endangered medicinal herb with rich potential for use in medicine. Journal of Integrative Medicine, 2022, 20(2): 104-113.
[10] Mohammad Fazil, Sadia Nikhat. Why the “sugars” in traditional Unani formulations are a pivotal component: A viewpoint perspective. Journal of Integrative Medicine, 2022, 20(2): 91-95.
[11] Yan-jun Lin, Kun-li Jiao, Bo Liu, Lu Fang, Shu Meng. Antiplatelet and myocardial protective effect of shexiang tongxin dropping pill in patients undergoing percutaneous coronary intervention: A randomized controlled trial. Journal of Integrative Medicine, 2022, 20(2): 126-134.
[12] Deng-chao Wang, Miao Yu, Wen-xian Xie, Li-yan Huang, Jian Wei, Yue-hua Lei. Meta-analysis on the effect of combining Lianhua Qingwen with Western medicine to treat coronavirus disease 2019. Journal of Integrative Medicine, 2022, 20(1): 26-33.
[13] Mahlagha Dehghan, Alireza Ghanbari, Fatemeh Ghaedi Heidari, Parvin Mangalian, Mohammad Ali Zakerid. Use of complementary and alternative medicine in general population during COVID-19 outbreak: A survey in Iran. Journal of Integrative Medicine, 2022, 20(1): 45-51.
[14] Jose Antonio Castilla-Jimena, Isabel Ruiz-Pérez, Jesús Henares-Montiel. Impact of socioeconomic and health-related factors on consumption of homeopathic and natural remedies in Spain in 2006, 2011 and 2017. Journal of Integrative Medicine, 2022, 20(1): 52-56.
[15] Ofer Baranovitch, Meirav Wolff-Bar, Meora Feinmesser, Chen Sade-Zaltz, Ilan Tsarfaty, Victoria Neiman. Searching for the emotional roots of breast cancer: A cross-disciplinary analysis integrating psychology, Chinese medicine, and oncology biomarkers. Journal of Integrative Medicine, 2022, 20(1): 57-64.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
[1] Jin-zhou Tian, Jing Shi, Xin-qing Zhang, Qi Bi, Xin Ma, Zhi-liang Wang, Xiao-bin Li, Shu-li Shen, Lin Li, Zhen-yun Wu, Li-yan Fang, Xiao-dong Zhao, Ying-chun Miao, Peng-wen Wang, Ying Ren, Jun-xiang Yin, Yong-yan Wang, Beijing United Study Group on MCI of the Capital Foundation of Medical Developments. An explanation on "guiding principles of clinical research on mild cognitive impairment (protocol)". Journal of Chinese Integrative Medicine, 2008, 6(1): 15-21
[2] Yi-ting He, Qing-lin Zha, Jian-ping Yu, Yong Tan, Cheng Lu, Ai-ping Lv. Principal factor analysis of symptoms of rheumatoid arthritis and their correlations with efficacy of traditional Chinese medicine and Western medicine. Journal of Chinese Integrative Medicine, 2008, 6(1): 32-36
[3] Jun Cai, Hua Wang, Sheng Zhou, Bin Wu, Hua-rong Song, Zheng-rong Xuan. Effect of Sijunzi Decoction and enteral nutrition on T-cell subsets and nutritional status in patients with gastric cancer after operation: A randomized controlled trial. Journal of Chinese Integrative Medicine, 2008, 6(1): 37-40
[4] Wei Zhang, Xiang-feng Lu, Xiao-mei Zhang, Jian-jun Wu, Liang-duo Jiang. A rat model of pulmonary fibrosis induced by infusing bleomycin quickly through tracheal intubation. Journal of Chinese Integrative Medicine, 2008, 6(1): 60-67
[5] A-gao Zhou, Yong Zhang, Gang Kui, De-Yun Kong, Hai-liang Ge, Qiu-hua Ren, Jia-rong Dong, Sheng Hong, Xu-ming Mao, Yin Wang, Hui-zheng Zhang, Shu-jun Wang. Influence of traditional Chinese compound recipes with different efficacy on body weight, tumor weight and immune function in H22 cancer-bearing mice. Journal of Chinese Integrative Medicine, 2008, 6(1): 77-82
[6] Guo-hong Yuan, Xiao-jing Pang, He-chao Ma. Synergic effects of Danggui Buxue Decoction in reducing toxicity of cytoxan in tumor-bearing mice. Journal of Chinese Integrative Medicine, 2008, 6(1): 83-88
[7] Li Zhou, Hong-xing Zhang, Ling-guang Liu, Wen-jun Wan. Effect of electro-acupuncture at Fenglong (GV 16) on nitric oxide and endothelin in rats with hyperlipidemia. Journal of Chinese Integrative Medicine, 2008, 6(1): 89-92
[8] Jin-zhou Tian, Jing Shi, Xin-qing Zhang, Qi Bi, Xin Ma, Zhi-liang Wang, Xiao-bin Li, Shu-li Shen, Lin Li, Zhen-yun Wu, Li-yan Fang, Xiao-dong Zhao, Ying-chun Miao, Peng-wen Wang, Ying Ren, Jun-xiang Yin, Yong-yan Wang, Beijing United Study Group on MCI of the Capital Foundation of Medical Developments. Guiding principles of clinical research on mild cognitive impairment (protocol). Journal of Chinese Integrative Medicine, 2008, 6(1): 9-14
[9] Xin-jun Wang, Ling-ling Wang . A mechanism of endogenous opioid peptides for rapid onset of acupuncture effect in treatment of depression. Journal of Chinese Integrative Medicine, 2010, 8(11): 1014-1017
[10] Bo Wang , Wei Yan , Li-hui Hou, Xiao-ke Wu. Disorder of Tiangui (kidney essence) and reproductive dysfunction in patients with polycystic ovary syndrome. Journal of Chinese Integrative Medicine, 2010, 8(11): 1018-1022