Working with data. Garrett Grolemund. PhD Student / Rice Univeristy Department of Statistics

Size: px
Start display at page:

Download "Working with data. Garrett Grolemund. PhD Student / Rice Univeristy Department of Statistics"

Transcription

1 Working with data Garrett Grolemund PhD Student / Rice Univeristy Department of Statistics Sept 2010

2 1. Loading data 2. Data structures & subsetting 3. Strings vs. factors 4. Combining data 5. Exporting data

3 The data Global school based healthy survey Three countries: Uganda, The Philippines and the United Arab Emirates Variables related to diet and hand washing.

4 Loading data

5 1. Plain text 2. Excel 3. Other stats packages 4. Databases

6 Plain text data stored as text + some type of delimiter to separate the entries

7 tab separated Houston Dallas El Paso read.delim("filepath")

8 separated Houston Dallas El Paso read.delim("filepath", sep = " ")

9 , separated Houston,15000,43,19 Dallas,30000,21,45 El Paso,12000,78,02 read.csv("filepath")

10 fixed width Houston Dallas El Paso read.fwf("filepath")

11 # load our data set gshs <- read.csv("gshs.csv") # Hint: make sure gshs.csv is in your working directory!

12 Tips # If you know what is used for missing values, use it read.csv(file, na.string = ".") read.csv(file, na.string = "-99") # Use count.fields to check the number of # observations in each column. The following # call uses the same default as read.csv count.fields(file, sep = ",", quote = "", comment.char = "")

13 Your turn Practice loading all the files in the tricky directory. Use?read.csv, etc. for help.

14 read.csv("tricky-1.csv") read.csv("tricky-2.csv", header = FALSE) read.delim("tricky-3.csv", sep = " ") count.fields("tricky-4.csv", sep = ",")

15 This is what I always do Excel Save as csv. (Use VBA to automate) RODBC::odbcConnectExcel R-data.html#RODBC (uses excel) xlsx::read.xlsx (uses java) gdata::read.xls (uses perl)

16 Other stats packages library(foreign) help(package = foreign)?read.spss?read.dbf?read.xport # If that doesn't work, I've heard good # things about stattransfer: #

17 Databases library(rodbc) library(rmysql) library(rpostgresql) library(roracle) library(rsqlite) # A complete list: # index.html

18 Your turn Work through the code in 02-sqlite.r to create a database, load data and then pull some out.

19 Data structures

20 Data types Class Example numeric 3.14 character logical Rice TRUE etc....

21 1d Vector List 2d Matrix Data frame nd Array Same types Different types

22 str()

23 Variables Size to append 1d names() length() c() 2d colnames() rownames() ncol() nrow() cbind() rbind() nd dimnames() dim() abind() (special package)

24 Subsetting Vectors x[1:4] Matrices Arrays Lists x[1:4, ] x[, 2:3, ] x[[1]] x$name x[1:4,, drop = F] x[1]

25 blank include all integer logical character +: include -: exclude include TRUEs e.g, x[v1 > 50, ] lookup by name

26 Aside: never use attach! Non-local effects; not symmetric; implicit, not explicit. Makes it very easy to make mistakes. Use with() instead. with(bnames, table(year, length))

27 Your turn What type of data structure is gshs? Which variables of gshs as saved as numerics? Display (only) the first 5 rows of gshs.

28 Strings vs factors

29 Factors R s way of storing categorical data Have ordered levels() which: Control order on plots and in table() Are preserved across subsets Affect contrasts in linear models

30 # Creating a factor x <- sample(5, 20, rep = T) a <- factor(x) b <- factor(x, levels = 1:10) c <- factor(x, labels = letters[1:5]) levels(a); levels(b); levels(c) table(a); table(b); table(c)

31 # Subsets b2 <- b[1:5] levels(b2) table(b2) # Remove extra levels b2[, drop=t] factor(b2) # Convert to character b3 <- as.character(b) table(b3) table(b3[1:5])

32 as.numeric(a) as.numeric(b) as.numeric(c) d <- factor(x, labels = 2^(1:5)) as.numeric(d) as.character(d) as.numeric(as.character(d))

33 Character vs. factor Characters don t remember all levels. Tables of characters always ordered alphabetically By default, strings converted to factors when loading data frames. Use stringsasfactors = F to turn off for one data frame, or options(stringsasfactors = F) for all

34 Character vs. factor Use a factor when there is a well-defined set of all possible values. Use a character vector when there are potentially infinite possibilities.

35 Possible values Order Character Anything Alphabetical Factor Ordered factor Fixed and finite Fixed, but arbitrary (default is alpbpbetical Fixed and meaningful

36 Quiz Take one minute to decide which data type is most appropriate for each of the following variables collected in a medical experiment: Subject id, name, sex, address, race, eye colour, birth city, birth country, age, amount of fruit eaten every day.

37 gshs$age <- factor(gshs$age, levels = c("11-", "12", "13", "14", "15", "16+")) gshs$fruit <- factor(gshs$fruit, levels = c("0", "<1", "1", "2", "3", "4", "5+")) gshs$vegetables <- factor(gshs$vegetables, levels = c("0", "<1", "1", "2", "3", "4", "5+")) gshs$teeth <- factor(gshs$teeth, levels = c("0", "<1", "1", "2", "3", "4+")) freq <- c("never", "Rarely", "Sometimes", "Most of the time", "Always") gshs$hands_eating <- factor(gshs$hands_eating, levels = freq) gshs$hands_toilet <- factor(gshs$hands_toilet, levels = freq) gshs$hands_soap <- factor(gshs$hands_soap, levels = freq) gshs$hungry <- factor(gshs$hungry, levels = freq)

38 Combining data

39 Combining datasets Name instrument John guitar Paul bass George guitar Ringo drums Stuart bass Pete drums Name band John T Paul T + George T =? Ringo T Brian F

40 base::merge - fully featured, but complex, slow and reorders output plyr::join - minimalist, but fast and simple.

41 x Name instrument John guitar Paul bass George guitar Ringo drums Stuart bass Pete drums y Name band John T Paul T + George T = Ringo T Brian F Name instrument band John guitar T Paul bass T George guitar T Ringo drums T Stuart bass NA Pete drums NA join(x, y, type = "left")

42 x Name instrument John guitar Paul bass George guitar Ringo drums Stuart bass Pete drums y Name band John T Paul T + George T = Ringo T Brian F Name instrument band John guitar T Paul bass T George guitar T Ringo drums T Brian NA F join(x, y, type = "right")

43 x Name instrument John guitar Paul bass George guitar Ringo drums Stuart bass Pete drums y Name band John T Paul T + George T = Ringo T Brian F Name instrument band John guitar T Paul bass T George guitar T Ringo drums T join(x, y, type = "inner")

44 x Name instrument John guitar Paul bass George guitar Ringo drums Stuart bass Pete drums y Name band John T Paul T + George T = Ringo T Brian F Name instrument band John guitar T Paul bass T George guitar T Ringo drums T Stuart bass NA Pete drums NA Brian NA F join(x, y, type = "full")

45 Type "left" "right" "inner" "full" Action Include all of x, and matching rows of y Include all of y, and matching rows of x Include only rows in both x and y Include all rows

46 Saving data

47 Your turn Guess the name of the function you might use to write an R object back to a csv file on disk. Use it to save gshs to gshs-2.csv. What happens if you now read in gshs-2.csv with read.csv?

48 write.csv(gshs, "gshs-2.csv") gshs2 <- read.csv("gshs-2.csv") head(gshs) head(gshs2) str(gshs) str(gshs2) # Better, but still loses factor levels write.csv(gshs, file = "gshs-3.csv", row.names = F) gshs3 <- read.csv("gshs-3.csv")

49 Saving data # For long-term storage write.csv(data.frame, file = "path", row.names = F) # For short-term caching save(gshs, file = "gshs.rdata")

50 .csv read.csv() write.csv( row.names = F) Only data frames Can be read by any program Long term storage.rdata load() save() Any R object Only by R Short term caching of expensive computations

51 My workflow One file that cleans up all input and saves both a csv for long-term storage and rdata file for short-term use. Track csv file with source code control so it s easy to see what changes over time.

52 Compression Easy to store compressed files to save space: write.csv(gshs, file = bzfile("gshs.csv.bz2"), row = F) gshs4 <- read.csv("gshs.csv.bz2") Files stored with save() are automatically compressed.

53 Resources

54 Other resources Always a good place to start. Data Manipulation with R, Phil Spector. A different perspective. Full review at

55

56 This work is licensed under the Creative Commons Attribution-Noncommercial 3.0 United States License. To view a copy of this license, visit 3.0/us/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.

dplyr: manipulating your data

dplyr: manipulating your data dplyr: manipulating your data Washington University in St. Louis September 14, 2016 (Washington University in St. Louis) dplyr: manipulating your data September 14, 2016 1 / 44 1 Overview Data manipulation

More information

Formulas: Index, Match, and Indirect

Formulas: Index, Match, and Indirect Formulas: Index, Match, and Indirect Hello and welcome to our next lesson in this module on formulas, lookup functions, and calculations, and this time around we're going to be extending what we talked

More information

MITOCW watch?v=2ddjhvh8d2k

MITOCW watch?v=2ddjhvh8d2k MITOCW watch?v=2ddjhvh8d2k The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high quality educational resources for free. To

More information

GD&T Administrator Manual v 1.0

GD&T Administrator Manual v 1.0 The GD&T Professional Edition GD&T Administrator Manual v 1.0 800-886-0909 Effective Training Inc. www.etinews.com Introduction to the GD&T Administrator s Manual There are two Administration programs

More information

Learning Some Simple Plotting Features of R 15

Learning Some Simple Plotting Features of R 15 Learning Some Simple Plotting Features of R 15 This independent exercise will help you learn how R plotting functions work. This activity focuses on how you might use graphics to help you interpret large

More information

Spring 06 Assignment 2: Constraint Satisfaction Problems

Spring 06 Assignment 2: Constraint Satisfaction Problems 15-381 Spring 06 Assignment 2: Constraint Satisfaction Problems Questions to Vaibhav Mehta(vaibhav@cs.cmu.edu) Out: 2/07/06 Due: 2/21/06 Name: Andrew ID: Please turn in your answers on this assignment

More information

The lump sum amount that a series of future payments is worth now; used to calculate loan payments; also known as present value function Module 3

The lump sum amount that a series of future payments is worth now; used to calculate loan payments; also known as present value function Module 3 Microsoft Excel Formulas Made Easy Key Terms Term Definition Introduced In Absolute reference A cell reference that is fixed to a specific cell and contains a constant value throughout the spreadsheet

More information

Package pedigreemm. R topics documented: February 20, 2015

Package pedigreemm. R topics documented: February 20, 2015 Version 0.3-3 Date 2013-09-27 Title Pedigree-based mixed-effects models Author Douglas Bates and Ana Ines Vazquez, Package pedigreemm February 20, 2015 Maintainer Ana Ines Vazquez

More information

Magic Contest, version 4.5.1

Magic Contest, version 4.5.1 This document contains specific information about - the follow-up to the popular Bridgemate Pro. The general handling is the same, so you need to read the Magic Bridgemate documentation to understand the

More information

Overview. Initial Screen

Overview. Initial Screen 1 of 19 Overview Normal game play is by using the stylus. If your device has the direction and select keys you may use those instead. Users of older models can set the Hardkey navigation option under the

More information

Basic Concepts of the R Language

Basic Concepts of the R Language Basic Concepts of the R Language L. Torgo ltorgo@dcc.fc.up.pt Departamento de Ciência de Computadores Faculdade de Ciências / Universidade do Porto Oct, 2014 Basic Interaction Basic interaction with the

More information

Watershed Sciences 4930 & 6920 GEOGRAPHIC INFORMATION SYSTEMS

Watershed Sciences 4930 & 6920 GEOGRAPHIC INFORMATION SYSTEMS Slides by Wheaton et al. (2009-2014) are licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License Watershed Sciences 4930 & 6920 GEOGRAPHIC INFORMATION SYSTEMS INTRODUCTION

More information

Package PersomicsArray

Package PersomicsArray Package PersomicsArray September 26, 2016 Type Package Title Automated Persomics Array Image Extraction Version 1.0 Date 2016-09-23 Author John Smestad [aut, cre] Maintainer John Smestad

More information

Matlab for CS6320 Beginners

Matlab for CS6320 Beginners Matlab for CS6320 Beginners Basics: Starting Matlab o CADE Lab remote access o Student version on your own computer Change the Current Folder to the directory where your programs, images, etc. will be

More information

xdev Magazine Markup Guide

xdev Magazine Markup Guide xdev Magazine Markup Guide How to use Markdown to format articles July 12, 2013 v1.2 xdev Magazine Markup Guide 2 Contents Introduction.............................. 3 The Goals of Our Formatting System..............

More information

Spring 06 Assignment 2: Constraint Satisfaction Problems

Spring 06 Assignment 2: Constraint Satisfaction Problems 15-381 Spring 06 Assignment 2: Constraint Satisfaction Problems Questions to Vaibhav Mehta(vaibhav@cs.cmu.edu) Out: 2/07/06 Due: 2/21/06 Name: Andrew ID: Please turn in your answers on this assignment

More information

CBCL Limited Sheet Set Manager Tutorial 2013 REV. 02. CBCL Design Management & Best CAD Practices. Our Vision

CBCL Limited Sheet Set Manager Tutorial 2013 REV. 02. CBCL Design Management & Best CAD Practices. Our Vision CBCL Limited Sheet Set Manager Tutorial CBCL Design Management & Best CAD Practices 2013 REV. 02 Our Vision To be the most respected and successful Atlantic Canada based employeeowned firm, delivering

More information

Excel Manual Page Breaks Don't Work

Excel Manual Page Breaks Don't Work Excel Manual Page Breaks Don't Work Add a manual page break in Word 2010, and adjust page breaks automatically by Outlook.com People Calendar OneDrive Word Online Excel Online PowerPoint Word automatically

More information

Image Extraction using Image Mining Technique

Image Extraction using Image Mining Technique IOSR Journal of Engineering (IOSRJEN) e-issn: 2250-3021, p-issn: 2278-8719 Vol. 3, Issue 9 (September. 2013), V2 PP 36-42 Image Extraction using Image Mining Technique Prof. Samir Kumar Bandyopadhyay,

More information

Package evenn. March 10, 2015

Package evenn. March 10, 2015 Type Package Package evenn March 10, 2015 Title A Powerful Tool to Quickly Compare Huge Lists and Draw Venn Diagrams Version 2.2 Imports tcltk Date 2015-03-03 Author Nicolas Cagnard Maintainer Nicolas

More information

ConnectNow Family Directory: How to Manage Your Families

ConnectNow Family Directory: How to Manage Your Families ConnectNow Family Directory: How to Manage Your Families Nina Hodge Support Representative ParishSOFT Why Family Directory? Input/update basic family information Mailings/communication with families/groups

More information

37 Game Theory. Bebe b1 b2 b3. a Abe a a A Two-Person Zero-Sum Game

37 Game Theory. Bebe b1 b2 b3. a Abe a a A Two-Person Zero-Sum Game 37 Game Theory Game theory is one of the most interesting topics of discrete mathematics. The principal theorem of game theory is sublime and wonderful. We will merely assume this theorem and use it to

More information

NCSS Statistical Software

NCSS Statistical Software Chapter 147 Introduction A mosaic plot is a graphical display of the cell frequencies of a contingency table in which the area of boxes of the plot are proportional to the cell frequencies of the contingency

More information

Lab 15: EXL3 Microsoft Excel s AutoFill Tool, Multiple Worksheets, Charts and Conditional Formatting

Lab 15: EXL3 Microsoft Excel s AutoFill Tool, Multiple Worksheets, Charts and Conditional Formatting Lab 15: EXL3 Microsoft Excel s AutoFill Tool, Multiple Worksheets, Charts and Conditional Formatting Learn how to work with multiple worksheets, use the AutoFill tool, charts, and apply conditional formatting

More information

EDUCATION GIS CONFERENCE Geoprocessing with ArcGIS Pro. Rudy Prosser GISP CTT+ Instructor, Esri

EDUCATION GIS CONFERENCE Geoprocessing with ArcGIS Pro. Rudy Prosser GISP CTT+ Instructor, Esri EDUCATION GIS CONFERENCE Geoprocessing with ArcGIS Pro Rudy Prosser GISP CTT+ Instructor, Esri Maintenance What is geoprocessing? Geoprocessing is - a framework and set of tools for processing geographic

More information

Illumina GenomeStudio Analysis

Illumina GenomeStudio Analysis Illumina GenomeStudio Analysis Paris Veltsos University of St Andrews February 23, 2012 1 Introduction GenomeStudio is software by Illumina used to score SNPs based on the Illumina BeadExpress platform.

More information

CMPS 12A Introduction to Programming Programming Assignment 5 In this assignment you will write a Java program that finds all solutions to the n-queens problem, for. Begin by reading the Wikipedia article

More information

F-Intermod User Guide Telecom Engineering Inc r61

F-Intermod User Guide Telecom Engineering Inc r61 1 of 14 9-Sep-13 6:41 PM F-Intermod User Guide Telecom Engineering Inc. 2012 r61 Please visit our website at http://www.telecomengineering.com/software-download1.htm to check for any updates. Introduction

More information

fbat August 21, 2010 Basic data quality checks for markers

fbat August 21, 2010 Basic data quality checks for markers fbat August 21, 2010 checkmarkers Basic data quality checks for markers Basic data quality checks for markers. checkmarkers(genesetobj, founderonly=true, thrsh=0.05, =TRUE) checkmarkers.default(pedobj,

More information

CHM 152 Lab 1: Plotting with Excel updated: May 2011

CHM 152 Lab 1: Plotting with Excel updated: May 2011 CHM 152 Lab 1: Plotting with Excel updated: May 2011 Introduction In this course, many of our labs will involve plotting data. While many students are nerds already quite proficient at using Excel to plot

More information

IMPORTING DATA INTO R. Importing Excel Data readxl

IMPORTING DATA INTO R. Importing Excel Data readxl IMPORTING DATA INTO R Importing Excel Data readxl Microsoft Excel Common data analysis tool Many R packages to interact with Excel readxl - Hadley Wickham Typical Structure Excel Data Different sheets

More information

File Specification for the Exact Change Import file

File Specification for the Exact Change Import file File Specification for the Exact Change Import file Applies to Windows Edition 5.10.0.152 or latter Applies to Macintosh Edition 3.0.34 or later The Exact Change import file is a standard comma delimited

More information

Image Editor Project

Image Editor Project Image Editor Project Introduction Image manipulation programs like PhotoShop include various filters or transformations that are applied to images to produce different effects. In this lab you will write

More information

Automatic Wordfeud Playing Bot

Automatic Wordfeud Playing Bot Automatic Wordfeud Playing Bot Authors: Martin Berntsson, Körsbärsvägen 4 C, 073-6962240, mbernt@kth.se Fredric Ericsson, Adolf Lemons väg 33, 073-4224662, fericss@kth.se Course: Degree Project in Computer

More information

Week 1: Day 1 - Progressive Pattern 1

Week 1: Day 1 - Progressive Pattern 1 Week 1: Day 1 - Progressive Pattern 1 Step 1 in understanding the off-beat is to look at the strumming pattern I'm providing. It may not seem like much at first, but as you practice this pattern and increase

More information

Contrail TDMA Manager User s Reference

Contrail TDMA Manager User s Reference Contrail TDMA Manager User s Reference VERSION 6 Published: May 2018 =AT Maintenance Report Understanding Contrail TDMA Terminology i Contents Chapter 1: Understanding Contrail TDMA Terminology... 3 General

More information

Automatic Wordfeud Playing Bot. MARTIN BERNTSSON and FREDRIC ERICSSON

Automatic Wordfeud Playing Bot. MARTIN BERNTSSON and FREDRIC ERICSSON Automatic Wordfeud Playing Bot MARTIN BERNTSSON and FREDRIC ERICSSON Bachelor of Science Thesis Stockholm, Sweden 2012 Automatic Wordfeud Playing Bot MARTIN BERNTSSON and FREDRIC ERICSSON DD143X, Bachelor

More information

Analytics: WX Reports

Analytics: WX Reports Analytics: WX Reports Version 18.05 SP-ANL-WXR-COMP-201709--R018.05 Sage 2017. All rights reserved. This document contains information proprietary to Sage and may not be reproduced, disclosed, or used

More information

AECOsim Building Designer. Quick Start Guide. Chapter A08 Space Planning Bentley Systems, Incorporated

AECOsim Building Designer. Quick Start Guide. Chapter A08 Space Planning Bentley Systems, Incorporated AECOsim Building Designer Quick Start Guide Chapter A08 Space Planning 2012 Bentley Systems, Incorporated www.bentley.com/aecosim Table of Contents Space Planning...3 Sketches... 3 SpacePlanner... 4 Create

More information

DICOM Conformance Statement

DICOM Conformance Statement DICOM Conformance Statement Application Annex: US Applications on Philips IntelliSpace Portal V6.0 Koninklijke Philips Electronics N.V. 2013 All rights are reserved. Document Number: PIIOffc.0001323.01

More information

Introduction to ibbig

Introduction to ibbig Introduction to ibbig Aedin Culhane, Daniel Gusenleitner April 4, 2013 1 ibbig Iterative Binary Bi-clustering of Gene sets (ibbig) is a bi-clustering algorithm optimized for discovery of overlapping biclusters

More information

COMPACONLINE CARD MANAGEMENT MANUAL

COMPACONLINE CARD MANAGEMENT MANUAL COMPACONLINE CARD MANAGEMENT MANUAL CompacOnline Card Management Version No: 1.0.1 Date: 20/04/2018 Document Control Document Information Document Details Current Revision Author(s) Authorised By CompacOnline

More information

Searching, Exporting, Cleaning, & Graphing US Census Data Kelly Clonts Presentation for UC Berkeley, D-lab March 9, 2015

Searching, Exporting, Cleaning, & Graphing US Census Data Kelly Clonts Presentation for UC Berkeley, D-lab March 9, 2015 Searching, Exporting, Cleaning, & Graphing US Census Data Kelly Clonts Presentation for UC Berkeley, D-lab March 9, 2015 Learning Objectives To become familiar with the types of data published by the US

More information

Topics for today. Why not use R for graphics? Why use R for graphics? Introduction to R Graphics: U i R t t fi. Using R to create figures

Topics for today. Why not use R for graphics? Why use R for graphics? Introduction to R Graphics: U i R t t fi. Using R to create figures Topics for today Introduction to R Graphics: U i R t t fi Using R to create figures BaRC Hot Topics October 2011 George Bell, Ph.D. http://iona.wi.mit.edu/bio/education/r2011/ Getting started with R Drawing

More information

Ian Stewart. 8 Whitefield Close Westwood Heath Coventry CV4 8GY UK

Ian Stewart. 8 Whitefield Close Westwood Heath Coventry CV4 8GY UK Choosily Chomping Chocolate Ian Stewart 8 Whitefield Close Westwood Heath Coventry CV4 8GY UK Just because a game has simple rules, that doesn't imply that there must be a simple strategy for winning it.

More information

Educational Technology Lab

Educational Technology Lab Educational Technology Lab National and Kapodistrian University of Athens School of Philosophy Faculty of Philosophy, Pedagogy and Philosophy (P.P.P.), Department of Pedagogy Director: Prof. C. Kynigos

More information

ArchiCAD's Powerful Clone Folders Eric Bobrow, Affiliate AIA Principal, Bobrow Consulting Group

ArchiCAD's Powerful Clone Folders Eric Bobrow, Affiliate AIA Principal, Bobrow Consulting Group ArchiCAD's Powerful Clone Folders Eric Bobrow, Affiliate AIA Principal, Bobrow Consulting Group AECbytes Tips and Tricks Article - November 20, 2007 Within the Navigator View Map, ArchiCAD has a powerful,

More information

Cryptic Crosswords for Bright Sparks

Cryptic Crosswords for Bright Sparks A beginner s guide to cryptic crosswords for Gifted & Talented children Unit 1 - The Crossword Grid Grid Design Even if you have never attempted to solve a crossword puzzle, you will almost certainly have

More information

Southeastern European Regional Programming Contest Bucharest, Romania Vinnytsya, Ukraine October 21, Problem A Concerts

Southeastern European Regional Programming Contest Bucharest, Romania Vinnytsya, Ukraine October 21, Problem A Concerts Problem A Concerts File: A.in File: standard output Time Limit: 0.3 seconds (C/C++) Memory Limit: 128 megabytes John enjoys listening to several bands, which we shall denote using A through Z. He wants

More information

ModelBuilder Getting Started

ModelBuilder Getting Started 2013 Esri International User Conference July 8 12, 2013 San Diego, California Technical Workshop ModelBuilder Getting Started Matt Kennedy Esri UC2013. Technical Workshop. Agenda Geoprocessing overview

More information

TJP TOP TIPS FOR IGCSE STATS & PROBABILITY

TJP TOP TIPS FOR IGCSE STATS & PROBABILITY TJP TOP TIPS FOR IGCSE STATS & PROBABILITY Dr T J Price, 2011 First, some important words; know what they mean (get someone to test you): Mean the sum of the data values divided by the number of items.

More information

Comparing Across Categories Part of a Series of Tutorials on using Google Sheets to work with data for making charts in Venngage

Comparing Across Categories Part of a Series of Tutorials on using Google Sheets to work with data for making charts in Venngage Comparing Across Categories Part of a Series of Tutorials on using Google Sheets to work with data for making charts in Venngage These materials are based upon work supported by the National Science Foundation

More information

PASS Sample Size Software. These options specify the characteristics of the lines, labels, and tick marks along the X and Y axes.

PASS Sample Size Software. These options specify the characteristics of the lines, labels, and tick marks along the X and Y axes. Chapter 940 Introduction This section describes the options that are available for the appearance of a scatter plot. A set of all these options can be stored as a template file which can be retrieved later.

More information

Family Tree Analyzer Part II Introduction to the Menus & Tabs

Family Tree Analyzer Part II Introduction to the Menus & Tabs Family Tree Analyzer Part II Introduction to the Menus & Tabs Getting Started If you haven t already got FTAnalyzer installed and running you should see the guide Family Tree Analyzer Part I Installation

More information

MITOCW watch?v=zkcj6jrhgy8

MITOCW watch?v=zkcj6jrhgy8 MITOCW watch?v=zkcj6jrhgy8 The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high quality educational resources for free. To

More information

by Robert A. Landry, Central Mass Caricature Carvers, 12/5/14, Rev A

by Robert A. Landry, Central Mass Caricature Carvers, 12/5/14, Rev A FaceGen Modeler by Robert A. Landry, Central Mass Caricature Carvers, 12/5/14, Rev A If you are interested in creating a bust, or a bottle stopper carving please consider using the following software.

More information

Week 5. Big Data Analytics data.frame manipulation with dplyr

Week 5. Big Data Analytics data.frame manipulation with dplyr Week 5. Big Data Analytics data.frame manipulation with dplyr Hyeonsu B. Kang hyk149@eng.ucsd.edu April 2016 1 Join with dplyr In the last lecture we have seen how to efficiently manipulate a single table

More information

Analysis & Geoprocessing: Case Studies Problem Solving

Analysis & Geoprocessing: Case Studies Problem Solving Analysis & Geoprocessing: Case Studies Problem Solving Shawn Marie Simpson Federal User Conference 2008 3 Overview Analysis & Geoprocessing Review What is it? How can I use it to answer questions? Case

More information

Statistics 101: Section L Laboratory 10

Statistics 101: Section L Laboratory 10 Statistics 101: Section L Laboratory 10 This lab looks at the sampling distribution of the sample proportion pˆ and probabilities associated with sampling from a population with a categorical variable.

More information

Gain Compression Simulation

Gain Compression Simulation Gain Compression Simulation August 2005 Notice The information contained in this document is subject to change without notice. Agilent Technologies makes no warranty of any kind with regard to this material,

More information

Final Project: Reversi

Final Project: Reversi Final Project: Reversi Reversi is a classic 2-player game played on an 8 by 8 grid of squares. Players take turns placing pieces of their color on the board so that they sandwich and change the color of

More information

Basic image edits with GIMP: Getting photos ready for competition requirements Dirk Pons, New Zealand

Basic image edits with GIMP: Getting photos ready for competition requirements Dirk Pons, New Zealand Basic image edits with GIMP: Getting photos ready for competition requirements Dirk Pons, New Zealand March 2018. This work is made available under the Creative Commons license Attribution-NonCommercial

More information

Quantitative Disk Assay

Quantitative Disk Assay Quantitative Disk Assay Aleeza C. Gerstein 2015-01-28 Introduction to diskimager diskimager provides a quantitative way to analyze photographs taken from disk diffusion assays, and removes the need for

More information

Error-Correcting Codes

Error-Correcting Codes Error-Correcting Codes Information is stored and exchanged in the form of streams of characters from some alphabet. An alphabet is a finite set of symbols, such as the lower-case Roman alphabet {a,b,c,,z}.

More information

DICOM Conformance Statement

DICOM Conformance Statement DICOM Conformance Statement Application Annex: US Applications on Philips IntelliSpace Portal V7.0 Koninklijke Philips N.V. 2014 All rights are reserved. Document Number: ICAP-PF.0013672 Issued by: Philips

More information

Back up your data regularly to protect against loss due to power failure, disk damage or other mishaps. This is very important!

Back up your data regularly to protect against loss due to power failure, disk damage or other mishaps. This is very important! Overview is a Basketball Statistical Management System for conference, league, tournament and individual teams. Keeps records for any number of teams and players. Tracks teams/players, team record, game

More information

The Need for Data Compression. Data Compression (for Images) -Compressing Graphical Data. Lossy vs Lossless compression

The Need for Data Compression. Data Compression (for Images) -Compressing Graphical Data. Lossy vs Lossless compression The Need for Data Compression Data Compression (for Images) -Compressing Graphical Data Graphical images in bitmap format take a lot of memory e.g. 1024 x 768 pixels x 24 bits-per-pixel = 2.4Mbyte =18,874,368

More information

Brief Introduction to Vision and Images

Brief Introduction to Vision and Images Brief Introduction to Vision and Images Charles S. Tritt, Ph.D. January 24, 2012 Version 1.1 Structure of the Retina There is only one kind of rod. Rods are very sensitive and used mainly in dim light.

More information

DSC 201: Data Analysis & Visualization

DSC 201: Data Analysis & Visualization DSC 201: Data Analysis & Visualization Data Transformation Dr. David Koop Data Wrangling Data wrangling: transform raw data to a more meaningful format that can be better analyzed Data cleaning: getting

More information

Methods for Assessor Screening

Methods for Assessor Screening Report ITU-R BS.2300-0 (04/2014) Methods for Assessor Screening BS Series Broadcasting service (sound) ii Rep. ITU-R BS.2300-0 Foreword The role of the Radiocommunication Sector is to ensure the rational,

More information

Computer Programming

Computer Programming Computer Programming Dr. Deepak B Phatak Dr. Supratik Chakraborty Department of Computer Science and Engineering Session: Digital Images and Histograms Dr. Deepak B. Phatak & Dr. Supratik Chakraborty,

More information

Intro to R for Epidemiologists

Intro to R for Epidemiologists Lab 3 (1/29/15) Intro to R for Epidemiologists Many of these questions go beyond the information provided in the lecture. Therefore, you may need to use R help files and the internet to search for answers.

More information

MonetDB & R. amst-r-dam meet-up, Hannes Mühleisen

MonetDB & R. amst-r-dam meet-up, Hannes Mühleisen MonetDB & R amst-r-dam meet-up, 203-0-4 Hannes Mühleisen Collect data Growing Load data Filter, transform & aggregate data Analyze & Plot Not really Analysis features Publish paper/ Profit Problem: #BiggeR

More information

Let's Race! Typing on the Home Row

Let's Race! Typing on the Home Row Let's Race! Typing on the Home Row Michael Hoyle Susan Rodger Duke University 2012 Overview In this tutorial you will be creating a bike racing game to practice keyboarding. Your bike will move forward

More information

How to put the Image Services in the Living Atlas to Work in Your GIS. Charlie Frye, Chief Cartographer Esri, Redlands

How to put the Image Services in the Living Atlas to Work in Your GIS. Charlie Frye, Chief Cartographer Esri, Redlands How to put the Image Services in the Living Atlas to Work in Your GIS Charlie Frye, Chief Cartographer Esri, Redlands Image Services in the Living Atlas of the World Let s have a look: https://livingatlas.arcgis.com

More information

CS 484, Fall 2018 Homework Assignment 1: Binary Image Analysis

CS 484, Fall 2018 Homework Assignment 1: Binary Image Analysis CS 484, Fall 2018 Homework Assignment 1: Binary Image Analysis Due: October 31, 2018 The goal of this assignment is to find objects of interest in images using binary image analysis techniques. Question

More information

Paper ST03. Variance Estimates for Census 2000 Using SAS/IML Software Peter P. Davis, U.S. Census Bureau, Washington, DC 1

Paper ST03. Variance Estimates for Census 2000 Using SAS/IML Software Peter P. Davis, U.S. Census Bureau, Washington, DC 1 Paper ST03 Variance Estimates for Census 000 Using SAS/IML Software Peter P. Davis, U.S. Census Bureau, Washington, DC ABSTRACT Large variance-covariance matrices are not uncommon in statistical data analysis.

More information

Package SvyNom. February 24, 2015

Package SvyNom. February 24, 2015 Package SvyNom February 24, 2015 Type Package Title Nomograms for Right-Censored Outcomes from Survey Designs Version 1.1 Date 2015-01-06 Author Mithat Gonen, Marinela Capanu Maintainer Mithat Gonen

More information

Challenge 0: Challenge 1: Go to and. Sign in to your Google (consumer) account. Go to

Challenge 0: Challenge 1: Go to   and. Sign in to your Google (consumer) account. Go to Challenge 0: Go to http://www.wescheme.org/ and Sign in to your Google (consumer) account. Go to http://goo.gl/sasvj and Now you can rename the game and But more importantly: Challenge 1: The city rat

More information

Management and Analysis of Camera Trap Data: Alternative Approaches (Response to Harris et al. 2010)

Management and Analysis of Camera Trap Data: Alternative Approaches (Response to Harris et al. 2010) Emerging Technologies E m e r g i n g T e c h n o l o g i e s Management and Analysis of Camera Trap Data: Alternative Approaches (Response to Harris et al. 2010) Siva R. Sundaresan, Department of Conservation

More information

Diversity Image Inspector

Diversity Image Inspector Diversity Image Inspector Introduction The Diversity Image Inspector scans a bulk of images for included barcodes and configurable EXIF metadata (e.g. GPS coordinates, author, date and time). The results

More information

Hyperion System 9 Financial Data Quality Management

Hyperion System 9 Financial Data Quality Management Hyperion System 9 Financial Data Quality Management Administrator Training Guide WebLink Version 8.3, 8.31, and Hyperion System 9 Financial Data Quality Management Version 9.2.0 Hyperion Financial Management

More information

Sudoku Tutor 1.0 User Manual

Sudoku Tutor 1.0 User Manual Sudoku Tutor 1.0 User Manual CAPABILITIES OF SUDOKU TUTOR 1.0... 2 INSTALLATION AND START-UP... 3 PURCHASE OF LICENSING AND REGISTRATION... 4 QUICK START MAIN FEATURES... 5 INSERTION AND REMOVAL... 5 AUTO

More information

Jeopardy. Ben is too lazy to think of fancy titles

Jeopardy. Ben is too lazy to think of fancy titles Jeopardy Ben is too lazy to think of fancy titles Rules I will randomly move people into groups of 2 or 3. I will select a random group to choose a question. Then I will allow some time for all the groups

More information

EKA Laboratory Muon Lifetime Experiment Instructions. October 2006

EKA Laboratory Muon Lifetime Experiment Instructions. October 2006 EKA Laboratory Muon Lifetime Experiment Instructions October 2006 0 Lab setup and singles rate. When high-energy cosmic rays encounter the earth's atmosphere, they decay into a shower of elementary particles.

More information

CSCD 409 Scientific Programming. Module 6: Plotting (Chpt 5)

CSCD 409 Scientific Programming. Module 6: Plotting (Chpt 5) CSCD 409 Scientific Programming Module 6: Plotting (Chpt 5) 2008-2012, Prentice Hall, Paul Schimpf All rights reserved. No portion of this presentation may be reproduced, in whole or in part, in any form

More information

Math 3012 Applied Combinatorics Lecture 2

Math 3012 Applied Combinatorics Lecture 2 August 20, 2015 Math 3012 Applied Combinatorics Lecture 2 William T. Trotter trotter@math.gatech.edu The Road Ahead Alert The next two to three lectures will be an integrated approach to material from

More information

1 Running the Program

1 Running the Program GNUbik Copyright c 1998,2003 John Darrington 2004 John Darrington, Dale Mellor Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission

More information

A Virtual Instrument for Automobiles Fuel Consumption Investigation. Tsvetozar Georgiev

A Virtual Instrument for Automobiles Fuel Consumption Investigation. Tsvetozar Georgiev A Virtual Instrument for Automobiles Fuel Consumption Investigation Tsvetozar Georgiev Abstract: A virtual instrument for investigation of automobiles fuel consumption is presented in this paper. The purpose

More information

EMC ViPR SRM. Alerting Guide. Version

EMC ViPR SRM. Alerting Guide. Version EMC ViPR SRM Version 4.0.2.0 Alerting Guide 302-003-445 01 Copyright 2015-2017 Dell Inc. or its subsidiaries All rights reserved. Published January 2017 Dell believes the information in this publication

More information

Sudoku an alternative history

Sudoku an alternative history Sudoku an alternative history Peter J. Cameron p.j.cameron@qmul.ac.uk Talk to the Archimedeans, February 2007 Sudoku There s no mathematics involved. Use logic and reasoning to solve the puzzle. Instructions

More information

Rhythm. Chords. Play these three chords in the following pattern of 12 bars.

Rhythm. Chords. Play these three chords in the following pattern of 12 bars. This is a very short, brief, inadequate, introduction to playing blues on a guitar. Shown is a twelve bar blues in A because it's easy to get started. Have fun! Rhythm You've heard this rhythm before:

More information

Introduction to ibbig

Introduction to ibbig Introduction to ibbig Aedin Culhane, Daniel Gusenleitner June 13, 2018 1 ibbig Iterative Binary Bi-clustering of Gene sets (ibbig) is a bi-clustering algorithm optimized for discovery of overlapping biclusters

More information

CBL Lab WHY ARE THERE MORE REDS IN MY BAG? MATHEMATICS CURRICULUM GRADE SIX. Florida Sunshine State Mathematics Standards

CBL Lab WHY ARE THERE MORE REDS IN MY BAG? MATHEMATICS CURRICULUM GRADE SIX. Florida Sunshine State Mathematics Standards MATHEMATICS CURRICULUM GRADE SIX CBL Lab Florida Sunshine State Mathematics Standards WHY ARE THERE MORE REDS IN MY BAG? John Klimek, Math Coordinator Curt Witthoff, Math/Science Specialist Dr. Benjamin

More information

code V(n,k) := words module

code V(n,k) := words module Basic Theory Distance Suppose that you knew that an English word was transmitted and you had received the word SHIP. If you suspected that some errors had occurred in transmission, it would be impossible

More information

Chroma. Optical Spectral Analysis and Color Measurement

Chroma. Optical Spectral Analysis and Color Measurement Chroma Optical Spectral Analysis and Color Measurement Seeing is not seeing. Seeing is thinking. Contents Methods and Data Sources page 4 // 5 Measurement and Series Measurement page 6 // 7 Spectral Analysis

More information

Instructions for Finding and Inserting Photos into Documents

Instructions for Finding and Inserting Photos into Documents Instructions for Finding and Inserting Photos into Documents To find and use project photos for documents and presentation, the easiest way is to use the Photoshop Album. The Photoshop Album must be accessed

More information

Basic Signals and Systems

Basic Signals and Systems Chapter 2 Basic Signals and Systems A large part of this chapter is taken from: C.S. Burrus, J.H. McClellan, A.V. Oppenheim, T.W. Parks, R.W. Schafer, and H. W. Schüssler: Computer-based exercises for

More information

Camera Base. User Guide. Version Mathias Tobler

Camera Base. User Guide. Version Mathias Tobler Camera Base Version 1.5.1 User Guide Mathias Tobler September, 2012 Table of contents 1 Introduction... 3 2 License... 4 3 Overview... 5 3.1 Data Management... 5 3.2 Analysis and outputs... 5 4 Installation...

More information

Mech 296: Vision for Robotic Applications. Vision for Robotic Applications

Mech 296: Vision for Robotic Applications. Vision for Robotic Applications Mech 296: Vision for Robotic Applications Lecture 1: Monochrome Images 1.1 Vision for Robotic Applications Instructors, jrife@engr.scu.edu Jeff Ota, jota@scu.edu Class Goal Design and implement a vision-based,

More information