楼主: chasedreamtrue
2908 4

用SAS如何画这个图 [推广有奖]

  • 0关注
  • 0粉丝

本科生

78%

还不是VIP/贵宾

-

威望
0
论坛币
123 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
781 点
帖子
82
精华
0
在线时间
12 小时
注册时间
2007-7-30
最后登录
2010-10-24

楼主
chasedreamtrue 发表于 2008-3-24 11:22:00 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
给了三种鸟下的蛋的尺寸大小,让用anova table是测是否这三种蛋的长度的均值是否
相等。然后display the data graphically, and interpret the results.
我截取了部分数据,species 分别代表三种不同的鸟,这样的话如果用图来表示出从
anova table得到的结果呢?thanks
Obs LENGTH SPECIES
1     22         1
2     23.9       1
3     20.9       1
4     23.8       1
27   22         2
28   22.1       2
29   21.1       2
30   23         2
31   19.8       3
32   22.1       3
33   21.5       3
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:Interpret graphical Species Display GRAPHIC SAS

回帖推荐

handsome198383 发表于4楼  查看完整内容

data a;input obs Length species$@@;drop obs;cards;1     22         12     23.9       13     20.9       14     23.8       127   22         22 ...

本帖被以下文库推荐

沙发
wolfcrying 发表于 2008-3-24 23:35:00
楼上再说什么?

藤椅
laywin 发表于 2008-4-2 17:22:00
不懂啊

板凳
handsome198383 发表于 2008-4-2 19:33:00

data a;
input obs Length species$@@;
drop obs;
cards;
1     22         1
2     23.9       1
3     20.9       1
4     23.8       1
27   22         2
28   22.1       2
29   21.1       2
30   23         2
31   19.8       3
32   22.1       3
33   21.5       3
;
run;
proc print data=a;
run;
proc anova data=a;
class species;
model Length=species;
means species/tukey;
run;
proc means mean std data=a noprint;
by species;
output out=b mean=mean std=std;
run;

data anno;
length color function $8;
retain xsys ysys '2' hsys '4' when 'a' color 'red' size 1;
set b;
/* Lower tick */
function='move'; xsys='2'; ysys='2'; midpoint=species; y=mean-std; output;
function='draw'; xsys='7'; ysys='2'; x=-2; y=mean-std;  output;
function='draw'; xsys='7'; ysys='2'; x=+4; y=mean-std;  output;

/* Upper tick */
function='move'; xsys='2'; ysys='2'; midpoint=species; y=mean+std; output;
function='draw'; xsys='7'; ysys='2'; x=-2; y=mean+std;  output;
function='draw'; xsys='7'; ysys='2'; x=+4; y=mean+std;  output;

/* Join upper and lower */
function='move'; xsys='2'; ysys='2'; midpoint=species; y=mean-std;  output;
function='draw'; xsys='2'; ysys='2'; midpoint=species; y=mean+std;  output;

run;

pattern1 v=empty c=blue;
axis1 order=(0 to 30 by 2);
title1 ' One Std of Mean';
proc gchart data=a;
vbar species/ anno=anno raxis=axis1 type=mean sumvar=Length;
run;
quit;

已有 1 人评分经验 论坛币 收起 理由
bakoll + 3 + 10 精彩帖子

总评分: 经验 + 3  论坛币 + 10   查看全部评分

报纸
fabuover 发表于 2008-4-3 21:32:00
sas    高手

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-5 16:33