




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、定性资料的统计描述与推断22表多层22表2R表多层2R表RC表非参数方法的CMH解法122表ChisqExactOR and RRMcNemar222表data bronchit;input treat$ outcome$ count;cards;jiang y 70jiang n 263dan y 102dan n 180;proc freq order=data;weight count;tables treat*outcome/chisq;run;3D3p1.prgD3p2a.prgD3p2b.prg4多层22表见CMH程序52R表见程序2R rowmeanscores 2Rrank 2
2、R scores6Row mean scoresdata cough;input treat$ response$ count;cards;test none 5 test improve 24 test notable 45 test cure 15 control none 4 control improve 23 control notable 39 control cure 18;proc freq order=data;weight count;tables treat*response/chisq CMH;RUN;7RANKdata cough;input treat$ respo
3、nse count;cards;test 1 5 test 2 24 test 3 45 test 4 15 control 1 4 control 2 23 control 3 39 control 4 18;proc freq ;tables treat*response/cmh scores=rank;weight count;RUN;proc npar1way;class treat;var response;freq count;run;8多层2R表Data cough2r;input center$;do i=1 to 2;input treat$;do j=1 to 4 ;inp
4、ut response$ count;output;end;end;cards;one testnone 7 improve 11notable 8 cure 4control none 2 improve 13notable 13 cure 2twotestnone 2 improve 7notable 22 cure 9controlnone 0 improve 6notable 20 cure 14threetestnone 5 improve 9notable 13 cure 3controlnone 6 improve 9notable 15 cure 0;run;proc freq
5、 order=data;weight count;tables center*treat*response/cmh;run;9行列表行和列变量都是名义变量行为名义变量列为顺序变量行和列都是顺序变量10列联表的分类及其使用的统计分析方法变量的统计性质及其专业属性列联表分类统计分析方法XY皆为名义变量且属性不同双向无序检验,Fisher精确概率法XY之一为名义变量且属性不同单向有序秩和检验,CPD,Ridit分析XY为有序变量且属性不同双向有序相关分析,线性趋势检验XY为有序变量且属性相同双向有序一致性检验、特殊模型分析11行和列变量都是名义变量data cat5_1;input type$ di
6、sease$ count;cards;o ulcer 98 o cancer 38 o control 289a ulcer 67 a cancer 41 a control 262b ulcer 13 b cancer 8 b control 57 ab ulcer 18 ab cancer 12 ab control 30;proc freq order=data;weight count;tables type*disease/chisq nopercent norow nocol;run;12行为名义变量列为顺序变量data cat5_2; input type$; do i=1 to
7、 4;input effect$ count; output; end;cards;Simple asthmanone 13 some 30 marked 18 control 65 none 18 some 36 marked 16 ontrol 77Simpemph asthemphnone 11 some 23 marked 6 control 42 none 36 some 47 marked 11 control 94;proc freq order=data;weight count;tables type*effect/chisq cmh nopercent nocol noro
8、w; run;13行列均为顺序变量Data cat5_3;Input silicos density count;Cards;1 1 43 1 2 188 1 3 142 1 1 2 2 96 2 n3 723 1 6 3 2 17 3 3 55;Run;Proc corr spearman;Freq count;Var silicos density;Run;Proc freq;Weight count;Tables silicos*density/cmh nopercent norow nocol;Run;14行列为顺序变量且属性相同见程序agree15单向有序列联表与秩和检验16两样本秩和检验CMH见mouse程序17完全随机化设计资料的检验(H检验)见程序c
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 《跨境电商实务》实训指导书:项目5、6 速卖通满减优惠活动设置、PayPal注册流程
- 2025届辽宁省沈阳二中化学高一下期末学业水平测试模拟试题含解析
- 安全影像资料记录
- 云南省昭通市市直中学2024-2025学年高二下学期第二次月考(6月)地理试卷(含答案)
- 内蒙古自治区呼伦贝尔市扎兰屯市四校联考2024-2025学年七年级下学期期中考试生物试卷(含答案)
- 河北秦皇岛市昌黎第一中学2025届高三下学期第六次飞跃考试政治试卷(含答案)
- 小学生音乐特色活动方案
- 小年活动餐饮策划方案
- 工程开工仪式活动方案
- 小学生玩具募集活动方案
- 卷材防水层分项工程质量检验评定表
- 医药产品经理成长手册
- 租赁机械设备施工方案
- 2023年GCP培训班考试试题及答案
- 旅游管理专业申报汇报
- 军队院校招收普通高中毕业生面试表
- 第九讲 全面依法治国PPT习概论2023优化版教学课件
- 电力有限公司检修公司B级检修基地建设项目可行性研究报告
- 神木市小保当二号煤矿矿山地质环境保护与土地复垦方案
- 池州市中银矿业发展有限公司池州市贵池区梅街松山铁铜多金属矿矿山地质环境保护与土地复垦方案
- 物业前期承接查验报告模板
评论
0/150
提交评论