We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(6)
罗伯特·A·慕尼黑读懂了你的心思。 他出版了一份免费手稿,后来成为 Springer 的一本名为《R》的书,供 SAS 和 SPSS 用户使用。 它确实是为了解 SAS 或 SPSS 但想学习 R 的人编写的。幸运的是,他提供了如何使用这三种语言进行操作的示例。 如果您了解 R 并且想重新使用 SAS,它也会很有效。 它最初是一份免费的手稿,然后斯普林格帮助他将其充实成一本完整的书。 以下是一些链接:
此外,这里还有关于在 R 和 SAS 之间来回传递数据的主题。
当您与业内人士交谈时,请记住,对于许多最终用户来说,“SAS”可能意味着 SAS 工具之一的 GUI 界面。 我在研究生院学习了 SAS 编程,并用它编写了多年的程序。 对我来说 SAS 是一种语言。 我记得和一位朋友的妻子有一次非常尴尬的鸡尾酒谈话,她告诉我她正在学习 SAS。 我很兴奋并开始谈论 PROC 语句和 DATA STEP 编程。 她试图保持礼貌,但很快我就看出她不知道我在说什么。 她是一名预测分析师,正在使用 SAS 预测工具,该工具顶部有一个 GUI,她正在学习使用该工具。 我很快意识到,当人们谈论使用 SAS 时,它与“使用 Microsoft”一样具体。 因此,值得重温一下 SAS BI 工具、数据挖掘工具等套件。我认为它们背后都有 SAS 语言,但不要以为有人只是因为说“SAS”就在谈论 SAS 编程。
Robert A Muenchen read your mind. He's published a free manuscript that later became a Springer book called R for SAS and SPSS users. It's really written for folks who know SAS or SPSS but would like to learn R. Luckily he gives examples of how to do things in all three languages. It will also work well if you know R and want to back into SAS. It started as a free manuscript and then Springer helped him flesh it out into a full book. Here's some links:
In addition, here's a paper on the topic of passing data back and forth between R and SAS.
When you talk to people in industry keep in mind that to many end users 'SAS' may mean a GUI interface into one of the SAS tools. I learned SAS programming in graduate school and wrote programs in it for years. To me SAS was a language. I remember having a really awkward cocktail talk with the wife of a friend who told me she was learning SAS. I was excited and started talking about PROC statements and DATA STEP programming. She tried to be polite but pretty soon I could tell she had no idea what I was going on about. She was a forecast analyst and was using a SAS forecast tool that had a GUI on top which she was learning to use. I soon realized that when people talk about using SAS it is about as specific as 'using Microsoft.' So it is worth brushing up on the suite of SAS BI tools, Data Mining tools, etc. I think they all have SAS language underneath them, but don't assume someone is talking about SAS programming just 'cause they say 'SAS.'
The Little SAS Book 是我看过的唯一一本 SAS 书。 我喜欢它作为介绍,但您可能仍然发现它有用。 链接中有 Google 图书的预览。
The Little SAS Book is the only SAS book I have seen. I liked it as an introduction but you may still find it useful. There's a preview on Google Books at the link.
大多数 SAS 手册都是在线的。 这是所有内容的列表:
http://support.sas.com/documentation/
这可能是一个很好的起点:
http://support.sas.com/ Documentation/cdl/en/basess/58133/PDF/default/basess.pdf
这取决于你对 R 大师的了解程度,但如果你倾向于用向量来思考,那么你会感觉更家里有 sas/iml 或 stat studio 3(将重命名为 iml studio),它具有基于矩阵的脚本语言。 不过,没有传递函数,也没有闭包。 sas研究所宣布他们将在iml studio中提供R接口。 看:
http://support.sas.com/rnd/app/studio/Rinterface2。 html
most sas manuals are on line. here is the list of everything:
http://support.sas.com/documentation/
this may be a good place to start:
http://support.sas.com/documentation/cdl/en/basess/58133/PDF/default/basess.pdf
it depends on how much of an R guru you are, but if you tend to think in terms of vectors, then you will feel more at home with sas/iml or stat studio 3 (which will be renamed to iml studio), which has a matrix based scripting language. No passing functions, nor closures, though. sas institute has announced that they will provide interfaces to R in the iml studio. see:
http://support.sas.com/rnd/app/studio/Rinterface2.html
《SAS for Dummies》的问题在于它是为人们从 SAS 中获取数据而编写的;它是为人们编写的。 这是一本限量书。
我强烈强烈建议您购买《SAS 小书》。 好可爱。 当我还是一名学习 SAS 的研究生时,我很乐意支付两倍的价格。
The problem with 'SAS for Dummies' is that it's written for people getting data out of SAS; it's a limited book.
I strongly, strongly urge you to get 'The Little SAS Book'. It's sweet. When I was a graduate student learning SAS, I'd have gladly paid twice the cover price for it.
两个答案。
如果您主要对使用 SAS 程序进行统计感兴趣,我建议
Horton 和 Kleinman 所著的 SAS 和 R 书。 他们有一个博客,您可以浏览并查看他们的方法:http://sas-and-r.blogspot .com/
这是一本示例驱动的书,没有提供太多背景知识,但对于那些知道自己想要做什么并且只需要查找语法的人来说是一个方便的参考。
如果您是一位认真的程序员,开发自己的算法,并且更喜欢使用与 MATLAB 和 R 有很多相似之处的矩阵向量语言进行编程,那么请考虑 SAS/IML 矩阵语言。 您可以浏览使用 SAS/IML 软件进行统计编程一书的“入门”章节:
http://support.sas.com/publishing/authors/wicklin.html (全面披露:我是作者。)
作为额外的好处,您可以从 SAS/IML 程序调用 R,因此对于想要在 SAS 中进行分析并将结果与在 R 中进行的类似分析进行比较的人来说很方便。
Two answers.
If you are primarily interested in using SAS procedures to do statistics, I recommend
the SAS and R book by Horton and Kleinman. They have a blog that you can browse and see their approach: http://sas-and-r.blogspot.com/
It is an example driven book that does not give a lot of background, but is a handy reference for people who know what they want to do and just need to look up the syntax.
If you are a serious programmer who develops your own algorithms and you prefer to program in a matrix-vector language that has a lot of similarities to MATLAB and R, then look into the SAS/IML matrix language. You can browse the "Getting Started" chapter of the book Statistical Programming with SAS/IML Software at
http://support.sas.com/publishing/authors/wicklin.html (Full disclosure: I am the author.)
As an added bonus, you can call R from SAS/IML programs, so it is convenient for someone who wants to do an analysis in SAS and compare the results to a similar analysis done in R.
SAS for Dummies 应该相当不错。 我还没读过,但这里的工作人员似乎喜欢它。
SAS for Dummies is supposed to be pretty good. I haven't read it, but people here at work seem to like it.