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

Size: px
Start display at page:

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

Transcription

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

2 Click to add an outline 2

3 How to install R commander? - install.packages("rcmdr", dependencies=true) - - Download necessary web files put them in a folder: Fieldtrials12.RData Exercises-for-the-exp-epi rtf 3

4 Installation of RcmdrPlugin.Cih.Epi Install R (if not done already) Install package Rcmdr (if not done already) Package Install package scroll down to Rcmdr click OK Install package Epi Package Install package scroll down to Rcmdr click OK Download RcmdrPlugin.Cih.Epi from Install package(s) from local zip file (choose the package you just downloaded) Open program Load package Rcmdr Tools -> load Rcmdr plug-in(s) RcmdrPlugin.Cih.Epi click ok and Yes Now you are ready 4

5 Aim for this session Introduce a brilliant tool Analyse a dataset with the tool Guide to further knowledge 5

6 What is R? R is a free software environment that includes a set of base packages for graphics, math, and statistics. You can make use of specialized packages contributed by R users or write your own new functions. 6

7 Why R? Very powerful Developing extremely quickly Working on different platforms (not only Microsoft Windows ) Free of all costs 7

8 Why don t all use R? Click to add an outline 8

9 What is R commander? 9

10 Why R commander? Powerful Free of all costs Working on different platforms (not only Microsoft Windows ) Easy to learn and to use 11

11 How to install R? For Windows: Easy If here at UiB, the IT department will fix it for you if you just ask them to add it for you For Linux (Ubuntu etc): - Very Easy - Just search for R-base-core in Synaptic Package Manager and add it - (also contains a good description for installation on Mac) 12

12 How to install R commander? - Is already installed on UiB computers - - If not: install.packages("rcmdr", dependencies=true) 13

13 Some things to note first R is case-sensitive help, Help, HELP and HELF are different Recommendation: Choose one style and stick to it If it s something you don t know? There are lot s of good information on the web Particularly for R 14

14 Open R Load packages Rcmdr How to start? or write library(rcmdr) 15

15 Menu File Menu: items for loading and saving script files; for saving output and the R workspace; and for exiting Edit Menu: items (Cut, Copy, Paste, etc.) for editing the contents of the script and output windows. Data Submenus containing menu items for reading and manipulating data. Statistics Submenus containing menu items for a variety of basic statistical analyses. 16

16 Menu Graphs Menu items for creating simple statistical graphs. Models Menu items and submenus for obtaining numerical summaries, confidence intervals, hypothesis tests, diagnostics, and graphs for a statistical model, and for adding diagnostic quantities, such as residuals, to the data set. Distributions Probabilities, quantiles, and graphs of standard statistical distributions (to be used, for example, as a substitute for statistical tables) and samples from these distributions. Tools Menu items for loading R packages unrelated to the Rcmdr package (e.g., to access data saved in another package), and for setting some options. Help Menu items to obtain information about the R Commander (including this manual). As well, each R Commander dialog box has a Help button (see below). 17

17 Script Window R commands generated by the R Commander You can also type R commands directly into the script window or the R Console The main purpose of the R Commander, however, is to avoid having to type commands. Output Window Printed output Messages Window Displays error messages, warnings, and notes Graphics Device window When you create graphs, these will appear in a separate window outside of the main R Commander window. 18

18 Available functions: 19

19 Click to add title 20

20 Save dataset under your documents folder Files and documents are available at 21

21 Let s get started Change directory (under File) Find the folder where you placed your data file Import data Give it the name: fieldtrials Save workspace as Give a name to your file The file contains the dataset and any models you might have generated 22

22 Data Types Vectors Quantitative difference (one vs. two apples) including continuous (numerical) variables Number variables coded as vectors as default Factors Qualitative difference (apples vs. pears) Categorical Text variables coded as factors as default Matrices, lists, arrays and data frames 23

23 Variables in dataset - define the datatypes id id number gender male/female - (factor) treatmentarm Treatment (1=zinc, 0=placebo) - (factor) childage Age of the child in months - vector breastfed Is the child breast fed - (factor) lentils Does the child eat lentils? (0=no, 1= yes) - (factor) meat Does the child eat meat? (0=no, 1= yes) - (factor) duration Duration of diarrhea in days - vector diarsev Severe diarrhoea 10 stools per day - (factor) fever Did the child have fever at enrollment? - (factor) clusterzn2/4/8/16 cluster variables identifying living areas 24 - coded as vector, but needs to be transformed into a factor

24 How to save? Save R workspace as This will save your data (in the R format) Save output as This will save your output Another strategy is to cut and paste what you want to save Always save the commands (syntax) essential if you want to re-run the analyses later WordPad is a better option than Word etc (does not autocorrect - change to upper case etc) 25

25 How to write and a command? Simply write the command in the script window, mark it and click Submit or press Ctrl+R 26

26 Nice to know: When writing comments in the syntax, start with the following sign # R will then not consider the line as a command If you are uncertain about a function, use google or help(name-of-function) 27

27 Cluster has numbers and is as default coded as vector, but needs to be recoded into a factor (categorical variables for grouping etc) 28

28 Now we re ready to answer some scientific questions 29

29 Compute new variable Child age in years Child age now given in months of vaccination is often calculated by measuring antibodies before and after vaccination childageyear = childage/ 12 30

30 Does the new variable look reasonable? View data set 31

31 Summarize variable Calculate mean, median and standard deviation for childageyear for each intervention arm (treatmentarm) Numerical summaries 32

32 Doing calculations for subsets by generating new datasets 33

33 Placebo: Zinc: treatmentarm == "placebo" treatmentarm == "zinc" Make the other subset by changing the syntax and run ('Submit') the syntax zinc <- subset(fieldtrials3, subset=treatmentarm=="zinc") placebo <- subset(fieldtrials3, subset=treatmentarm=="placebo") 34

34 You can now easily change between the datasets 35

35 Make a histogram of childageyear First for the 'zinc' dataset Then for the 'placebo' dataset Are they look similar? Note: The histograms will be printed in the R window (not inside R commander) Right click on the graph and you can copy it as metafile to paste it into a document, print it or save it 36

36 Does it look normally distributed? frequency placebo$childageyear 37

37 Box plot Box plot for childageyear By treatmentarm (first remember to select the complete fieldtrials dataset) childageyear placebo treatmentarm zinc 38

38 Is the baseline child age different in the zinc and placebo arms? This can be checked with a robust test not assuming normal distribution? Check with a non-paramethric» two-sample wilcoxon test (log rank test)» Use the Exact test 39

39 Recoding variables Diarrhoea duration can be recoded into an additional categorised variable (diarlong) Data manage variables value = factor Factor can be either number or word value, value, value = factor Listed with comma value:value = factor From lowest to highest values else all other values NA missing 40

40 Click to add title 41

41 Are there differenses in syntax between R and R commander? Some few: Commands that extend over more than one line should have the second and subsequent lines indented by one or more spaces or tabs; all lines of a multiline command must be submitted simultaneously for execution. Commands that include an assignment arrow (<-) will not generate printed output, even if such output would normally appear had the command been entered in the R Console [the command print(x <- 10), for example]. On the other hand, assignments made with the equals sign (=) produce printed output even when they normally would not (e.g., x = 10). Commands that produce normally invisible output will occasionally cause output to be printed in the output window. This behaviour can be modified by editing the entries of the log-exceptions.txt file in the R Commander s etc directory. Blocks of commands enclosed by braces, i.e., {}, are not handled properly unless each command is terminated with a semicolon (;). This is poor R style, and implies that the script window is of limited use as a programming editor. For serious R programming, it would be preferable to use the script editor provided by the Windows version of R itself, or even better a programming editor. 42

42 True or false quiz R commander only works for Ms Windows? R is case sensitive (difference with small and large letters) R is built by a few people with a secret source-code? R was the program that gave their shareholders most profit last year? There are a lot of enthusiastic people working with R providing help to their peers in the R forum? 43

43 R help forum: 44

44 Further reading: The R Commander A Basic-Statistics Graphical User Interface to R - John Fox 2005.pdf Getting started with the R Commander: a basic-statistics graphical user interface to R Quick-R: magnificent guide

45 You have learnt some basic skills and can now experiment with the program yourself 46

46 Questions and comments Click to add an outline 47

An Introduction to the R Commander

An Introduction to the R Commander 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 42071 christopher.mecklin@murraystate.edu

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

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

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

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 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

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

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

Introduction to Minitab 1

Introduction to Minitab 1 Introduction to Minitab 1 We begin by first starting Minitab. You may choose to either 1. click on the Minitab icon in the corner of your screen 2. go to the lower left and hit Start, then from All Programs,

More information

An Introduction to Minitab Statistics 529

An Introduction to Minitab Statistics 529 An Introduction to Minitab Statistics 529 1 Introduction MINITAB is a computing package for performing simple statistical analyses. The current version on the PC is 15. MINITAB is no longer made for the

More information

You will learn: The structure of the Stata interface How to open files in Stata How to modify variable and value labels How to manipulate variables

You will learn: The structure of the Stata interface How to open files in Stata How to modify variable and value labels How to manipulate variables Jennie Murack You will learn: The structure of the Stata interface How to open files in Stata How to modify variable and value labels How to manipulate variables How to conduct basic descriptive statistics

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

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

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

An Introduction to R 1.1 Getting started

An Introduction to R 1.1 Getting started An Introduction to R 1.1 Getting started Dan Navarro (daniel.navarro@adelaide.edu.au) School of Psychology, University of Adelaide ua.edu.au/ccs/people/dan DSTO R Workshop, 29-Apr-2015 There s a book http://ua.edu.au/ccs/teaching/lsr/

More information

POL 345: Quantitative Analysis and Politics

POL 345: Quantitative Analysis and Politics POL 345: Quantitative Analysis and Politics Precept Handout 1 Week 2 (Verzani Chapter 1: Sections 1.2.4 1.4.31) Remember to complete the entire handout and submit the precept questions to the Blackboard

More information

WHO STEPS Surveillance Support Materials. STEPS Epi Info Training Guide

WHO STEPS Surveillance Support Materials. STEPS Epi Info Training Guide STEPS Epi Info Training Guide Department of Chronic Diseases and Health Promotion World Health Organization 20 Avenue Appia, 1211 Geneva 27, Switzerland For further information: www.who.int/chp/steps WHO

More information

Dr. Barbara Morgan Quantitative Methods

Dr. Barbara Morgan Quantitative Methods Dr. Barbara Morgan Quantitative Methods 195.650 Basic Stata This is a brief guide to using the most basic operations in Stata. Stata also has an on-line tutorial. At the initial prompt type tutorial. In

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

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

Chapter 2 The SAS Environment

Chapter 2 The SAS Environment Chapter 2 The SAS Environment Abstract In this chapter, we begin to become familiar with the basic SAS working environment. We introduce the basic 3-screen layout, how to navigate the SAS Explorer window,

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

Stata: A Brief Introduction Biostatistics

Stata: A Brief Introduction Biostatistics Stata: A Brief Introduction Biostatistics 140.621 2005-2006 1. Statistical Packages There are many statistical packages (Stata, SPSS, SAS, Splus, etc.) Statistical packages can be used for Analysis Data

More information

Lab 1: Introduction, Plotting, Data manipulation

Lab 1: Introduction, Plotting, Data manipulation Linear Statistical Models, R-tutorial Fall 2009 Lab 1: Introduction, Plotting, Data manipulation If you have never used Splus or R before, check out these texts and help pages; http://cran.r-project.org/doc/manuals/r-intro.html,

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

LAB #1: DESCRIPTIVE STATISTICS WITH R

LAB #1: DESCRIPTIVE STATISTICS WITH R NAVAL POSTGRADUATE SCHOOL LAB #1: DESCRIPTIVE STATISTICS WITH R Statistics (OA3102) Lab #1: Descriptive Statistics with R Goal: Introduce students to various R commands for descriptive statistics. Lab

More information

Chemical Reaction dataset ( https://stat.wvu.edu/~cjelsema/data/chemicalreaction.txt )

Chemical Reaction dataset ( https://stat.wvu.edu/~cjelsema/data/chemicalreaction.txt ) JMP Output from Chapter 9 Factorial Analysis through JMP Chemical Reaction dataset ( https://stat.wvu.edu/~cjelsema/data/chemicalreaction.txt ) Fitting the Model and checking conditions Analyze > Fit Model

More information

Opening a Data File in SPSS. Defining Variables in SPSS

Opening a Data File in SPSS. Defining Variables in SPSS Opening a Data File in SPSS To open an existing SPSS file: 1. Click File Open Data. Go to the appropriate directory and find the name of the appropriate file. SPSS defaults to opening SPSS data files with

More information

Introduction (SPSS) Opening SPSS Start All Programs SPSS Inc SPSS 21. SPSS Menus

Introduction (SPSS) Opening SPSS Start All Programs SPSS Inc SPSS 21. SPSS Menus Introduction (SPSS) SPSS is the acronym of Statistical Package for the Social Sciences. SPSS is one of the most popular statistical packages which can perform highly complex data manipulation and analysis

More information

SISG/SISMID Module 3

SISG/SISMID Module 3 SISG/SISMID Module 3 Introduction to R Ken Rice Tim Thornton University of Washington Seattle, July 2018 Introduction: Course Aims This is a first course in R. We aim to cover; Reading in, summarizing

More information

Java Program Structure and Eclipse. Overview. Eclipse Projects and Project Structure. COMP 210: Object-Oriented Programming Lecture Notes 1

Java Program Structure and Eclipse. Overview. Eclipse Projects and Project Structure. COMP 210: Object-Oriented Programming Lecture Notes 1 COMP 210: Object-Oriented Programming Lecture Notes 1 Java Program Structure and Eclipse Robert Utterback In these notes we talk about the basic structure of Java-based OOP programs and how to setup and

More information

ACER Online Assessment and Reporting System (OARS) User Guide

ACER Online Assessment and Reporting System (OARS) User Guide ACER Online Assessment and Reporting System (OARS) User Guide January 2015 Contents Quick guide... 3 Overview... 4 System requirements... 4 Account access... 4 Account set up... 5 Create student groups

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

To make sense of data, you can start by answering the following questions:

To make sense of data, you can start by answering the following questions: Taken from the Introductory Biology 1, 181 lab manual, Biological Sciences, Copyright NCSU (with appreciation to Dr. Miriam Ferzli--author of this appendix of the lab manual). Appendix : Understanding

More information

Math 227 EXCEL / MEGASTAT Guide

Math 227 EXCEL / MEGASTAT Guide Math 227 EXCEL / MEGASTAT Guide Introduction Introduction: Ch2: Frequency Distributions and Graphs Construct Frequency Distributions and various types of graphs: Histograms, Polygons, Pie Charts, Stem-and-Leaf

More information

Intro to R. Fall Fall 2017 CS130 - Intro to R 1

Intro to R. Fall Fall 2017 CS130 - Intro to R 1 Intro to R Fall 2017 Fall 2017 CS130 - Intro to R 1 Intro to R R is a language and environment that allows: Data management Graphs and tables Statistical analyses You will need: some basic statistics We

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

Introduction to VA Analysis using openva the R Shiny App in Windows 10

Introduction to VA Analysis using openva the R Shiny App in Windows 10 Introduction to VA Analysis using openva the R Shiny App in Windows 10 Jason Thomas & Sam Clark September 28, 2017 1 Introduction There are several methods for analyzing verbal autopsy (VA) data with the

More information

Orientation Assignment for Statistics Software (nothing to hand in) Mary Parker,

Orientation Assignment for Statistics Software (nothing to hand in) Mary Parker, Orientation to MINITAB, Mary Parker, mparker@austincc.edu. Last updated 1/3/10. page 1 of Orientation Assignment for Statistics Software (nothing to hand in) Mary Parker, mparker@austincc.edu When you

More information

IN-CLASS EXERCISE: INTRODUCTION TO R

IN-CLASS EXERCISE: INTRODUCTION TO R NAVAL POSTGRADUATE SCHOOL IN-CLASS EXERCISE: INTRODUCTION TO R Survey Research Methods Short Course Marine Corps Combat Development Command Quantico, Virginia May 2013 In-class Exercise: Introduction to

More information

Multiple Sequence Alignment

Multiple Sequence Alignment Introduction to Bioinformatics online course: IBT Multiple Sequence Alignment Lec3: Navigation in Cursor mode By Ahmed Mansour Alzohairy Professor (Full) at Department of Genetics, Zagazig University,

More information

The Very Basics of the R Interpreter

The Very Basics of the R Interpreter Chapter 2 The Very Basics of the R Interpreter OK, the computer is fired up. We have R installed. It is time to get started. 1. Start R by double-clicking on the R desktop icon. 2. Alternatively, open

More information

ST Lab 1 - The basics of SAS

ST Lab 1 - The basics of SAS ST 512 - Lab 1 - The basics of SAS What is SAS? SAS is a programming language based in C. For the most part SAS works in procedures called proc s. For instance, to do a correlation analysis there is proc

More information

An Introduction to MATLAB

An Introduction to MATLAB An Introduction to MATLAB Day 1 Simon Mitchell Simon.Mitchell@ucla.edu High level language Programing language and development environment Built-in development tools Numerical manipulation Plotting of

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

Lab 1 Introduction to R

Lab 1 Introduction to R Lab 1 Introduction to R Date: August 23, 2011 Assignment and Report Due Date: August 30, 2011 Goal: The purpose of this lab is to get R running on your machines and to get you familiar with the basics

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

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

Module 1: Introduction RStudio

Module 1: Introduction RStudio Module 1: Introduction RStudio Contents Page(s) Installing R and RStudio Software for Social Network Analysis 1-2 Introduction to R Language/ Syntax 3 Welcome to RStudio 4-14 A. The 4 Panes 5 B. Calculator

More information

Make View: Check Code

Make View: Check Code Lesson 2 Make View: Check Code SUMMARY This lesson is an introduction to creating Check Code inside the Make View module of Epi Info. In this lesson, you will learn how to customize your survey by creating

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

Surviving SPSS.

Surviving SPSS. Surviving SPSS http://dataservices.gmu.edu/workshops/spss http://dataservices.gmu.edu/software/spss Debby Kermer George Mason University Libraries Data Services Research Consultant Mason Data Services

More information

Getting started with Minitab 14 for Windows

Getting started with Minitab 14 for Windows INFORMATION SYSTEMS SERVICES Getting started with Minitab 14 for Windows This document provides an introduction to the Minitab (Version 14) statistical package. AUTHOR: Information Systems Services, University

More information

Generalized Linear Models

Generalized Linear Models Generalized Linear Models Methods@Manchester Summer School Manchester University July 2 6, 2018 Software and Data www.research-training.net/manchester2018 Graeme.Hutcheson@manchester.ac.uk University of

More information

Applied Calculus. Lab 1: An Introduction to R

Applied Calculus. Lab 1: An Introduction to R 1 Math 131/135/194, Fall 2004 Applied Calculus Profs. Kaplan & Flath Macalester College Lab 1: An Introduction to R Goal of this lab To begin to see how to use R. What is R? R is a computer package for

More information

Analysis of Networks with Interactive MOdelling. User s Manual

Analysis of Networks with Interactive MOdelling. User s Manual Analysis of Networks with Interactive MOdelling User s Manual Contents 1 Requirements and installation 1 1.1 Java............................. 1 1.2 Cytoscape........................... 2 1.3 UPPAAL...........................

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

- 1 - Fig. A5.1 Missing value analysis dialog box

- 1 - Fig. A5.1 Missing value analysis dialog box WEB APPENDIX Sarstedt, M. & Mooi, E. (2019). A concise guide to market research. The process, data, and methods using SPSS (3 rd ed.). Heidelberg: Springer. Missing Value Analysis and Multiple Imputation

More information

Basic concepts and terms

Basic concepts and terms CHAPTER ONE Basic concepts and terms I. Key concepts Test usefulness Reliability Construct validity Authenticity Interactiveness Impact Practicality Assessment Measurement Test Evaluation Grading/marking

More information

Right-click on whatever it is you are trying to change Get help about the screen you are on Help Help Get help interpreting a table

Right-click on whatever it is you are trying to change Get help about the screen you are on Help Help Get help interpreting a table Q Cheat Sheets What to do when you cannot figure out how to use Q What to do when the data looks wrong Right-click on whatever it is you are trying to change Get help about the screen you are on Help Help

More information

6.034 Design Assignment 2

6.034 Design Assignment 2 6.034 Design Assignment 2 April 5, 2005 Weka Script Due: Friday April 8, in recitation Paper Due: Wednesday April 13, in class Oral reports: Friday April 15, by appointment The goal of this assignment

More information

Surviving SPSS.

Surviving SPSS. Surviving SPSS http://dataservices.gmu.edu/workshops/spss http://dataservices.gmu.edu/software/spss Debby Kermer George Mason University Libraries Data Services Research Consultant Mason Data Services

More information

Welcome to MarkBookWeb : You re about to become acquainted with the finest classroom management program available today.

Welcome to MarkBookWeb : You re about to become acquainted with the finest classroom management program available today. QUICK START GUIDE INTRODUCTION Welcome to MarkBookWeb : You re about to become acquainted with the finest classroom management program available today. MarkBookWeb will work for you as a 1. Class Manager:

More information

STAT:5400 Computing in Statistics

STAT:5400 Computing in Statistics STAT:5400 Computing in Statistics Introduction to SAS Lecture 18 Oct 12, 2015 Kate Cowles 374 SH, 335-0727 kate-cowles@uiowaedu SAS SAS is the statistical software package most commonly used in business,

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

Research Methods for Business and Management. Session 8a- Analyzing Quantitative Data- using SPSS 16 Andre Samuel

Research Methods for Business and Management. Session 8a- Analyzing Quantitative Data- using SPSS 16 Andre Samuel Research Methods for Business and Management Session 8a- Analyzing Quantitative Data- using SPSS 16 Andre Samuel A Simple Example- Gym Purpose of Questionnaire- to determine the participants involvement

More information

Practical Quantitative Analysis

Practical Quantitative Analysis Manchester University Dealing with Data in R www.research-training.net/2018manchesterma Graeme.Hutcheson@manchester.ac.uk University of Manchester Your MA dissertation data If you are going to be using

More information

An Introductory Tutorial: Learning R for Quantitative Thinking in the Life Sciences. Scott C Merrill. September 5 th, 2012

An Introductory Tutorial: Learning R for Quantitative Thinking in the Life Sciences. Scott C Merrill. September 5 th, 2012 An Introductory Tutorial: Learning R for Quantitative Thinking in the Life Sciences Scott C Merrill September 5 th, 2012 Chapter 2 Additional help tools Last week you asked about getting help on packages.

More information

PSS718 - Data Mining

PSS718 - Data Mining Lecture 5 - Hacettepe University October 23, 2016 Data Issues Improving the performance of a model To improve the performance of a model, we mostly improve the data Source additional data Clean up the

More information

An Introduction to Stata Exercise 1

An Introduction to Stata Exercise 1 An Introduction to Stata Exercise 1 Anna Folke Larsen, September 2016 1 Table of Contents 1 Introduction... 1 2 Initial options... 3 3 Reading a data set from a spreadsheet... 5 4 Descriptive statistics...

More information

Lastly, in case you don t already know this, and don t have Excel on your computers, you can get it for free through IT s website under software.

Lastly, in case you don t already know this, and don t have Excel on your computers, you can get it for free through IT s website under software. Welcome to Basic Excel, presented by STEM Gateway as part of the Essential Academic Skills Enhancement, or EASE, workshop series. Before we begin, I want to make sure we are clear that this is by no means

More information

Code::Blocks Student Manual

Code::Blocks Student Manual Code::Blocks Student Manual Lawrence Goetz, Network Administrator Yedidyah Langsam, Professor and Theodore Raphan, Distinguished Professor Dept. of Computer and Information Science Brooklyn College of

More information

Univariate Statistics Summary

Univariate Statistics Summary Further Maths Univariate Statistics Summary Types of Data Data can be classified as categorical or numerical. Categorical data are observations or records that are arranged according to category. For example:

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

Multi-Sponsor Environment. SAS Clinical Trial Data Transparency User Guide

Multi-Sponsor Environment. SAS Clinical Trial Data Transparency User Guide Multi-Sponsor Environment SAS Clinical Trial Data Transparency User Guide Version 6.0 01 December 2017 Contents Contents 1 Overview...1 2 Setting up Your Account...3 2.1 Completing the Initial Email and

More information

Semester 2, 2018: Lab 1

Semester 2, 2018: Lab 1 Semester 2, 2018: Lab 1 S2 2018 Lab 1 This lab has two parts. Part A is intended to help you familiarise yourself with the computing environment found on the CSIT lab computers which you will be using

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

Computers and statistical software such as the Statistical Package for the Social Sciences (SPSS) make complex statistical

Computers and statistical software such as the Statistical Package for the Social Sciences (SPSS) make complex statistical Appendix C How to Use a Statistical Package With The Assistance of Lisa M. Gilman and with Contributions By Joan Saxton Weber Computers and statistical software such as the Statistical Package for the

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

roboturtle Documentation

roboturtle Documentation roboturtle Documentation Release 0.1 Nicholas A. Del Grosso November 28, 2016 Contents 1 Micro-Workshop 1: Introduction to Python with Turtle Graphics 3 1.1 Workshop Description..........................................

More information

Idea: Give Students real world experience using data mining tools with messy data

Idea: Give Students real world experience using data mining tools with messy data 1 SIIM Data Mining Lab Draft SIIM 2015 v20150526 Authors: Prerna Mohod, MS, University of Maryland Medical Center Chris Meenan, CIIP, University of Maryland School of Medicine Luciano Prevedello, MD Ohio

More information

A whirlwind introduction to using R for your research

A whirlwind introduction to using R for your research A whirlwind introduction to using R for your research Jeremy Chacón 1 Outline 1. Why use R? 2. The R-Studio work environment 3. The mock experimental analysis: 1. Writing and running code 2. Getting data

More information

How to Use a Statistical Package

How to Use a Statistical Package APPENDIX D How to Use a Statistical Package Candace M. Evans, Lisa M. Gilman, Jeffrey Xavier, Joan Saxton Weber Computers and statistical software such as the Statistical Package for the Social Sciences

More information

Lab #1: Introduction to Basic SAS Operations

Lab #1: Introduction to Basic SAS Operations Lab #1: Introduction to Basic SAS Operations Getting Started: OVERVIEW OF SAS (access lab pages at http://www.stat.lsu.edu/exstlab/) There are several ways to open the SAS program. You may have a SAS icon

More information

A Simple Guide to Using SPSS (Statistical Package for the. Introduction. Steps for Analyzing Data. Social Sciences) for Windows

A Simple Guide to Using SPSS (Statistical Package for the. Introduction. Steps for Analyzing Data. Social Sciences) for Windows A Simple Guide to Using SPSS (Statistical Package for the Social Sciences) for Windows Introduction ٢ Steps for Analyzing Data Enter the data Select the procedure and options Select the variables Run the

More information

IENG484 Quality Engineering Lab 1 RESEARCH ASSISTANT SHADI BOLOUKIFAR

IENG484 Quality Engineering Lab 1 RESEARCH ASSISTANT SHADI BOLOUKIFAR IENG484 Quality Engineering Lab 1 RESEARCH ASSISTANT SHADI BOLOUKIFAR SPSS (Statistical package for social science) Originally is acronym of Statistical Package for the Social Science but, now it stands

More information

Computers and Computation. The Modern Computer. The Operating System. The Operating System

Computers and Computation. The Modern Computer. The Operating System. The Operating System The Modern Computer Computers and Computation What is a computer? A machine that manipulates data according to instructions. Despite their apparent complexity, at the lowest level computers perform simple

More information

Notepad++ The COMPSCI 101 Text Editor for Windows. What is a text editor? Install Python 3. Installing Notepad++

Notepad++  The COMPSCI 101 Text Editor for Windows. What is a text editor? Install Python 3. Installing Notepad++ Notepad++ The COMPSCI 101 Text Editor for Windows The text editor that we will be using in the Computer Science labs for creating our Python programs is called Notepad++ and is freely available for the

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

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

How to Use a Statistical Package

How to Use a Statistical Package APPENDIX F How to Use a Statistical Package With the assistance of Lisa M. Gilman and Jeffrey Xavier and with contributions by Joan Saxton Weber Computers and statistical software such as the Statistical

More information

Once file and folders are added to your Module Content area you will need to link to them using the Item tool.

Once file and folders are added to your Module Content area you will need to link to them using the Item tool. VITAL how to guides elearning Unit Last updated: 01.10.2010 Course Files tool Overview Course Files tool enables you to: Quickly copy large numbers of files into a VITAL module. Files can be dragged and

More information

Step by step to getting R installed on your computer

Step by step to getting R installed on your computer Step by step to getting R installed on your computer 1. Go to the R-Project webpage (www.r-project.org) 2. Select the CRAN option under Download on the left hand side of the page: 3. On the CRAN Mirrors

More information

Introduction. About this Document. What is SPSS. ohow to get SPSS. oopening Data

Introduction. About this Document. What is SPSS. ohow to get SPSS. oopening Data Introduction About this Document This manual was written by members of the Statistical Consulting Program as an introduction to SPSS 12.0. It is designed to assist new users in familiarizing themselves

More information

Style Report Enterprise Edition

Style Report Enterprise Edition INTRODUCTION Style Report Enterprise Edition Welcome to Style Report Enterprise Edition! Style Report is a report design and interactive analysis package that allows you to explore, analyze, monitor, report,

More information

To complete this project, you will need the following folder:

To complete this project, you will need the following folder: = CHAPTER 1 Windows 7 More Skills 12 Use Libraries to Organize Files A library is a collection of files and folders stored in different locations on your computer that can be viewed as a single folder.

More information

SPSS. Faiez Mussa. 2 nd class

SPSS. Faiez Mussa. 2 nd class SPSS Faiez Mussa 2 nd class Objectives To describe opening and closing SPSS To introduce the look and structure of SPSS To introduce the data entry windows: Data View and Variable View To outline the components

More information

Introduction to Stata Session 3

Introduction to Stata Session 3 Introduction to Stata Session 3 Tarjei Havnes 1 ESOP and Department of Economics University of Oslo 2 Research department Statistics Norway ECON 3150/4150, UiO, 2015 Before we start 1. In your folder statacourse:

More information

Econ Stata Tutorial I: Reading, Organizing and Describing Data. Sanjaya DeSilva

Econ Stata Tutorial I: Reading, Organizing and Describing Data. Sanjaya DeSilva Econ 329 - Stata Tutorial I: Reading, Organizing and Describing Data Sanjaya DeSilva September 8, 2008 1 Basics When you open Stata, you will see four windows. 1. The Results window list all the commands

More information

Homework 1 Excel Basics

Homework 1 Excel Basics Homework 1 Excel Basics Excel is a software program that is used to organize information, perform calculations, and create visual displays of the information. When you start up Excel, you will see the

More information