An Introduction to the R Commander

Size: px
Start display at page:

Download "An Introduction to the R Commander"

Transcription

1 An Introduction to the R Commander BIO/MAT 460, Spring 2011 Christopher J. Mecklin Department of Mathematics & Statistics Biomathematics Research Group Murray State University Murray, KY christopher.mecklin@murraystate.edu March, 2011

2 Outline 1. What is R and the R Commander? 2. Downloading and Installing the R Commander 3. Data Handling 4. Descriptive Statistics 5. Basic Graphs 6. Hypothesis Testing (t-tests and χ 2 tests) 7. Linear Models and Beyond

3 What is R? R is an open-source statistical programming environment that is available for free. R is similar to S, a statistical programming language developed at Bell Labs. The language is object-oriented and its syntax will remind the user of C++. In addition to the core, many many users have added onto R by submitting packages to perform many statistical tasks (over 2700 packages the last time I checked!).

4 What is R Commander? Apparently not everyone is fond of writing computer code. Some people would perform a graphical user interface for statistical analysis. The Rcmdr package, written by John Fox, provides such a GUI for R. This package utilizes many other R packages and can perform most standard statistical analyses, although more specialized tasks (and some basic ones as well ) cannot be performed with R Commander.

5 The Comprehensive R Archive Network CRAN (the comprehensive R Archive Network) is hosted on servers all around the world and is the home of all things R. Google CRAN or go to the URL

6 The Rcmdr package Once you have downloaded and started R (the desktop icon is a big blue R, go to Packages, then Set Cran mirror... Select a mirror site close to you.

7 The Rcmdr package Go to Packages, then Install Package(s)... Choose Rcmdr. Once that is done, type in library(rcmdr). If you get a prompt to download required packages, say Yes. Be patient, this might take several minutes. Don t try this with dial-up or DSL!

8 Getting Started Once you type in library(rcmdr), the following window should appear:

9 Now What? You need to get your data into R Commander before you can do any analyses. There are several options for data import, including: 1. Directly typing in data into the built-in data editor 2. Using a dataset built in to a R package 3. Importing data from a text file 4. Importing data from an EXCEL spreadsheet

10 Data Editor Go to Data, then New data set... to pull up the built-in data editor. I do not use it very often, as it is a bit difficult to use and I find it easier to enter all but the smallest data sets in a spreadsheet or a plain text file.

11 Built-in Datasets There are a number of built-in datasets in R that are handy for self-learning or teaching purposes. Go to Data, then Data in packages..., then Read data set from an attached package.

12 Importing from a text file Go to Data, then Import data, and then from text file, clipboard or URL... Name the data set you are creating, and choose the Field Separator for your delimiter (space, tab, comma, etc.) Use the first row for variable names.

13 View the data set I ALWAYS check to make sure the data has been properly imported. Click on the View Data Set button.

14 Importing from EXCEL You have have the need to import an EXCEL Spreadsheet into the R Commander. Choose Data, then Import data, and then from Excel, Access or dbase data set... Use first row for variable names.

15 Summary Statistics Descriptive statistics such as means, standard deviations, medians, and quartiles can be easily found by Statistics, then Summaries, and then either Active data set or Numerical Summaries...

16 Correlations Choose Statistics, then Summaries and Correlation matrix... Hold down the CTRL key while left-clicking your mouse to select which variables you want to use. > cor(uscereal[,c("calories","carbo","fat","protein")], use="complete.obs") calories carbo fat protein calories carbo fat protein

17 Graphs menu Many basic statistical graphs, including but not limited to: 1. Histograms 2. Scatterplots 3. Boxplots 4. Plot of means with error bars can be created under the Graphs menu. The graph will appear in the R Graphics window and can be saved in several formats by clicking on File and Save as. LaTeX friendly formats such as Postscript and PDF and Microsoft Office (blech!) friendly formats such as bmp, png, and jpeg are available.

18 Compare this elegant R scatterplot... Longevity (years) Gestation period (days)

19 With the ugly EXCEL version! 45 Longevity Longevity 20 Linear (Longevity)

20 Hypothesis Tests In BIO/MAT 460, we have studied the following hypothesis tests: 1. Independent samples t-test, assuming equal variances 2. χ 2 Test of Independence 3. χ 2 Goodness-of-Fit Test Unfortunately, the χ 2 Goodness-of-Fit test is not built into the R Commander, so you ll have to use the formulas. Sorry!

21 t-test The text file ExamScores has final exam scores from two groups; students that took the final on Monday (class== M ) and students that took it on Friday (class== F ). I will read in the text file and then will go to Statistics, Means, Independent samples t-test...

22 t-test output > t.test(exam~class, alternative= two.sided, conf.level=.95, var.equal=true, + data=examscores) Two Sample t-test data: exam by class t = , df = 33, p-value = alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: sample estimates: mean in group F mean in group M

23 χ 2 test of independence We are interested in testing if there is a significant relationship between result of a test of HPV (human papillomavirus) and age category. The following 2 6 contingency table contains data from the U.S. NHANES survey. Age Group HPT Test Positive Negative

24 Contingency Table Go to Statistics, then Contingency Tables, and Enter and analyze two-way tables... Enter the data.

25 χ 2 test output > rownames(.table) <- c( 1, 2 ) > colnames(.table) <- c( 1, 2, 3, 4, 5, 6 ) >.Table Counts >.Test <- chisq.test(.table, correct=false) >.Test Pearson s Chi-squared test data:.table X-squared = , df = 5, p-value = 1.155e-07 >.Test expected Expected Counts

26 What else can R Commander do? While that s probably enough for today, the R Commander can also do the following: 1. Simple and multiple linear regression 2. ANOVA 3. Generalized linear models (including logistic & Poisson regression) 4. Many nonparametric and multivariate methods

27 What can t R Commander do? There are many statistical procedures that are not built in to the R Commander. If you have the need for them, options include: 1. Writing R scripts (i.e. programs) and using the R console, with either the base packages or a package you downloaded. vegan is an example of a package not part of the base R distribution that I use frequently, mainly for computing biodiversity statistics. 2. People are starting to create Plug-Ins to add more features to the GUI. An example is RcmdrPlugin.survival, which adds standard survival analysis methods like logrank tests and Cox regression. 3. You are always able to write your own programs in case no packages or plug-ins exist or you just prefer to! 4. Thank you!

R for IR. Created by Narren Brown, Grinnell College, and Diane Saphire, Trinity University

R for IR. Created by Narren Brown, Grinnell College, and Diane Saphire, Trinity University R for IR Created by Narren Brown, Grinnell College, and Diane Saphire, Trinity University For presentation at the June 2013 Meeting of the Higher Education Data Sharing Consortium Table of Contents I.

More information

Bluman & Mayer, Elementary Statistics, A Step by Step Approach, Canadian Edition

Bluman & Mayer, Elementary Statistics, A Step by Step Approach, Canadian Edition Bluman & Mayer, Elementary Statistics, A Step by Step Approach, Canadian Edition Online Learning Centre Technology Step-by-Step - Minitab Minitab is a statistical software application originally created

More information

1 Introduction to Using Excel Spreadsheets

1 Introduction to Using Excel Spreadsheets Survey of Math: Excel Spreadsheet Guide (for Excel 2007) Page 1 of 6 1 Introduction to Using Excel Spreadsheets This section of the guide is based on the file (a faux grade sheet created for messing with)

More information

A system for statistical analysis. Instructions for installing software. R, R-studio and the R-commander

A system for statistical analysis. Instructions for installing software. R, R-studio and the R-commander Instructions for installing software R, R-studio and the R-commander Graeme.Hutcheson@manchester.ac.uk Manchester Institute of Education, University of Manchester This course uses the following software...

More information

An Introduction to R- Programming

An Introduction to R- Programming An Introduction to R- Programming Hadeel Alkofide, Msc, PhD NOT a biostatistician or R expert just simply an R user Some slides were adapted from lectures by Angie Mae Rodday MSc, PhD at Tufts University

More information

The R and R-commander software

The R and R-commander software The R and R-commander software This course uses the statistical package 'R' and the 'R-commander' graphical user interface (Rcmdr). Full details about these packages and the advantages associated with

More information

Technical Support Minitab Version Student Free technical support for eligible products

Technical Support Minitab Version Student Free technical support for eligible products Technical Support Free technical support for eligible products All registered users (including students) All registered users (including students) Registered instructors Not eligible Worksheet Size Number

More information

Product Catalog. AcaStat. Software

Product Catalog. AcaStat. Software Product Catalog AcaStat Software AcaStat AcaStat is an inexpensive and easy-to-use data analysis tool. Easily create data files or import data from spreadsheets or delimited text files. Run crosstabulations,

More information

Introduction to R Cmdr

Introduction to R Cmdr Introduction to R Cmdr MARS 6910 Spring 2015 David Hyrenbach Starting R Some Basic Unix Commands (http://cran.r-project.org/ doc/contrib/short-refcard.pdf) ls() show objects in search path; () default

More information

Lab 1: Getting started with R and RStudio Questions? or

Lab 1: Getting started with R and RStudio Questions? or Lab 1: Getting started with R and RStudio Questions? david.montwe@ualberta.ca or isaacren@ualberta.ca 1. Installing R and RStudio To install R, go to https://cran.r-project.org/ and click on the Download

More information

AcaStat User Manual. Version 8.3 for Mac and Windows. Copyright 2014, AcaStat Software. All rights Reserved.

AcaStat User Manual. Version 8.3 for Mac and Windows. Copyright 2014, AcaStat Software. All rights Reserved. AcaStat User Manual Version 8.3 for Mac and Windows Copyright 2014, AcaStat Software. All rights Reserved. http://www.acastat.com Table of Contents INTRODUCTION... 5 GETTING HELP... 5 INSTALLATION... 5

More information

Applied Regression Modeling: A Business Approach

Applied Regression Modeling: A Business Approach i Applied Regression Modeling: A Business Approach Computer software help: SAS SAS (originally Statistical Analysis Software ) is a commercial statistical software package based on a powerful programming

More information

R Commander Tutorial

R Commander Tutorial R Commander Tutorial Introduction R is a powerful, freely available software package that allows analyzing and graphing data. However, for somebody who does not frequently use statistical software packages,

More information

book 2014/5/6 15:21 page v #3 List of figures List of tables Preface to the second edition Preface to the first edition

book 2014/5/6 15:21 page v #3 List of figures List of tables Preface to the second edition Preface to the first edition book 2014/5/6 15:21 page v #3 Contents List of figures List of tables Preface to the second edition Preface to the first edition xvii xix xxi xxiii 1 Data input and output 1 1.1 Input........................................

More information

WINKS SDA 7. Version 7

WINKS SDA 7. Version 7 WINKS SDA 7 Version 7 (For BASIC and PROFESSIONAL Editions of WINKS SDA) PowerPoint Slides for this Guide are svailable at the website Click Instructors. www.texasoft.com TexaSoft, 2015 Do these tutorials

More information

MINITAB Release Comparison Chart Release 14, Release 13, and Student Versions

MINITAB Release Comparison Chart Release 14, Release 13, and Student Versions Technical Support Free technical support Worksheet Size All registered users, including students Registered instructors Number of worksheets Limited only by system resources 5 5 Number of cells per worksheet

More information

Experimental epidemiology analyses with R and R commander. Lars T. Fadnes Centre for International Health University of Bergen

Experimental epidemiology analyses with R and R commander. Lars T. Fadnes Centre for International Health University of Bergen Experimental epidemiology analyses with R and R commander Lars T. Fadnes Centre for International Health University of Bergen 1 Click to add an outline 2 How to install R commander? - install.packages("rcmdr",

More information

Introduction to R, Github and Gitlab

Introduction to R, Github and Gitlab Introduction to R, Github and Gitlab 27/11/2018 Pierpaolo Maisano Delser mail: maisanop@tcd.ie ; pm604@cam.ac.uk Outline: Why R? What can R do? Basic commands and operations Data analysis in R Github and

More information

StatsMate. User Guide

StatsMate. User Guide StatsMate User Guide Overview StatsMate is an easy-to-use powerful statistical calculator. It has been featured by Apple on Apps For Learning Math in the App Stores around the world. StatsMate comes with

More information

Minitab 18 Feature List

Minitab 18 Feature List Minitab 18 Feature List * New or Improved Assistant Measurement systems analysis * Capability analysis Graphical analysis Hypothesis tests Regression DOE Control charts * Graphics Scatterplots, matrix

More information

and R Commander (Rcmdr) 1 by the example

and R Commander (Rcmdr) 1 by the example and R Commander (Rcmdr) 1 by the example 1. Introduction...1 Conventions:...2 2. Starting R and Rcmdr...3 Starting R...3 Starting R Commander (Rcmdr)...3 3. Importing data from Excel...4 4. Viewing and

More information

CLAREMONT MCKENNA COLLEGE. Fletcher Jones Student Peer to Peer Technology Training Program. Basic Statistics using Stata

CLAREMONT MCKENNA COLLEGE. Fletcher Jones Student Peer to Peer Technology Training Program. Basic Statistics using Stata CLAREMONT MCKENNA COLLEGE Fletcher Jones Student Peer to Peer Technology Training Program Basic Statistics using Stata An Introduction to Stata A Comparison of Statistical Packages... 3 Opening Stata...

More information

Learn What s New. Statistical Software

Learn What s New. Statistical Software Statistical Software Learn What s New Upgrade now to access new and improved statistical features and other enhancements that make it even easier to analyze your data. The Assistant Data Customization

More information

8. MINITAB COMMANDS WEEK-BY-WEEK

8. MINITAB COMMANDS WEEK-BY-WEEK 8. MINITAB COMMANDS WEEK-BY-WEEK In this section of the Study Guide, we give brief information about the Minitab commands that are needed to apply the statistical methods in each week s study. They are

More information

StatCalc User Manual. Version 9 for Mac and Windows. Copyright 2018, AcaStat Software. All rights Reserved.

StatCalc User Manual. Version 9 for Mac and Windows. Copyright 2018, AcaStat Software. All rights Reserved. StatCalc User Manual Version 9 for Mac and Windows Copyright 2018, AcaStat Software. All rights Reserved. http://www.acastat.com Table of Contents Introduction... 4 Getting Help... 4 Uninstalling StatCalc...

More information

Survey of Math: Excel Spreadsheet Guide (for Excel 2016) Page 1 of 9

Survey of Math: Excel Spreadsheet Guide (for Excel 2016) Page 1 of 9 Survey of Math: Excel Spreadsheet Guide (for Excel 2016) Page 1 of 9 Contents 1 Introduction to Using Excel Spreadsheets 2 1.1 A Serious Note About Data Security.................................... 2 1.2

More information

Instructions for Using ABCalc James Alan Fox Northeastern University Updated: August 2009

Instructions for Using ABCalc James Alan Fox Northeastern University Updated: August 2009 Instructions for Using ABCalc James Alan Fox Northeastern University Updated: August 2009 Thank you for using ABCalc, a statistical calculator to accompany several introductory statistics texts published

More information

R commander an Introduction

R commander an Introduction R commander an Introduction Natasha A. Karp nk3@sanger.ac.uk May 2010 Preface This material is intended as an introductory guide to data analysis with R commander. It was produced as part of an applied

More information

Installing Brodgar is a straightforward process. However, there are two essential

Installing Brodgar is a straightforward process. However, there are two essential 2 Installing Brodgar In Section 2.1 we discuss how to install Brodgar and R, in Section 2.2 we show how to link Brodgar and R, in Sections 2.3 and 2.4 general information is provided, and Section 2.5 is

More information

Install RStudio from - use the standard installation.

Install RStudio from   - use the standard installation. Session 1: Reading in Data Before you begin: Install RStudio from http://www.rstudio.com/ide/download/ - use the standard installation. Go to the course website; http://faculty.washington.edu/kenrice/rintro/

More information

Minitab Study Card J ENNIFER L EWIS P RIESTLEY, PH.D.

Minitab Study Card J ENNIFER L EWIS P RIESTLEY, PH.D. Minitab Study Card J ENNIFER L EWIS P RIESTLEY, PH.D. Introduction to Minitab The interface for Minitab is very user-friendly, with a spreadsheet orientation. When you first launch Minitab, you will see

More information

Brief Guide on Using SPSS 10.0

Brief Guide on Using SPSS 10.0 Brief Guide on Using SPSS 10.0 (Use student data, 22 cases, studentp.dat in Dr. Chang s Data Directory Page) (Page address: http://www.cis.ysu.edu/~chang/stat/) I. Processing File and Data To open a new

More information

WINKS SDA Windows KwikStat Statistical Data Analysis and Graphs Getting Started Guide

WINKS SDA Windows KwikStat Statistical Data Analysis and Graphs Getting Started Guide WINKS SDA Windows KwikStat Statistical Data Analysis and Graphs Getting Started Guide 2011 Version 6A Do these tutorials first This series of tutorials provides a quick start to using WINKS. Feel free

More information

Minitab 17 commands Prepared by Jeffrey S. Simonoff

Minitab 17 commands Prepared by Jeffrey S. Simonoff Minitab 17 commands Prepared by Jeffrey S. Simonoff Data entry and manipulation To enter data by hand, click on the Worksheet window, and enter the values in as you would in any spreadsheet. To then save

More information

Statistical Package for the Social Sciences INTRODUCTION TO SPSS SPSS for Windows Version 16.0: Its first version in 1968 In 1975.

Statistical Package for the Social Sciences INTRODUCTION TO SPSS SPSS for Windows Version 16.0: Its first version in 1968 In 1975. Statistical Package for the Social Sciences INTRODUCTION TO SPSS SPSS for Windows Version 16.0: Its first version in 1968 In 1975. SPSS Statistics were designed INTRODUCTION TO SPSS Objective About the

More information

Instruction: Download and Install R and RStudio

Instruction: Download and Install R and RStudio 1 Instruction: Download and Install R and RStudio We will use a free statistical package R, and a free version of RStudio. Please refer to the following two steps to download both R and RStudio on your

More information

Excel 2010 with XLSTAT

Excel 2010 with XLSTAT Excel 2010 with XLSTAT J E N N I F E R LE W I S PR I E S T L E Y, PH.D. Introduction to Excel 2010 with XLSTAT The layout for Excel 2010 is slightly different from the layout for Excel 2007. However, with

More information

STATS PAD USER MANUAL

STATS PAD USER MANUAL STATS PAD USER MANUAL For Version 2.0 Manual Version 2.0 1 Table of Contents Basic Navigation! 3 Settings! 7 Entering Data! 7 Sharing Data! 8 Managing Files! 10 Running Tests! 11 Interpreting Output! 11

More information

STATA 13 INTRODUCTION

STATA 13 INTRODUCTION STATA 13 INTRODUCTION Catherine McGowan & Elaine Williamson LONDON SCHOOL OF HYGIENE & TROPICAL MEDICINE DECEMBER 2013 0 CONTENTS INTRODUCTION... 1 Versions of STATA... 1 OPENING STATA... 1 THE STATA

More information

Chapter 3: Data Description Calculate Mean, Median, Mode, Range, Variation, Standard Deviation, Quartiles, standard scores; construct Boxplots.

Chapter 3: Data Description Calculate Mean, Median, Mode, Range, Variation, Standard Deviation, Quartiles, standard scores; construct Boxplots. MINITAB Guide PREFACE Preface This guide is used as part of the Elementary Statistics class (Course Number 227) offered at Los Angeles Mission College. It is structured to follow the contents of the textbook

More information

เพ มภาพตามเน อหาของแต ละบท. Microsoft Excel Benjamas Panyangam and Dr. Dussadee Praserttitipong. Adapted in English by Prakarn Unachak

เพ มภาพตามเน อหาของแต ละบท. Microsoft Excel Benjamas Panyangam and Dr. Dussadee Praserttitipong. Adapted in English by Prakarn Unachak เพ มภาพตามเน อหาของแต ละบท Microsoft Excel 2016 Benjamas Panyangam and Dr. Dussadee Praserttitipong Adapted in English by Prakarn Unachak 204100 IT AND MODERN LIFE 1. Excel Basics 2. Calculation and Formula

More information

CS130/230 Lecture 6 Introduction to StatView

CS130/230 Lecture 6 Introduction to StatView Thursday, January 15, 2004 Intro to StatView CS130/230 Lecture 6 Introduction to StatView StatView is a statistical analysis program that allows: o Data management in a spreadsheet-like format o Graphs

More information

Using R & R Commander in Biomathematics Research

Using R & R Commander in Biomathematics Research Using R & R Commander in Biomathematics Research BioMAPS Workshop 2011 Christopher J. Mecklin Department of Mathematics & Statistics Biomathematics Research Group Murray State University Murray, KY 42071

More information

Applied Regression Modeling: A Business Approach

Applied Regression Modeling: A Business Approach i Applied Regression Modeling: A Business Approach Computer software help: SPSS SPSS (originally Statistical Package for the Social Sciences ) is a commercial statistical software package with an easy-to-use

More information

In Minitab interface has two windows named Session window and Worksheet window.

In Minitab interface has two windows named Session window and Worksheet window. Minitab Minitab is a statistics package. It was developed at the Pennsylvania State University by researchers Barbara F. Ryan, Thomas A. Ryan, Jr., and Brian L. Joiner in 1972. Minitab began as a light

More information

Introduction to R & R Commander

Introduction to R & R Commander Introduction to R & R Commander Alexander Ploner 2011-03-18 CONTENTS CONTENTS Contents 1 Getting started 3 1.1 First steps............................................ 3 1.2 A simple

More information

User Services Spring 2008 OBJECTIVES Introduction Getting Help Instructors

User Services Spring 2008 OBJECTIVES  Introduction Getting Help  Instructors User Services Spring 2008 OBJECTIVES Use the Data Editor of SPSS 15.0 to to import data. Recode existing variables and compute new variables Use SPSS utilities and options Conduct basic statistical tests.

More information

An introduction to SPSS

An introduction to SPSS An introduction to SPSS To open the SPSS software using U of Iowa Virtual Desktop... Go to https://virtualdesktop.uiowa.edu and choose SPSS 24. Contents NOTE: Save data files in a drive that is accessible

More information

Getting Started with JMP at ISU

Getting Started with JMP at ISU Getting Started with JMP at ISU 1 Introduction JMP (pronounced like jump ) is the new campus-wide standard statistical package for introductory statistics courses at Iowa State University. JMP is produced

More information

3. Data Analysis and Statistics

3. Data Analysis and Statistics 3. Data Analysis and Statistics 3.1 Visual Analysis of Data 3.2.1 Basic Statistics Examples 3.2.2 Basic Statistical Theory 3.3 Normal Distributions 3.4 Bivariate Data 3.1 Visual Analysis of Data Visual

More information

Table of Contents (As covered from textbook)

Table of Contents (As covered from textbook) Table of Contents (As covered from textbook) Ch 1 Data and Decisions Ch 2 Displaying and Describing Categorical Data Ch 3 Displaying and Describing Quantitative Data Ch 4 Correlation and Linear Regression

More information

FreeJSTAT for Windows. Manual

FreeJSTAT for Windows. Manual FreeJSTAT for Windows Manual (c) Copyright Masato Sato, 1998-2018 1 Table of Contents 1. Introduction 3 2. Functions List 6 3. Data Input / Output 7 4. Summary Statistics 8 5. t-test 9 6. ANOVA 10 7. Contingency

More information

Quick Start Guide Jacob Stolk PhD Simone Stolk MPH November 2018

Quick Start Guide Jacob Stolk PhD Simone Stolk MPH November 2018 Quick Start Guide Jacob Stolk PhD Simone Stolk MPH November 2018 Contents Introduction... 1 Start DIONE... 2 Load Data... 3 Missing Values... 5 Explore Data... 6 One Variable... 6 Two Variables... 7 All

More information

SPSS. (Statistical Packages for the Social Sciences)

SPSS. (Statistical Packages for the Social Sciences) Inger Persson SPSS (Statistical Packages for the Social Sciences) SHORT INSTRUCTIONS This presentation contains only relatively short instructions on how to perform basic statistical calculations in SPSS.

More information

Introduction to R Commander

Introduction to R Commander Introduction to R Commander 1. Get R and Rcmdr to run 2. Familiarize yourself with Rcmdr 3. Look over Rcmdr metadata (Fox, 2005) 4. Start doing stats / plots with Rcmdr Tasks 1. Clear Workspace and History.

More information

And the benefits are immediate minimal changes to the interface allow you and your teams to access these

And the benefits are immediate minimal changes to the interface allow you and your teams to access these Find Out What s New >> With nearly 50 enhancements that increase functionality and ease-of-use, Minitab 15 has something for everyone. And the benefits are immediate minimal changes to the interface allow

More information

SPSS 11.5 for Windows Assignment 2

SPSS 11.5 for Windows Assignment 2 1 SPSS 11.5 for Windows Assignment 2 Material covered: Generating frequency distributions and descriptive statistics, converting raw scores to standard scores, creating variables using the Compute option,

More information

MAT 110 WORKSHOP. Updated Fall 2018

MAT 110 WORKSHOP. Updated Fall 2018 MAT 110 WORKSHOP Updated Fall 2018 UNIT 3: STATISTICS Introduction Choosing a Sample Simple Random Sample: a set of individuals from the population chosen in a way that every individual has an equal chance

More information

Example how not to do it: JMP in a nutshell 1 HR, 17 Apr Subject Gender Condition Turn Reactiontime. A1 male filler

Example how not to do it: JMP in a nutshell 1 HR, 17 Apr Subject Gender Condition Turn Reactiontime. A1 male filler JMP in a nutshell 1 HR, 17 Apr 2018 The software JMP Pro 14 is installed on the Macs of the Phonetics Institute. Private versions can be bought from

More information

STAT 20060: Statistics for Engineers. Statistical Programming with R

STAT 20060: Statistics for Engineers. Statistical Programming with R STAT 20060: Statistics for Engineers Statistical Programming with R Why R? Because it s free to download for everyone! Most statistical software is very, very expensive, so this is a big advantage. Statisticians

More information

Depending on the computer you find yourself in front of, here s what you ll need to do to open SPSS.

Depending on the computer you find yourself in front of, here s what you ll need to do to open SPSS. 1 SPSS 11.5 for Windows Introductory Assignment Material covered: Opening an existing SPSS data file, creating new data files, generating frequency distributions and descriptive statistics, obtaining printouts

More information

addition + =5+C2 adds 5 to the value in cell C2 multiplication * =F6*0.12 multiplies the value in cell F6 by 0.12

addition + =5+C2 adds 5 to the value in cell C2 multiplication * =F6*0.12 multiplies the value in cell F6 by 0.12 BIOL 001 Excel Quick Reference Guide (Office 2010) For your lab report and some of your assignments, you will need to use Excel to analyze your data and/or generate graphs. This guide highlights specific

More information

INTRODUCTION TO PROBABILITY AND STATISTICS USING R/RCOMMANDER WITH IPSUR PLUG-IN G. ANDY CHANG & G. JAY KERNS

INTRODUCTION TO PROBABILITY AND STATISTICS USING R/RCOMMANDER WITH IPSUR PLUG-IN G. ANDY CHANG & G. JAY KERNS INTRODUCTION TO PROBABILITY AND STATISTICS USING R/RCOMMANDER WITH IPSUR PLUG-IN G. ANDY CHANG & G. JAY KERNS February 19, 2010 i Table of Contents Introduction... 1 The Use of R and R Commander... 2 Download

More information

Barchard Introduction to SPSS Marks

Barchard Introduction to SPSS Marks Barchard Introduction to SPSS 21.0 3 Marks Purpose The purpose of this assignment is to introduce you to SPSS, the most commonly used statistical package in the social sciences. You will create a new data

More information

Computing With R Handout 1

Computing With R Handout 1 Computing With R Handout 1 The purpose of this handout is to lead you through a simple exercise using the R computing language. It is essentially an assignment, although there will be nothing to hand in.

More information

ANSWERS -- Prep for Psyc350 Laboratory Final Statistics Part Prep a

ANSWERS -- Prep for Psyc350 Laboratory Final Statistics Part Prep a ANSWERS -- Prep for Psyc350 Laboratory Final Statistics Part Prep a Put the following data into an spss data set: Be sure to include variable and value labels and missing value specifications for all variables

More information

For a walkthrough on how to install this ToolPak, please follow the link below.

For a walkthrough on how to install this ToolPak, please follow the link below. Using histograms to display turntable data On the explore page there is an option to produce a histogram using the data your students gather as they work their way through each of the different sources

More information

The first few questions on this worksheet will deal with measures of central tendency. These data types tell us where the center of the data set lies.

The first few questions on this worksheet will deal with measures of central tendency. These data types tell us where the center of the data set lies. Instructions: You are given the following data below these instructions. Your client (Courtney) wants you to statistically analyze the data to help her reach conclusions about how well she is teaching.

More information

JMP 10 Student Edition Quick Guide

JMP 10 Student Edition Quick Guide JMP 10 Student Edition Quick Guide Instructions presume an open data table, default preference settings and appropriately typed, user-specified variables of interest. RMC = Click Right Mouse Button Graphing

More information

Barchard Introduction to SPSS Marks

Barchard Introduction to SPSS Marks Barchard Introduction to SPSS 22.0 3 Marks Purpose The purpose of this assignment is to introduce you to SPSS, the most commonly used statistical package in the social sciences. You will create a new data

More information

R commander an Introduction

R commander an Introduction R commander an Introduction Natasha A. Karp nk3@sanger.ac.uk May 2010 Preface This material is intended as an introductory guide to data analysis with R commander. It was produced as part of an applied

More information

SPSS QM II. SPSS Manual Quantitative methods II (7.5hp) SHORT INSTRUCTIONS BE CAREFUL

SPSS QM II. SPSS Manual Quantitative methods II (7.5hp) SHORT INSTRUCTIONS BE CAREFUL SPSS QM II SHORT INSTRUCTIONS This presentation contains only relatively short instructions on how to perform some statistical analyses in SPSS. Details around a certain function/analysis method not covered

More information

There are 3 main windows, and 3 main types of files, in SPSS: Data, Syntax, and Output.

There are 3 main windows, and 3 main types of files, in SPSS: Data, Syntax, and Output. U6310 Quantitative Techniques Lab - September 2001 Intro to SPSS SPSS works like this: You have a data set (either you create one or use an existing file such as the GSS). You choose analysis techniques

More information

Statistics with a Hemacytometer

Statistics with a Hemacytometer Statistics with a Hemacytometer Overview This exercise incorporates several different statistical analyses. Data gathered from cell counts with a hemacytometer is used to explore frequency distributions

More information

Minitab Notes for Activity 1

Minitab Notes for Activity 1 Minitab Notes for Activity 1 Creating the Worksheet 1. Label the columns as team, heat, and time. 2. Have Minitab automatically enter the team data for you. a. Choose Calc / Make Patterned Data / Simple

More information

STA 570 Spring Lecture 5 Tuesday, Feb 1

STA 570 Spring Lecture 5 Tuesday, Feb 1 STA 570 Spring 2011 Lecture 5 Tuesday, Feb 1 Descriptive Statistics Summarizing Univariate Data o Standard Deviation, Empirical Rule, IQR o Boxplots Summarizing Bivariate Data o Contingency Tables o Row

More information

Part I, Chapters 4 & 5. Data Tables and Data Analysis Statistics and Figures

Part I, Chapters 4 & 5. Data Tables and Data Analysis Statistics and Figures Part I, Chapters 4 & 5 Data Tables and Data Analysis Statistics and Figures Descriptive Statistics 1 Are data points clumped? (order variable / exp. variable) Concentrated around one value? Concentrated

More information

STAT 3304/5304 Introduction to Statistical Computing. Introduction to SAS

STAT 3304/5304 Introduction to Statistical Computing. Introduction to SAS STAT 3304/5304 Introduction to Statistical Computing Introduction to SAS What is SAS? SAS (originally an acronym for Statistical Analysis System, now it is not an acronym for anything) is a program designed

More information

1. Basic Steps for Data Analysis Data Editor. 2.4.To create a new SPSS file

1. Basic Steps for Data Analysis Data Editor. 2.4.To create a new SPSS file 1 SPSS Guide 2009 Content 1. Basic Steps for Data Analysis. 3 2. Data Editor. 2.4.To create a new SPSS file 3 4 3. Data Analysis/ Frequencies. 5 4. Recoding the variable into classes.. 5 5. Data Analysis/

More information

1 All of this was put in tables to make it easier to control the layout and format.

1 All of this was put in tables to make it easier to control the layout and format. Page 1 of 6 1 All of this was put in tables to make it easier to control the layout and format. Click on StatDisk icon on the Desktop or Click Start, Programs, and StatDisk to Open the StatDisk program.

More information

Statistics for Biologists: Practicals

Statistics for Biologists: Practicals Statistics for Biologists: Practicals Peter Stoll University of Basel HS 2012 Peter Stoll (University of Basel) Statistics for Biologists: Practicals HS 2012 1 / 22 Outline Getting started Essentials of

More information

QstatLab: software for statistical process control and robust engineering

QstatLab: software for statistical process control and robust engineering QstatLab: software for statistical process control and robust engineering I.N.Vuchkov Iniversity of Chemical Technology and Metallurgy 1756 Sofia, Bulgaria qstat@dir.bg Abstract A software for quality

More information

Goals of this course. Crash Course in R. Getting Started with R. What is R? What is R? Getting you setup to use R under Windows

Goals of this course. Crash Course in R. Getting Started with R. What is R? What is R? Getting you setup to use R under Windows Oxford Spring School, April 2013 Effective Presentation ti Monday morning lecture: Crash Course in R Robert Andersen Department of Sociology University of Toronto And Dave Armstrong Department of Political

More information

Preparing for Data Analysis

Preparing for Data Analysis Preparing for Data Analysis Prof. Andrew Stokes March 21, 2017 Managing your data Entering the data into a database Reading the data into a statistical computing package Checking the data for errors and

More information

Data Analysis Through Modeling: Thinking and Writing in Context Supplement: Using R and R Commander

Data Analysis Through Modeling: Thinking and Writing in Context Supplement: Using R and R Commander Data Analysis Through Modeling: Thinking and Writing in Context Supplement: Using R and R Commander Kris Green and Allen Emerson Fall 2014 Edition 1 1 c 2014 Kris H. Green ii Contents 1 Downloading and

More information

Applied Regression Modeling: A Business Approach

Applied Regression Modeling: A Business Approach i Applied Regression Modeling: A Business Approach Computer software help: SAS code SAS (originally Statistical Analysis Software) is a commercial statistical software package based on a powerful programming

More information

Getting Started With the R Commander

Getting Started With the R Commander Getting Started With the R Commander John Fox 26 August 2006 1 Starting the R Commander Once R is running, simply loading the Rcmdr package by typing the command library(rcmdr) into the R Console starts

More information

Accelerated Life Testing Module Accelerated Life Testing - Overview

Accelerated Life Testing Module Accelerated Life Testing - Overview Accelerated Life Testing Module Accelerated Life Testing - Overview The Accelerated Life Testing (ALT) module of AWB provides the functionality to analyze accelerated failure data and predict reliability

More information

Tutorial: SeqAPass Boxplot Generator

Tutorial: SeqAPass Boxplot Generator 1 Tutorial: SeqAPass Boxplot Generator 1. Access SeqAPASS by opening https://seqapass.epa.gov/seqapass/ using Mozilla Firefox web browser 2. Open the About link on the login page or upon logging in to

More information

Regression III: Advanced Methods

Regression III: Advanced Methods Lecture 2: Software Introduction Regression III: Advanced Methods William G. Jacoby Department of Political Science Michigan State University jacoby@msu.edu Getting Started with R What is R? A tiny R session

More information

Getting Started With the R Commander *

Getting Started With the R Commander * Getting Started With the R Commander * John Fox and Milan Bouchet-Valat Version 2.5-0 (last modified: 2018-07-29) 1 Introduction The R Commander (Fox, 2005, 2017) provides a graphical user interface (

More information

Step-by-step user instructions to the hamlet-package

Step-by-step user instructions to the hamlet-package Step-by-step user instructions to the hamlet-package Teemu Daniel Laajala May 26, 2018 Contents 1 Analysis workflow 2 2 Loading data into R 2 2.1 Excel format data.......................... 4 2.2 CSV-files...............................

More information

Introductory Applied Statistics: A Variable Approach TI Manual

Introductory Applied Statistics: A Variable Approach TI Manual Introductory Applied Statistics: A Variable Approach TI Manual John Gabrosek and Paul Stephenson Department of Statistics Grand Valley State University Allendale, MI USA Version 1.1 August 2014 2 Copyright

More information

R commander an introduction

R commander an introduction R commander an introduction free, user-friendly, and powerful software Ho Kim SCHOOL OF PUBLIC HEALTH, SNU Useful sites R is a free software with powerful tools The Comprehensive R Archives Network http://cran.r-project.org/

More information

Fathom Tutorial. Dynamic Statistical Software. for teachers of Ontario grades 7-10 mathematics courses

Fathom Tutorial. Dynamic Statistical Software. for teachers of Ontario grades 7-10 mathematics courses Fathom Tutorial Dynamic Statistical Software for teachers of Ontario grades 7-10 mathematics courses Please Return This Guide to the Presenter at the End of the Workshop if you would like an electronic

More information

Getting Started With the R Commander

Getting Started With the R Commander Getting Started With the R Commander John Fox Version 1.9-1 (4 September 2012) 1 Starting the R Commander This document directly describes the use of the R Commander under the Windows version of R. There

More information

Getting Started With the R Commander

Getting Started With the R Commander Getting Started With the R Commander John Fox Version 1.9-1 (9 September 2012) 1 Starting the R Commander This document directly describes the use of the R Commander under the Windows version of R. There

More information

IQR = number. summary: largest. = 2. Upper half: Q3 =

IQR = number. summary: largest. = 2. Upper half: Q3 = Step by step box plot Height in centimeters of players on the 003 Women s Worldd Cup soccer team. 157 1611 163 163 164 165 165 165 168 168 168 170 170 170 171 173 173 175 180 180 Determine the 5 number

More information

Introduction to scientific programming in R

Introduction to scientific programming in R Introduction to scientific programming in R John M. Drake & Pejman Rohani 1 Introduction This course will use the R language programming environment for computer modeling. The purpose of this exercise

More information

General Program Description

General Program Description General Program Description This program is designed to interpret the results of a sampling inspection, for the purpose of judging compliance with chosen limits. It may also be used to identify outlying

More information