搜索
人大经济论坛 附件下载

附件下载

所在主题:
文件名:  plants.txt
资料下载链接地址: https://bbs.pinggu.org/a-1131970.html
附件大小:

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.



    熟悉论坛请点击新手指南
下载说明
1、论坛支持迅雷和网际快车等p2p多线程软件下载,请在上面选择下载通道单击右健下载即可。
2、论坛会定期自动批量更新下载地址,所以请不要浪费时间盗链论坛资源,盗链地址会很快失效。
3、本站为非盈利性质的学术交流网站,鼓励和保护原创作品,拒绝未经版权人许可的上传行为。本站如接到版权人发出的合格侵权通知,将积极的采取必要措施;同时,本站也将在技术手段和能力范围内,履行版权保护的注意义务。
(如有侵权,欢迎举报)
二维码

扫码加我 拉你入群

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

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

GMT+8, 2025-12-25 18:37