Side-by-side statistical analyses in R, SAS, SPSS

June 11, 2009
58 Views

Have you ever needed to do a type of statistical analysis you haven’t done in a while (or perhaps ever), and weren’t quite sure how to get started in R? In this situation, my usual starting point is to find an example of a similar analysis someone else has done, and then adapt it to my own data set (with regular reference to the help pages). 

UCLA Academic Technology Services has a website that can help with that process. On their Data Analysis Examples page you can find a number of worked examples of various common and not-so-common statistical procedures performed in R, including:

Each page includes one or more examples of the type of analysis in question. (For example: “We wish to study the influence of age, gender and exercise on whether or not someone has a heart attack. Again, we have a binary response variable, whether or not a heart attack occurs.”) Also provided is all the code in R to download the data and conduct the analysis…


Have you ever needed to do a type of statistical analysis you haven’t done in a while (or perhaps ever), and weren’t quite sure how to get started in R? In this situation, my usual starting point is to find an example of a similar analysis someone else has done, and then adapt it to my own data set (with regular reference to the help pages). 

UCLA Academic Technology Services has a website that can help with that process. On their Data Analysis Examples page you can find a number of worked examples of various common and not-so-common statistical procedures performed in R, including:

Each page includes one or more examples of the type of analysis in question. (For example: “We wish to study the influence of age, gender and exercise on whether or not someone has a heart attack. Again, we have a binary response variable, whether or not a heart attack occurs.”) Also provided is all the code in R to download the data and conduct the analysis.

Better yet, if you’re already familiar with how to do the analysis in another system such as SAS or SPSS, the code for many of the same examples is also available for those systems. If you’re a SAS user (for example) looking at the code for Probit Regression side-by-side in SAS and then in R is a great way of using your SAS knowledge to learn R.

UCLA Academic Technology Services: Data Analysis Examples

Link to original post

You may be interested

How SAP Hana is Driving Big Data Startups
Big Data
298 shares3,039 views
Big Data
298 shares3,039 views

How SAP Hana is Driving Big Data Startups

Ryan Kh - July 20, 2017

The first version of SAP Hana was released in 2010, before Hadoop and other big data extraction tools were introduced.…

Data Erasing Software vs Physical Destruction: Sustainable Way of Data Deletion
Data Management
57 views
Data Management
57 views

Data Erasing Software vs Physical Destruction: Sustainable Way of Data Deletion

Manish Bhickta - July 20, 2017

Physical Data destruction techniques are efficient enough to destroy data, but they can never be considered eco-friendly. On the other…

10 Simple Rules for Creating a Good Data Management Plan
Data Management
69 shares654 views
Data Management
69 shares654 views

10 Simple Rules for Creating a Good Data Management Plan

GloriaKopp - July 20, 2017

Part of business planning is arranging how data will be used in the development of a project. This is why…