Statistics for Biologists: Practicals
|
|
- Jason Robbins
- 5 years ago
- Views:
Transcription
1 Statistics for Biologists: Practicals Peter Stoll University of Basel HS 2012 Peter Stoll (University of Basel) Statistics for Biologists: Practicals HS / 22 Outline Getting started Essentials of the R Language Reading Data into R More fancy GUIs Peter Stoll (University of Basel) Statistics for Biologists: Practicals HS / 22
2 Getting started Download and install R Statistics for Biologists: Practicals HS / 22 Getting started Download and install R Statistics for Biologists: Practicals HS / 22
3 Getting started Running R R s Console (basic input/output device) after R has been started. Statistics for Biologists: Practicals HS / 22 Getting started Command Line The command line starts with a prompt (>) after which you can type commands 1. For example > help.start() > n <- 10 # assign 10 to scalar n Moreover, the command line is actually a mini editor and commands can be recalled (up-arrow), edited (ctrl-a, ctrl-e) and re-executed by hitting the Return key. Of course, the Introduction to R help page can also be called directly: 1 Note: Everything after # is treated as comment and is not executed Statistics for Biologists: Practicals HS / 22
4 Getting started Typesetting To improve readability we use distinct typesetting. Input R code such as the command n <- 5 or d <- data.frame is typeset in Courier. Longer sections of code are shown as blocks of command, mimicking the R console (i.e. also including the command prompt > at the beginning of the line): > n <- 5 # a scalar (single number) > x <- 1:n # a vector of numbers > char <- letters[1:n] # a vector of characters > d <- data.frame(x,char) # a data.frame combining numbers and characters > d x char 1 1 a 2 2 b 3 3 c 4 4 d 5 5 e The Output produced by R in the Console is again Courier, but black. Statistics for Biologists: Practicals HS / 22 Getting started Special characters Name char meaning Number sign: # used for comments Dollar sign: $ used to index columns of data frames Parenthesis: (...) arguments of functions Brackets: [...] used to index vectors Braces: {...} control structures (e.g. if, loop) Circumflex: to the power of (e.g. 4 2 ) Tilde: specification of statistical model Ampersand: & logical AND Vertical bar: logical OR Exclamation:! logical NOT Percent sign: % %*% matrix multiplication Some often used special characters Statistics for Biologists: Practicals HS / 22
5 Essentials of the R Language R is essentially a programming language and environment for Data handling and management Graphical representation Statistical analysis The language is case sensitive (a!= A) and elementary commands 2 consist of Assignments (> n <- 10) evaluated passed to variable not automatically printed Expressions (> 2 + 3) evaluated result printed value lost 2 if a command is not completed at the end of a line, R will give a different prompt (+) Statistics for Biologists: Practicals HS / 22 Essentials of the R Language Scalars and Variables We can define scalars (single value) and variables or vectors (multiple values) and assign values in various ways. Some simple examples: > n <- 10 # an assignment > n # request output [1] 10 > x <- 1:n > x [1] > y <- x # another asignment > i < # an assignment using an expression > i [1] 5 Statistics for Biologists: Practicals HS / 22
6 Essentials of the R Language Factors Factors are also very useful as we will see later. > f <- factor(rep(1:2,each=n/2),labels=c("treatment","control")) > f [1] treatment treatment treatment treatment treatment control control [8] control control control Levels: treatment control Use help to find out what the function rep does and how exactly it is used to define the factor f. Statistics for Biologists: Practicals HS / 22 Essentials of the R Language Data frames Variables and factors can be combined to compact structures called data frames. > d <- data.frame(x,y,f) > d x y f treatment treatment treatment treatment treatment control control control control control Statistics for Biologists: Practicals HS / 22
7 Essentials of the R Language Housekeeping A couple of functions to show, clean and maintain your workspace. Use help to get a description of their arguments and try them out. > getwd() # get the working directory > dir() # list files in working directory > ls() # list objects in R's working space > rm() # remove obejcts from working space We will see later that R Studio incorporates most of these commands in it s windows and menues. Statistics for Biologists: Practicals HS / 22 Essentials of the R Language R Scripts Of course, it would be tedious and cumbersome to always work interactively at R s console. A more convenient way to work is with R Scripts. An R Script is a simple text file containing R commands and comments. An R script has big ADVANTAGES. It is a RECORD OF YOUR WORK! permanent repeatable annotated and hence documented cross-platform sharable R scripts can be written in any text editor. Some are more fancy than others and many provide additional functionality (e. g. colored syntax highlighting, check of parenthesis). Some examples: R Studio (will be introduced shortly) Tinn-R (another Tool providing context sensitive editing) R Commander (An R package providing a Graphical User Interface or GUI for statistical analyses) Statistics for Biologists: Practicals HS / 22
8 Essentials of the R Language R Scripts Before we start looking at the more fancy script editors, we use R s built in script editor to write our first script 3. Here s how to do it: Start R use File menue to open a new script write some initial comments using # Comment... write some R commands use File menue Save as... create new folder Statistics for Biologists (or just Work ) Save your R script Change Working directory to the name of the new folder I will go through the steps and show you how to execute the script. Use the following overview of R s GUI with the different windows for your annotations. 3 Mac users will have line numbers and syntax highlighting. PC users don t. Statistics for Biologists: Practicals HS / 22 Essentials of the R Language R Scripts can be executed in different ways 1.) line by line (ctrl-r), usefull for debugging (i.e. find errors) 2.) from the console by using function source(file="file name",echo=true) Note: The script will NOT RUN without producing errors. Exercise: Find the errors, correct them and execute the script. Statistics for Biologists: Practicals HS / 22
9 Reading Data into R Read table Data will usually be read from ordinary text files. > data <- read.table(file="raw_data_1.txt",header=true) > head(data) # check that we read the file we wanted indep dep factor treat treat treat treat treat contr > str(data) # inspect what the structure data contains 'data.frame': 10 obs. of 3 variables: $ indep : int $ dep : num $ factor: Factor w/ 2 levels "contr","treat": Unfortunately, many things can go wrong! Statistics for Biologists: Practicals HS / 22 Reading Data into R Error correction Some important RULES: Names of variables should be single strings without spaces Factor levels should also be single strings without spaces There should be no empty cells... Exercise: You will be given similar files, but with errors or inconsistencies that prevent correct reading into R. Try to understand the error messages that the command read.table produces. Correct the problem by editing the data files and try again. Statistics for Biologists: Practicals HS / 22
10 More fancy GUIs R Studio R Studio ( is an integrated development environment (IDE) to support the development of R code. R Studio facilitates interaction with R. Console window for typing code Data window for reviewing data frame and other data structures Workspace for viewing all of the data loaded into R Plot area for showing visualisations Tabbed window controls to show other displays Some commands we already know (e. g. setwd() or rm(list=ls())) are integrated in Menues. In short, R Studio just organizes the different windows and workspaces and facilitates communication with R through short cuts and Menues. Finally, it has a convenient tool to Import Datasets: check out the Tab Import Dataset in the Window Workspace and History Exercise: Use Import Dataset to read the different files distributed last time. They should still be in the directory you created last time. Statistics for Biologists: Practicals HS / 22 More fancy GUIs R Studio Statistics for Biologists: Practicals HS / 22
11 More fancy GUIs R Studio Some other very usefull features are: Code completion: use tab key (tabulator) while within console or script also works in Script: pressing the tab key with the cursor on a function brings up a list of complete names of functions starting with say plot and a list of its arguments with a short explanation Spread-Sheet like display format clicking on a function in the Workspace window directly opens the corresponding code Integration of package management (demonstrate for Rcmdr) Statistics for Biologists: Practicals HS / 22 More fancy GUIs Rcmdr: R Commander, an R Package that needs to be downloaded and installed 4 Rcmdr is a graphical user interface for statistical analysis Rcmdr uses Menues and supports picking variable names from lists Rcmdr simplifies access to the most essential statistical analysis methods R runs in another window and can be used directly at any time Shows the code that it is running if you select Linear Regression from the Statistic Menue, Rcmdr tells you which R command it used. similarly, if you select histogram or boxplot from the Graphics Menue, Rcmdr tells you which R command it used. The R commands can then be copy pasted into a script and modified. Rcmdr may be helpful for beginners and for teaching. It s rareley used by more experienced users of R. 4 I will use this opportunity to demonstrate how to download and install R Packages Statistics for Biologists: Practicals HS / 22
Computer lab 2 Course: Introduction to R for Biologists
Computer lab 2 Course: Introduction to R for Biologists April 23, 2012 1 Scripting As you have seen, you often want to run a sequence of commands several times, perhaps with small changes. An efficient
More informationInstruction: 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 informationLaboratory Assignment #3 Eclipse CDT
Lab 3 September 12, 2010 CS-2303, System Programming Concepts, A-term 2012 Objective Laboratory Assignment #3 Eclipse CDT Due: at 11:59 pm on the day of your lab session To learn to learn to use the Eclipse
More informationAuthor: Leonore Findsen, Qi Wang, Sarah H. Sellke, Jeremy Troisi
0. Downloading Data from the Book Website 1. Go to http://bcs.whfreeman.com/ips8e 2. Click on Data Sets 3. Click on Data Sets: PC Text 4. Click on Click here to download. 5. Right Click PC Text and choose
More informationIntroduction to R. UCLA Statistical Consulting Center R Bootcamp. Irina Kukuyeva September 20, 2010
UCLA Statistical Consulting Center R Bootcamp Irina Kukuyeva ikukuyeva@stat.ucla.edu September 20, 2010 Outline 1 Introduction 2 Preliminaries 3 Working with Vectors and Matrices 4 Data Sets in R 5 Overview
More informationA 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 informationTutorial (Unix Version)
Tutorial (Unix Version) S.f.Statistik, ETHZ February 26, 2010 Introduction This tutorial will give you some basic knowledge about working with R. It will also help you to familiarize with an environment
More informationAn 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 informationComputer Programming ECIV 2303 Chapter 1 Starting with MATLAB Instructor: Dr. Talal Skaik Islamic University of Gaza Faculty of Engineering
Computer Programming ECIV 2303 Chapter 1 Starting with MATLAB Instructor: Dr. Talal Skaik Islamic University of Gaza Faculty of Engineering 1 Introduction 2 Chapter l Starting with MATLAB This chapter
More informationLecture 1: Getting Started and Data Basics
Lecture 1: Getting Started and Data Basics The first lecture is intended to provide you the basics for running R. Outline: 1. An Introductory R Session 2. R as a Calculator 3. Import, export and manipulate
More informationUsing RExcel and R Commander
Chapter 2 Using RExcel and R Commander Abstract We review the complete set of Rcmdr menu items, including both the action menu items and the active Dataset and model items. We illustrate the output graphs
More informationIntroduction 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 informationIntroduction. Key features and lab exercises to familiarize new users to the Visual environment
Introduction Key features and lab exercises to familiarize new users to the Visual environment January 1999 CONTENTS KEY FEATURES... 3 Statement Completion Options 3 Auto List Members 3 Auto Type Info
More informationR Website R Installation and Folder R Packages R Documentation R Search R Workspace Interface R Common and Important Basic Commands
Table of Content R Website R Installation and Folder R Packages R Documentation R Search R Workspace Interface R Common and Important Basic Commands R Website http://www.r project.org/ Download, Package
More informationAppendix A. Introduction to MATLAB. A.1 What Is MATLAB?
Appendix A Introduction to MATLAB A.1 What Is MATLAB? MATLAB is a technical computing environment developed by The Math- Works, Inc. for computation and data visualization. It is both an interactive system
More informationLab 1. Introduction to R & SAS. R is free, open-source software. Get it here:
Lab 1. Introduction to R & SAS R is free, open-source software. Get it here: http://tinyurl.com/yfet8mj for your own computer. 1.1. Using R like a calculator Open R and type these commands into the R Console
More informationSISG/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 informationHow to program with Matlab (PART 1/3)
Programming course 1 09/12/2013 Martin SZINTE How to program with Matlab (PART 1/3) Plan 0. Setup of Matlab. 1. Matlab: the software interface. - Command window - Command history - Section help - Current
More informationInstalling and running R
Installing and running R The R website: http://www.r-project.org/ R on the web here you can find information on the software, download the current version R-2.9.2 (released on 2009-08-24), packages, tutorials
More informationTutorial (Unix Version)
Tutorial (Unix Version) S.f.Statistik, ETHZ April 11, 2011 Introduction This tutorial will give you some basic knowledge about working with R. It will also help you to familiarize with an environment to
More informationIntroduction to Stata - Session 1
Introduction to Stata - Session 1 Simon, Hong based on Andrea Papini ECON 3150/4150, UiO January 15, 2018 1 / 33 Preparation Before we start Sit in teams of two Download the file auto.dta from the course
More informationTutorial: 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 informationA 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[CALCULATOR OPERATIONS]
Example 1: Set up a table of values (with x-values between 3 and 3) and use it to draw the graph of 3. Press MENU 2: VIEW A: SHOW TABLE 1. Select the GRAPHS option: Or Press MENU 5: TRACE 1: GRAPH TRACE
More informationStata: 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 informationCOMS 6100 Class Notes 3
COMS 6100 Class Notes 3 Daniel Solus September 1, 2016 1 General Remarks The class was split into two main sections. We finished our introduction to Linux commands by reviewing Linux commands I and II
More informationIntroduction to R and R-Studio Toy Program #1 R Essentials. This illustration Assumes that You Have Installed R and R-Studio
Introduction to R and R-Studio 2018-19 Toy Program #1 R Essentials This illustration Assumes that You Have Installed R and R-Studio If you have not already installed R and RStudio, please see: Windows
More informationModule 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 informationEpisode 1 Using the Interpreter
Episode 1 Using the Interpreter Anaconda We recommend, but do not require, the Anaconda distribution from Continuum Analytics (www.continuum.io). An overview is available at https://docs.continuum.io/anaconda.
More informationSQL Server. Management Studio. Chapter 3. In This Chapter. Management Studio. c Introduction to SQL Server
Chapter 3 SQL Server Management Studio In This Chapter c Introduction to SQL Server Management Studio c Using SQL Server Management Studio with the Database Engine c Authoring Activities Using SQL Server
More informationCreating a new CDC policy using the Database Administration Console
Creating a new CDC policy using the Database Administration Console When you start Progress Developer Studio for OpenEdge for the first time, you need to specify a workspace location. A workspace is a
More informationBarry Grant
Barry Grant bjgrant@umich.edu http://thegrantlab.org What is R? R is a freely distributed and widely used programing language and environment for statistical computing, data analysis and graphics. R provides
More informationIN-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 informationStat 302 Statistical Software and Its Applications Introduction to R
Stat 302 Statistical Software and Its Applications Introduction to R Yen-Chi Chen Department of Statistics, University of Washington Autumn 2016 1 / 23 Statistical Software There are many, many statistical
More informationAn 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 informationS-PLUS INSTRUCTIONS FOR CASE STUDIES IN THE STATISTICAL SLEUTH
S-PLUS INSTRUCTIONS FOR CASE STUDIES IN THE STATISTICAL SLEUTH Dan Schafer January, 2002 This guide contains brief instructions for accomplishing the graphical and numerical analyses of the case studies
More informationNo Name What it does? 1 attach Attach your data frame to your working environment. 2 boxplot Creates a boxplot.
No Name What it does? 1 attach Attach your data frame to your working environment. 2 boxplot Creates a boxplot. 3 confint A metafor package function that gives you the confidence intervals of effect sizes.
More informationLAB #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 informationAn Introductory Guide to SpecTRM
An Introductory Guide to SpecTRM SpecTRM (pronounced spectrum and standing for Specification Tools and Requirements Methodology) is a toolset to support the specification and development of safe systems
More informationpmg John Verzani October 25, 2007
pmg John Verzani pmgrgui@gmail.com October 25, 2007 Abstract: The pmg package provides a simple GUI for R using the GTK2 toolkit. the pmg GUI is similar in intent to the more mature Rcmdr GUI which uses
More informationIntroduction to Scientific Computing with Matlab
UNIVERSITY OF WATERLOO Introduction to Scientific Computing with Matlab SAW Training Course R. William Lewis Computing Consultant Client Services Information Systems & Technology 2007 Table of Contents
More informationR 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 informationFundamentals: Expressions and Assignment
Fundamentals: Expressions and Assignment A typical Python program is made up of one or more statements, which are executed, or run, by a Python console (also known as a shell) for their side effects e.g,
More informationREPAST SIMPHONY SYSTEM DYNAMICS GETTING STARTED
REPAST SIMPHONY SYSTEM DYNAMICS GETTING STARTED MARK BRAGEN 1. System Dynamics in Repast Simphony New to this release of Repast Simphony is support for developing System Dynamics models from scratch. This
More informationExamples: Directory pathname: File pathname: /home/username/ics124/assignments/ /home/username/ops224/assignments/assn1.txt
ULI101 Week 03 Week Overview Absolute and relative pathnames File name expansion Shell basics Command execution in detail Recalling and editing previous commands Quoting Pathnames A pathname is a list
More informationLab: Supplying Inputs to Programs
Steven Zeil May 25, 2013 Contents 1 Running the Program 2 2 Supplying Standard Input 4 3 Command Line Parameters 4 1 In this lab, we will look at some of the different ways that basic I/O information can
More informationBarchard 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 informationStatistical Software Camp: Introduction to R
Statistical Software Camp: Introduction to R Day 1 August 24, 2009 1 Introduction 1.1 Why Use R? ˆ Widely-used (ever-increasingly so in political science) ˆ Free ˆ Power and flexibility ˆ Graphical capabilities
More information1 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 informationStat 302 Statistical Software and Its Applications Introduction to R
Stat 302 Statistical Software and Its Applications Introduction to R Fritz Scholz Department of Statistics, University of Washington Winter Quarter 2015 January 8, 2015 2 Statistical Software There are
More informationSTAT 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 informationIT 374 C# and Applications/ IT695 C# Data Structures
IT 374 C# and Applications/ IT695 C# Data Structures Module 2.1: Introduction to C# App Programming Xianrong (Shawn) Zheng Spring 2017 1 Outline Introduction Creating a Simple App String Interpolation
More informationJCreator. Starting JCreator
1 of 12 9/29/2005 2:31 PM JCreator JCreator is a commercial Java environment available from http://www.jcreator.com. Inexpensive academic licenses and a free "limited edition" are available. JCreator runs
More informationChapter 1 Introduction to using R with Mind on Statistics
Chapter 1 Introduction to using R with Mind on Statistics Manual overview The purpose of this manual is to help you learn how to use the free R software to perform the graphs, simulations, and data analyses
More informationVisual Studio.NET. Although it is possible to program.net using only the command OVERVIEW OF VISUAL STUDIO.NET
Chapter. 03 9/17/01 6:08 PM Page 35 Visual Studio.NET T H R E E Although it is possible to program.net using only the command line compiler, it is much easier and more enjoyable to use Visual Studio.NET.
More informationIntroduction 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 information1.00 Lecture 2. What s an IDE?
1.00 Lecture 2 Interactive Development Environment: Eclipse Reading for next time: Big Java: sections 3.1-3.9 (Pretend the method is main() in each example) What s an IDE? An integrated development environment
More informationR syntax guide. Richard Gonzalez Psychology 613. August 27, 2015
R syntax guide Richard Gonzalez Psychology 613 August 27, 2015 This handout will help you get started with R syntax. There are obviously many details that I cannot cover in these short notes but these
More informationPython Programming Exercises 1
Python Programming Exercises 1 Notes: throughout these exercises >>> preceeds code that should be typed directly into the Python interpreter. To get the most out of these exercises, don t just follow them
More informationEssentials for the TI-83+
Essentials for the TI-83+ Special Keys. O S O O Press and release, then press the appropriate key to access the 2nd (yellow) operation. Press and release to access characters and letters indicated above
More informationComputers 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 informationBGGN 213 Working with R packages Barry Grant
BGGN 213 Working with R packages Barry Grant http://thegrantlab.org/bggn213 Recap From Last Time: Why it is important to visualize data during exploratory data analysis. Discussed data visualization best
More informationContents. Foreword. Examples of GeoGebra Applet Construction 1 A Straight Line Graph... 1 A Quadratic Graph... 6 The Scalar Product...
Contents Foreword ii Examples of GeoGebra Applet Construction 1 A Straight Line Graph............................... 1 A Quadratic Graph................................. 6 The Scalar Product.................................
More informationChapter 5 Making Life Easier with Templates and Styles
Chapter 5: Making Life Easier with Templates and Styles 53 Chapter 5 Making Life Easier with Templates and Styles For most users, uniformity within and across documents is important. OpenOffice.org supports
More informationModule 3: Working with C/C++
Module 3: Working with C/C++ Objective Learn basic Eclipse concepts: Perspectives, Views, Learn how to use Eclipse to manage a remote project Learn how to use Eclipse to develop C programs Learn how to
More informationP. Lafaye de Micheaux 1 1 Mathematics and Statistics Departement Université de Montréal CANADA New South Wales University Sydney, Australia July 1, 2014 https://biostatisticien.eu/springer/courserw7.pdf
More informationAutomatic generation of Requirement Specifications (Verification Section) in DOORS
Automatic generation of Requirement Specifications (Verification Section) in DOORS Monika Morgan Feb 08, 2008 Requirement Specifications Department of Defense requirement specifications are primarily composed
More informationCSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup
CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup Purpose: The purpose of this lab is to setup software that you will be using throughout the term for learning about Python
More informationDealing with Data in Excel 2013/2016
Dealing with Data in Excel 2013/2016 Excel provides the ability to do computations and graphing of data. Here we provide the basics and some advanced capabilities available in Excel that are useful for
More informationAn Introduction to MATLAB See Chapter 1 of Gilat
1 An Introduction to MATLAB See Chapter 1 of Gilat Kipp Martin University of Chicago Booth School of Business January 25, 2012 Outline The MATLAB IDE MATLAB is an acronym for Matrix Laboratory. It was
More informationUniversity of Wollongong School of Mathematics and Applied Statistics. STAT231 Probability and Random Variables Introductory Laboratory
1 R and RStudio University of Wollongong School of Mathematics and Applied Statistics STAT231 Probability and Random Variables 2014 Introductory Laboratory RStudio is a powerful statistical analysis package.
More informationYou will have to download all of the data used from the internet before R can access the data.
0. Downloading Data You will have to download all of the data used from the internet before R can access the data. If the file accessed via a link, then right click on the file name and save it to a directory
More informationCreating Word Outlines from Compendium on a Mac
Creating Word Outlines from Compendium on a Mac Using the Compendium Outline Template and Macro for Microsoft Word for Mac: Background and Tutorial Jeff Conklin & KC Burgess Yakemovic, CogNexus Institute
More informationApplied 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 informationSTAT 571A Advanced Statistical Regression Analysis. Introduction to R NOTES
STAT 571A Advanced Statistical Regression Analysis Introduction to R NOTES 2015 University of Arizona Statistics GIDP. All rights reserved, except where previous rights exist. No part of this material
More informationBarchard 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 informationCSCI 161: Introduction to Programming I Lab 1a: Programming Environment: Linux and Eclipse
CSCI 161: Introduction to Programming I Lab 1a: Programming Environment: Linux and Eclipse Goals - to become acquainted with the Linux/Gnome environment Overview For this lab, you will login to a workstation
More informationCertified Data Science with Python Professional VS-1442
Certified Data Science with Python Professional VS-1442 Certified Data Science with Python Professional Certified Data Science with Python Professional Certification Code VS-1442 Data science has become
More informationPOL 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 informationUsing the Zoo Workstations
Using the Zoo Workstations Version 1.86: January 16, 2014 If you ve used Linux before, you can probably skip many of these instructions, but skim just in case. Please direct corrections and suggestions
More informationChapter 2 Assignment (due Thursday, April 19)
(due Thursday, April 19) Introduction: The purpose of this assignment is to analyze data sets by creating histograms and scatterplots. You will use the STATDISK program for both. Therefore, you should
More informationTNM093 Practical Data Visualization and Virtual Reality Laboratory Platform
November 8, 2016 1 Introduction The laboratory exercises in this course are to be conducted in an environment that might not be familiar to many of you. It is based on open source software. We use an open
More informationUpper left area. It is R Script. Here you will write the code. 1. The goal of this problem set is to learn how to use HP filter in R.
Instructions Setting up R Follow these steps if you are new with R: 1. Install R using the following link http://cran.us.r-project.org/ Make sure to select the version compatible with your operative system.
More informationR in Linguistic Analysis. Week 2 Wassink Autumn 2012
R in Linguistic Analysis Week 2 Wassink Autumn 2012 Today R fundamentals The anatomy of an R help file but first... How did you go about learning the R functions in the reading? More help learning functions
More informationWelcome to the Bash Workshop!
Welcome to the Bash Workshop! If you prefer to work on your own, already know programming or are confident in your abilities, please sit in the back. If you prefer guided exercises, are completely new
More informationExperimental 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 informationStatistics 528: Minitab Handout 1
Statistics 528: Minitab Handout 1 Throughout the STAT 528-530 sequence, you will be asked to perform numerous statistical calculations with the aid of the Minitab software package. This handout will get
More informationBuilding Big Macs. Opening Explanation. Exploring. Student Hand-out
Student Hand-out Opening Explanation In this investigation we will explore the nature of a reaction from the POV (point of view) of the ingredients. When chemicals mix to form compounds they don t always
More informationMATLAB Programming for Numerical Computation Dr. Niket Kaisare Department Of Chemical Engineering Indian Institute of Technology, Madras
MATLAB Programming for Numerical Computation Dr. Niket Kaisare Department Of Chemical Engineering Indian Institute of Technology, Madras Module No. #01 Lecture No. #1.1 Introduction to MATLAB programming
More informationGetting Started (1.8.7) 9/2/2009
2 Getting Started For the examples in this section, Microsoft Windows and Java will be used. However, much of the information applies to other operating systems and supported languages for which you have
More informationAt the shell prompt, enter idlde
IDL Workbench Quick Reference The IDL Workbench is IDL s graphical user interface and integrated development environment. The IDL Workbench is based on the Eclipse framework; if you are already familiar
More informationECO375 Tutorial 1 Introduction to Stata
ECO375 Tutorial 1 Introduction to Stata Matt Tudball University of Toronto Mississauga September 14, 2017 Matt Tudball (University of Toronto) ECO375H5 September 14, 2017 1 / 25 What Is Stata? Stata is
More informationGetting started with simulating data in R: some helpful functions and how to use them Ariel Muldoon August 28, 2018
Getting started with simulating data in R: some helpful functions and how to use them Ariel Muldoon August 28, 2018 Contents Overview 2 Generating random numbers 2 rnorm() to generate random numbers from
More informationCS/IT 114 Introduction to Java, Part 1 FALL 2016 CLASS 3: SEP. 13TH INSTRUCTOR: JIAYIN WANG
CS/IT 114 Introduction to Java, Part 1 FALL 2016 CLASS 3: SEP. 13TH INSTRUCTOR: JIAYIN WANG 1 Notice Reading Assignment Chapter 1: Introduction to Java Programming Homework 1 It is due this coming Sunday
More informationMATLAB Project: Getting Started with MATLAB
Name Purpose: To learn to create matrices and use various MATLAB commands for reference later MATLAB built-in functions used: [ ] : ; + - * ^, size, help, format, eye, zeros, ones, diag, rand, round, cos,
More informationLab 1: Introduction to C Programming. (Creating a program using the Microsoft developer Studio, Compiling and Linking)
Lab 1: Introduction to C Programming (Creating a program using the Microsoft developer Studio, Compiling and Linking) Learning Objectives 0. To become familiar with Microsoft Visual C++ 6.0 environment
More informationRecap From Last Time: Today s Learning Goals BIMM 143. Data analysis with R Lecture 4. Barry Grant.
BIMM 143 Data analysis with R Lecture 4 Barry Grant http://thegrantlab.org/bimm143 Recap From Last Time: Substitution matrices: Where our alignment match and mis-match scores typically come from Comparing
More informationAn 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 informationR 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 informationTREX Set-Up Guide: Creating a TREX Executable File for Windows
TREX Set-Up Guide: Creating a TREX Executable File for Windows Prepared By: HDR 1 International Boulevard, 10 th Floor, Suite 1000 Mahwah, NJ 07495 May 13, 2013 Creating a TREX Executable File for Windows
More information