医学统计学sas例题程序

医学统计学sas例题程序

ID:1247256

大小:202.00 KB

页数:19页

时间:2017-11-09

医学统计学sas例题程序_第1页
医学统计学sas例题程序_第2页
医学统计学sas例题程序_第3页
医学统计学sas例题程序_第4页
医学统计学sas例题程序_第5页
资源描述:

《医学统计学sas例题程序》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、医学统计部分例题运行程序1.例3-5dataex3_5;n=36;s_m=130.83;std=25.74;p_m=140;df=n-1;t=abs(s_m-p_m)/(std/sqrt(n));p=(1-probt(t,df))*2;procprint;vartp;Run;2.例3-6/*用MEANS作配对资料两个样本均数比较的t检验*/dataex3_6;inputx1x2@@;d=x1-x2;cards;0.8400.5800.5910.5090.6740.5000.6320.3160.6870.3370.9780.5170.75

2、00.4540.7300.5121.2000.9970.8700.506;procmeanstprt;vard;run;/*用UNIVARIATE过程作配对资料两样本均数比较的t检验*/procunivariatedata=ex3_6;vard;run;3.例3-7dataex3_7;inputx@@;if_n_<21thenc=1;elsec=2;cards;-0.70-5.602.002.800.703.504.005.807.10-0.502.50-1.601.703.000.404.504.602.506.00-1.403.70

3、6.505.005.200.800.200.603.406.60-1.106.003.802.001.602.002.201.203.101.70-2.00;procttest;varx;classc;run;4.例4-2dataex4_2;inputxc@@;cards;3.5312.4222.8630.8944.5913.3622.2831.0644.3414.3222.3931.0842.6612.3422.2831.2743.5912.6822.4831.6343.1312.9522.2831.8943.3012.3623.48

4、31.3144.0412.5622.4232.5143.5312.5222.4131.8843.5612.2722.6631.4143.8512.9823.2933.1944.0713.7222.7031.9241.3712.6522.6630.9443.9312.2223.6832.1142.3312.9022.6532.8142.9811.9822.6631.9844.0012.6322.3231.7443.5512.8622.6132.1642.6412.9323.6433.3742.5612.1722.5832.9743.501

5、2.7223.6531.6943.2511.5623.2131.1942.9613.1122.2332.1744.3011.8122.3232.2843.5211.7722.6831.7243.9312.8023.0432.4744.1913.5722.8131.0242.9612.9723.0232.5244.1614.0221.9732.1042.5912.3121.6833.714;procanova;classc;modelx=c;meansc/dunnett;meansc/hovtest;run;5.例4-4dataex4_4

6、;inputxab@@;cards;0.82110.65210.51310.73120.54220.23320.43130.34230.28330.41140.21240.31340.68150.43250.2435;procanova;classab;modelx=ab;meansa/snk;run;5.例4-6dataex4_6;inputrtimetreat$x@@;cards;11A76021B86031A56841A78051B96061B94071A63581B44091A528101B80012B77022A85532B6

7、0242B80052A95862A95272B65082A45092B530102A803;procanova;classrtimetreat;modelx=rtimetreat;run;6.例7-1dataex7_1;inputrcf@@;cards;119912521752221;procfreq;weightf;tablesr*c/chisqexpected;run;8.例7-2dataex7_2;inputrcf@@;cards;11461262118228;procfreq;weightf;tablesr*c/chisqexp

8、ected;run;9.例7-310.例7-4dataex7_4;inputrcf@@;cards;1141218215226;procfreq;weightf;tablesr*c/chisqexpecte

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。