为了账号安全,请及时绑定邮箱和手机立即绑定

SAS Iris dataset Plot

标签:
大数据

SAS Day 34:

Background Story:

Once, in my machine learning class, the professor asked what software do we use for data science? One student answered: “SAS”.
Then the professor laughed and said: “Oh dear, you must be in the wrong class, nobody uses SAS in data science industry”.

SAS stands for Statistical Analytic Software, it is most widely used in health-related fields. Although it is known Python and R are the most popular Data Science Languages, I think SAS has its strength as well, (better than excel!!).

At least it came with the Iris Dataset!

[caption id=“attachment_2240” align=“alignnone” width=“550”]image

Fotomanie / Pixabay[/caption]

Today we will use Iris Dataset for Scatter Plots:

Scatter Plot Matrix

image

ods graphics on / height=500px width=500px;
proc sgscatter data=sashelp.iris(where=(species ="Virginica" ));
title "Fisher Iris Data";
matrix petallength 
petalwidth SepalLength/ ellipse=(type=predicted)
diagonal=(histogram normal kernel);
run;
   ods graphics on/reset= all;

Panel of scatter plots

image

ods graphics on / height=500px width=500px;
proc sgscatter data=sashelp.iris;
title "Fisher Iris Data";
plot petallength*petalwidth
     sepallength*sepalwidth
   petallength*sepallength
   petalwidth*sepalwidth
   /group=species;
   run;
   ods graphics on/reset= all;

As we can observe from the previous graphs, Sestosa has more differences compared with Versicolor and Virginica, which is consistent with our Iris Dataset Cluster Analysis with Python.

Personal Thought:

I used to feel a bit ashamed that i use SAS more often than Python or R, because those programs sound a lot cooler. Now, I think SAS deserve my appreciation as well, like the lyrics “Wild Lily also has Spring(野百合也有春天)”! SAS is a wonderful software with Iris Dataset!

点击查看更多内容
TA 点赞

若觉得本文不错,就分享一下吧!

评论

作者其他优质文章

正在加载中
  • 推荐
  • 评论
  • 收藏
  • 共同学习,写下你的评论
感谢您的支持,我会继续努力的~
扫码打赏,你说多少就多少
赞赏金额会直接到老师账户
支付方式
打开微信扫一扫,即可进行扫码打赏哦
今天注册有机会得

100积分直接送

付费专栏免费学

大额优惠券免费领

立即参与 放弃机会
意见反馈 帮助中心 APP下载
官方微信

举报

0/150
提交
取消