Computational Statistics: A Crash Course using R for Biologists (and Their Friends)



Similar documents
Using Excel for Data Manipulation and Statistical Analysis: How-to s and Cautions

Importing Data into R

Using Excel for Statistical Analysis

SharePoint Online Quick Reference

Session 15 OF, Unpacking the Actuary's Technical Toolkit. Moderator: Albert Jeffrey Moore, ASA, MAAA

Vodafone Hosted Services. Getting started. User guide

Welcome to Collage (Draft v0.1)

GUI Test Automation How-To Tips

MSSQL quick start guide

HIPAA Compliance Use Case

Online File Folder. Getting Started Guide. Become an Expert at Managing Your Files Online. wind. Online File Folder // Getting Started Guide

One of the fundamental kinds of Web sites that SharePoint 2010 allows

Mapping ITS s File Server Folder to Mosaic Windows to Publish a Website

IBM SPSS Statistics 20 Part 1: Descriptive Statistics

Oracle Database 10g Express

Infoview XIR3. User Guide. 1 of 20

PROGRAMMING FOR BIOLOGISTS. BIOL 6297 Monday, Wednesday 10 am -12 pm

Alerts. Some Alerts give you unique options for customizing the messages you receive. Calendar events, for instance, allow you to set how far in

Big Data for Science (and other) Students

NaviCell Data Visualization Python API

Once we have provided you with an ftp username and password, you may use the following instructions to upload content:

A Quick and Easy Guide to PERSONAL ONLINE BANKING

CTERA Agent for Linux

Benchmark Estimating Software

Operating Systems. Notice that, before you can run programs that you write in JavaScript, you need to jump through a few hoops first

Modelling with R and MySQL. - Manual - Gesine Bökenkamp, Frauke Wiese, Clemens Wingenbach

INROADS, INC. TRAINING AND DEVELOPMENT. Intern E- Learning Guide 2012 (rev )

Safe Haven User Guide

Using Microsoft Windows Authentication for Microsoft SQL Server Connections in Data Archive

Recommended operating systems and software for end user services. Operating systems and software not supported for end user services

Concession FTP User Guide May 2011 Version 1.2

DIRECTIONS. Exercises (SE) file posted on the Stats website, not the textbook itself. See How To Succeed With Stats Homework on Notebook page 7!

Data Mining Introduction

Guidance for IA DMM: Connecting Your Computer to FSU Video File Server

Accessing the Media General SSL VPN

Alexander Nikov. 5. Database Systems and Managing Data Resources. Learning Objectives. RR Donnelley Tries to Master Its Data

Logistics. Presenting Navision Axapta Logistics

Secure Web Gateway MobileGuardian Client Installation Guide

OTN Developer Day: Oracle Big Data

Wiley PLUS Student User Guide

About mysi-net. A note on privacy. Always Sign Out. mysi-net STAFF FACT SHEET April 20, 2012

Lavastorm Analytic Library Predictive and Statistical Analytics Node Pack FAQs

Performance in the Infragistics WebDataGrid for Microsoft ASP.NET AJAX. Contents. Performance and User Experience... 2

RTI Quick Start Guide

Analyzing Data Using Excel

Outlook Web Access 2003 Remote User Guide

Getting Started With the APTA Learning Center. for PT CPI Course Participants. A Basic Overview

WINDOWS 7 & HOMEGROUP

VPN - AnyConnect on Windows

SEO - Access Logs After Excel Fails...

Computer Programming for the Social Sciences

COMPUTABLE DOCUMENT FORMAT

Getting Started With the APTA Learning Center. for PT CPI Course Participants. A Basic Overview

3DHOP Local Setup. Lezione 14 Maggio 2015

Genome Explorer For Comparative Genome Analysis

TestTrack Test Case Management Quick Start Guide

Your complete guide to installing the Self-Service Portal and estore.

Microsoft Office 365 Small Business from Vodafone. What will you achieve?

Real Time Media Monitoring Web Service. Users Guide

MRU Secure Remote Access Service (SRAS) External User Guide

2X Cloud Portal v10.5

Learning Management System (LMS) Guide for Administrators

imc FAMOS 6.3 visualization signal analysis data processing test reporting Comprehensive data analysis and documentation imc productive testing

Logging In From your Web browser, enter the GLOBE URL:

H-ITT CRS V2 Quick Start Guide. Install the software and test the hardware

TELPAS Coordinator s User Guide for Online Holistic Rating Training

Ulteo Open Virtual Desktop Installation

Managed Devices - Web Browser/HiView

OPENGATE SMALL BUSINESS SOFTWARE

Health Indicators Advancing Healthy Aging in Your Community. Database Instructions for Managers

Project management integrated into Outlook

ONLINE EXTERNAL AND SURVEY STUDIES

UGENE Quick Start Guide

Includes: Ordering Setting up Selection Lists What's on ipage Managing Your Relationship with Ingram Through ipage

Mercurial. Why version control (Single users)

WESSL-2 Script Builder Reference Guide

LifeScope Genomic Analysis Software 2.5

BarTender Web Print Server

software technical manual mv3000

Windows 10: A Beginner s Guide

R2MLwiN Using the multilevel modelling software package MLwiN from R

STUDY AND ANALYSIS OF AUTOMATION TESTING TECHNIQUES

Call Logging Quick Reference User Guide

Introduction to MS WINDOWS XP

Transcription:

Computational Statistics: A Crash Course using R for Biologists (and Their Friends) Randall Pruim Calvin College Michigan NExT 2011

Computational Statistics Using R Why Use R? Statistics + Computation = Computational Statistics Modern statistics is done with statistical computing tools. There are many possibilities (Minitab, Excel, Stata, SPSS, StatCrunch,... ). Different tools come with different sets of advantages and disadvantages.

Computational Statistics Using R Why Use R? Statistics + Computation = Computational Statistics Modern statistics is done with statistical computing tools. There are many possibilities (Minitab, Excel, Stata, SPSS, StatCrunch,... ). Different tools come with different sets of advantages and disadvantages.

The Lady Tasting Tea

Using R The plan: 1. Lady Tasting Tea 2. An introduction to computation with R 3. Some additional examples RStudio online: 1. Open up Firefox 2. Navigate to http://dahl.calvin.edu,8787 This link and additional notes are available at http://www.calvin.edu/isri/sc11/ 3. Use the same username and login that you used for the PCs

Why Use R? Modern statistics is done with statistical computing tools.

Why Use R? Modern statistics is done with statistical computing tools. R is one of many reasonable choices. Excel is NOT. [Mccullough and Heiser, 2008]

Why Use R? Modern statistics is done with statistical computing tools. R is one of many reasonable choices. Excel is NOT. [Mccullough and Heiser, 2008] Excel 2007, like its predecessors, fails a standard set of intermediate-level accuracy tests in three areas: statistical distributions, random number generation, and estimation. Additional errors in specific Excel procedures are discussed. Microsoft s continuing inability to correctly fix errors is discussed. No statistical procedure in Excel should be used until Microsoft documents that the procedure is correct; it is not safe to assume that Microsoft Excel s statistical procedures give the correct answer. Persons who wish to conduct statistical analyses should use some other package.

Why Use R? Modern statistics is done with statistical computing tools. R is one of many reasonable choices. Excel is NOT. [Mccullough and Heiser, 2008] Worse (from a teaching perspective), using Excel for statistics damages your brain.

Why Use R? Modern statistics is done with statistical computing tools. R is one of many reasonable choices. Excel is NOT. [Mccullough and Heiser, 2008] Worse (from a teaching perspective), using Excel for statistics damages your brain. Excel users will constrain themselves to what Excel makes easy, whether or not it is the best way to think about things Excel users are not forced to constrain themselves in ways that train the mind for statistical reasoning. Aside from data entry and rudimentary data manipulation, Excel has no place in statistics education. If you find that Excel does everything you need (statistically) this is an indictment on your statistical needs, not a strength of Excel.

R Advantages R is free and available on any platform (Mac, PC, Linux, etc.) and also, via RStudio, in a web browser. This means students have access to R whenever and wherever they need it. R is powerful you won t outgrow it. If one goal is to prepare students for future research, R will grow with them.

R Advantages R produces excellent quality graphics. R produces publication quality graphics. Via the lattice package, a wide range of useful plots are easy to produce. For those willing to learn a bit more, plots can be customized to your heart s contents. R helps you think about data in ways that are useful for statistical analysis. As with most true statistical packages, R prefers data arranged with variables in columns and observational units in rows. Being able to identify each of these is a crucial pre-requisite to understanding statistical procedures.

R Advantages R promotes reproducible research. R commands provide an exact record of how an analysis was done. Commands can be edited, rerun, commented, shared, etc. R is up-to-date. Many new analysis methods appear first in R.

R Advantages There are many packages available that automate particular tasks. The CRAN (Comprehensive R Archive Network) repository contains more than 3000 packages that provide a wide range of additional capabilities (including many with biological applications.) The Bioconductor repository (http://www.bioconductor.org/) contains nearly 500 additional packages that focus on biological and bioinformatics applications. R can be combined with other tools. R can be used within programming languages (like Python) or in scripting environments to automate data analysis pipelines.

R Advantages R is popular including among biologists. R is becoming increasingly popular among biologists, especially among those doing work in genetics and genomics. R is very widely used in graduate programs and academic research, and is gaining market share in industry as well. R provides a gentle introduction to general computation. Although R can be used one command at a time (that s the way we will be using it here, for the most part), R is a full featured programming language.

R Advantages The best is yet to come. A number of projects are underway that promise to further improve on R, including RStudio and its manipulate features Chris Wild s new graphical interface (only videos available at this point) mosaic (beta) and mosaicmanip (coming soon) packages from Project Mosaic

R Advantages Although R is very comprehensive, a small pallet of useful things can be learned fairly easily. I would like to say again how much I appreciated the USCOTS workshop. As it happens, I elected to teach a very small summer offering of our elementary statistics class with just two students, both of whom had failed the course before and needed it to graduate. My approach has been to use R as a supplement to a traditional course, but I find that I have been able to spend a lot more time on simulations of all sorts, including re-sampling approaches to hypothesis-testing including contingency tables early on. The sample is small, but these students find the R-approach quite engaging and intuitive. In addition to the ready access to simulation and manipulation activities, they seem to get a conceptual leg-up when it comes to the handling the formulas that dominate the traditional approach.

References Mccullough, B. D. and Heiser, D. A. (2008). On the accuracy of statistical procedures in microsoft excel 2007. Computational Statistics & Data Analysis, 52:4570 4578. available online at www.pages.drexel.edu/~bdm25/excel2007.pdf.