P6第四题.doc

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
P6第四题.doc

data aa; input x y @@; d=y-x; cards; 123 128 110 135 130 128 142 147 133 150 129 140 100 127 125 130 128 150 117 127 107 110 ; proc print; run; proc univariate normal; var d; run; proc ttest; var d; run; data b; input x g@@; cards; 56 1 50 2 55 1 48 2 54 1 49 2 53 1 49 2 56 1 50 2 52 1 50 2 57 1 60 2 54 1 55 2 52 1 43 2 56 1 52 2 56 2 57 2 ; proc univariate normal; var x; class g; run; proc ttest; var x; class g; run; data c; do a=1 to 2; do b=1 to 2; input x@@; output; end;end; cards; 60 17 26 50 ; proc freq; weight x; tables a*b/agree expected; run; data d; do a=1 to 2; do b=1 to 2; input x@@; output; end;end; cards; 60 17 26 50 ; proc freq; weight x; tables a*b/chisq expected norow nocol nopercent; run; data e; do b= 1 to 4; do a=1 to 3; input x @@; output;end;end; cards; 106 116 145 42 68 115 70 111 133 42 63 87 ; proc univariate normal; var x; class a; run; proc anova; class a ; model x=a ; means a/hovtest run; proc anova; class a b; model x=a b; means a b/lsd; run; data f; do g=1 to 3; input n ; do i=1to n; input x@@; output; end; end; cards; 10 58 61 62 61 63 68 70 70 74 78 9 54 57 57 58 60 60 63 64 66 5 43 52 55 56 60 ; proc univariate normal; var x; class g; run; proc glm; class g; model x=g; means g/hovtest lsd; run; data g; input x y@@; cards; 170 45 173 42 160 44 155 41 173 47 188 50 178 47 183 46 180 49 165 43 ; proc plot; plot y*x=*; proc reg; model y=x/r; output out=a p=yhat r=yresid; run; proc plot data=a; plot yresid*yhat=*; run; proc univariate normal; var yresid; run;

文档评论(0)

zzqky + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档