楼主: jackyzt1230
1069 1

求组啊 [推广有奖]

  • 2关注
  • 1粉丝

硕士生

4%

还不是VIP/贵宾

-

威望
0
论坛币
586 个
通用积分
1.1898
学术水平
2 点
热心指数
2 点
信用等级
2 点
经验
2633 点
帖子
74
精华
0
在线时间
126 小时
注册时间
2012-3-6
最后登录
2021-1-4

楼主
jackyzt1230 发表于 2012-6-19 10:40:33 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币

plants.txt (1.33 KB)

Data set ‘plants.txt’ contains information for 5 species of plants.  The variables are (in order):  first name of the species, last name of the species, x value for that species, and y value for that species.  Write a SAS macro that has at least three parameters:  one positional parameter and two keyword parameters.  The positional parameter should hold the name of a species, and the keyword parameters should hold the symbol value and color in the symbol statement for the PROC GPLOT.  The macro should do the following:

  • Create a new variable species, which is the first letter of the first name of the species and the first letter of the last name;
  • Use PROC FREQ to obtain the frequency count for the species;
  • Create a SAS data set containing only the observations for a particular species (determined by the value of the positional parameter)
  • Use PROC GPLOT to plot y versus x for that particular species;
  • Use a particular symbol value and color (determined by the keyword parameters) for the plot character;
  • Include the name of the species in the title for the plot.

Write one main program which reads in the data file and calls the macro for species cb, symbol value = asterisk, and color = red.  Only print out the GPLOT and the frequency count.

二维码

扫码加我 拉你入群

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

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

关键词:observations observation information parameters particular one keyword should color least

沙发
philemon 在职认证  发表于 2012-6-19 10:42:39
合作

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

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