R is free software for data analysis and graphics that is similar to SAS and SPSS. Two million people are part of the R Open Source Community. Its use is growing very rapidly and Revolution Analytics distributes a commercial version of R that adds capabilities that are not available in the Open Source version. This 60-minute webinar is for people who are familiar with SAS or SPSS who want to know how R can strengthen their analytics strategy.
2. 5 Source: r4stats.com/popularity
6
http://r4stats.com/popularity
1. Data input & management (data step) * SAS Approach;
2. Analytics & graphics procedures (proc step) DATA A; SET A;
3. Macro language logX = log(X);
4. Matrix language PROC REG;
5. Output management systems (ODS/OMS) MODEL Y = logX;
R integrates these all seamlessly. # R Approach
lm( Y ~ log(X) )
7 8
3. Vast selection of analytics & graphics
New methods are available sooner
Many packages can run R (SAS, SPSS, Excel…)
Its object orientation “does the right thing”
Its language is powerful & fully integrated
Procedures you write are on an equal footing
It is the universal language of data analysis
It runs on any computer
Being open source, you can study and modify it
It is free
9 10
* Using SAS; Language is somewhat harder to learn
PROC TTEST DATA=classroom; Help files are sparse & complex
CLASS gender; Must find R and its add-ons yourself
VAR score;
Graphical user interfaces not as polished
Most R functions hold data in main memory
# In R
Rule-of-thumb: 10 million values per gigabyte
t.test(score ~ gender, data=classroom)
SAS/SPSS: billions of records
Several efforts underway to break R’s memory limit
t.test(posttest, pretest , paired=TRUE, data=classroom) including Revolution Analytics’ distribution
11 12
4. Base R plus Recommended Packages like: Email support is free, quick, 24-hours:
Base SAS, SAS/STAT, SAS/GRAPH, SAS/IML Studio www.r-project.org/mail.html
SPSS Stat. Base, SPSS Stat. Advanced, Regression Stackoverflow.com
Tested via extensive validation programs Quora.com
But add-on packages written by… Crossvalidated stats.stackexchange.com
Professor who invented the method? /questions/tagged/r
A student interpreting the method? Phone support available commercially
13 14
1. Go to cran.r-project.org, Comprehensive R Archive Network
the Comprehensive R Archive Network
Crantastic.com
2. Download binaries for Base & run Inside-R.org
3. Add-ons: R4Stats.com
install.packages(“myPackage”)
4. To update: update.packages()
15 16
9. 34
33
A company focused on R development & support
Run by SPSS founder Norman Nie
Their enhanced distribution of R:
Revolution R Enterprise
Free for colleges and universities, including for
outside consulting
35
14. R for SAS and SPSS Users, Muenchen
R for Stata Users, Muenchen & Hilbe
R Through Excel: A Spreadsheet Interface for Statistics,
Data Analysis, and Graphics, Heiberger & Neuwirth
Data Mining with Rattle and R: The Art of Excavating
Data for Knowledge Discovery, Williams
53 54
R is powerful, extensible, free
Download it from CRAN
Academics download Revolution R Enterprise
for free at www.revolutionanalytics.com
You run it many ways & from many packages
muenchen@utk.edu
Several graphical user interfaces are available
R's programming language is the way Slides: r4stats.com/misc/webinar
Presentation: bit.ly/R-sas-spss
to access its full power
55