ggplot Iain Hume 10 November 2015

Size: px
Start display at page:

Download "ggplot Iain Hume 10 November 2015"

Transcription

1 ggplot Iain Hume 1 November 215

2 Today s workshop ggplot grammar of graphics basic plot types subsetting saving plots prettying things up

3 Why use ggplot Takes the best of basic & latice graphics Progressive and build from simple to complex Uses grammar (Lee Wilkinson)

4 Packages and data you need Put these in a folder and start a new project ggplot2 ggthemes climate.csv

5 Grammar Data (data) Aesthetic mappings (aes) Geometric objects (geoms) Statistical transformations (stats) Sub setting (faceting)

6 Grammar does not Suggest what graphics will answer your questions Define the style of a graphic (themes)

7 First ggplot Anderson, Edgar (1935). The irises of the Gaspe Peninsula, Bulletin of the American Iris Society, 59, 2 5. measurements in centimeters of four variables 5 flowers Iris setosa, versicolor, and virginica. Sepal.Length Sepal.Width Petal.Length Petal.Width Species setosa setosa setosa setosa setosa setosa

8 Scatter plot library(ggplot2) p1 <- ggplot(data=iris, aes(x=sepal.length, y = Sepal.Width)) p1 +geom_point() Sepal.Width Sepal.Length

9 Layers p1 <- ggplot(data=iris, aes(x=sepal.length, y = Sepal.Width)) p1 +geom_point() ggplot layer Data Variables Global settings Other objects geometric statistical models etc

10 Change symbol size p1 <- ggplot(data=iris, aes(x=sepal.length, y = Sepal.Width)) p1 + geom_point(size = 3) Sepal.Width Sepal.Length

11 Add colour p1 <- ggplot(data=iris, aes(x=sepal.length, y = Sepal.Width, colour = Species)) p1 + geom_point(size = 3) Sepal.Width Species setosa versicolor virginica Sepal.Length

12 Different shape for species p1 <- ggplot(data=iris, aes(x=sepal.length, y = Sepal.Width, colour = Species)) p1 + geom_point(aes(shape = Species), size = 3) Sepal.Width Species setosa versicolor virginica Sepal.Length

13 Exercise 1 - scatter plot Re sample the diamonds data set # Load the ggplot library library(ggplot2) # Resample the diamonds data set d2 <- diamonds[sample(1:dim(diamonds)[1], 1),] kable(head(d2[,1:7],2)) carat cut color clarity depth table price Fair J SI Premium J SI

14 Draw this plot 125 price/carat color D E F G H I J carat

15 Box Plots p3 <- ggplot(data=d2, aes(x= color, y = price/carat)) p3 + geom_boxplot() price/carat D E F G H I J color

16 Histograms Azzalini, A. and Bowman, A. W. (199). A look at some data on the Old Faithful geyser. Applied Statistics 39, observations of eruption time (minutes), and waiting time (minutes) for next eruption head(faithful) ## eruptions waiting ## ## ## ## ## ##

17 Basic histogram p4 <- ggplot(data=faithful, aes(x= waiting)) p4 + geom_histogram(binwidth=3, colour="black") 15 count waiting

18 Change stats and appearance p4 + geom_histogram(binwidth=8, fill="steelblue", colour="black") 6 count waiting?geom_histogram gives more options

19 Line plots obs Decadal land surface temperature anomaly 95% uncertainty # Get the data climate <- read.csv("climate.csv", header=t) list <- c(1,2,3,6,7) kable(head(climate[list],5)) X Source Year Anomaly1y Unc1y 12 Berkeley Berkeley Berkeley Berkeley Berkeley

20 Simple line plot p5 <- ggplot(climate, aes(x=year, y=anomaly1y)) p5 + geom_line().5 Anomaly1y Year

21 Line plot with confidence regions p5 <- ggplot(climate, aes(x=year, y=anomaly1y)) p5 + geom_ribbon(aes(ymin=anomaly1y - Unc1y, ymax = Anomaly1y + Unc1y), fill="blue", alpha=.1) + geom_line(colour="steelblue").5 Anomaly1y Year

22 Exercise 2 Modify the previous plot to show confidence limits as lines instead of a ribbon.5 Anomaly1y Year

23 Bar Plots p6 <- ggplot(diamonds, aes(clarity)) p6 + geom_bar() 1 count 5 I1 SI2 SI1 VS2 VS1 VVS2 VVS1 IF clarity

24 Stacked Bar Plots p7 <- ggplot(diamonds, aes(clarity, fill=cut)) p7 + geom_bar() 1 count 5 cut Fair Good Very Good Premium Ideal I1 SI2 SI1 VS2 VS1 VVS2 VVS1 IF clarity

25 Exercise 3 Using the d2 diamonds data set create this plot 5 4 count 3 2 cut Fair Good Very Good Premium Ideal 1 I1 SI2 SI1 VS2 VS1 VVS2 VVS1 IF clarity Hint?geom_bar is useful

26 Density Plots p9 <- ggplot(faithful, aes(waiting)) p9 + geom_density().3 density waiting

27 Density Plots (filled) p9 + geom_density(fill="blue", alpha =.1).3 density waiting

28 Density Plots using stat p9 + geom_line(stat="density").3 density waiting

29 Grouping Data Recall the iris data p1 <- ggplot(iris,aes(x=sepal.length, y=sepal.width, colour = Species)) p1 + geom_point(size=2) Sepal.Width Species setosa versicolor virginica Sepal.Length

30 Faceting along rows p1 <- ggplot(iris,aes(x=sepal.length, y=sepal.width, colour = Species)) p1 + geom_point(size=2) + facet_grid(species ~. ) Sepal.Width Sepal.Length setosa versicolor virginica Species setosa versicolor virginica

31 Faceting down columns p1 <- ggplot(iris,aes(x=sepal.length, y=sepal.width, colour = Species)) p1 + geom_point(size=2) + facet_grid(. ~ Species) 4.5 setosa versicolor virginica 4. Sepal.Width Species setosa versicolor virginica Sepal.Length

32 Simplifying the diamond data p11 <- ggplot(d2, aes(x=carat, y = price)) + geom_point() p11 15 price carat

33 Add an extra dimension p11 <- ggplot(d2, aes(x=carat, y = price)) + geom_point() + facet_grid(cut~.) p11 price carat Fair Good Very Good Premium Ideal

34 Add another p11 <- ggplot(d2, aes(x=carat, y = price)) + geom_point() + facet_grid(cut~color) p11 price D E F G H I J carat Fair Good Very Good Premium Ideal

35 Add another P11 <- ggplot(d2, aes(x=carat, y = price, colour=)) + geom_point() + facet_grid(cut~color) p11 price D E F G H I J carat Fair Good Very Good Premium Ideal Any more?

36 One final dimension p11 <- ggplot(d2, aes(x=carat, y = price, colour=clarity)) + geom_point() + facet_grid(cut~color) p11 D E F G H I J price carat Fair Good Very Good Premium Ideal clarity I1 SI2 SI1 VS2 VS1 VVS2 VVS1 IF

37 Adding Smoothers p12 <- ggplot(iris, aes(x=sepal.length, y= Sepal.Width))+ geom_point(size=2)+ geom_smooth(method= "lm")+ facet_grid(.~species) p setosa versicolor virginica 4. Sepal.Width Sepal.Length

38 Can specify the model p12a <- ggplot(iris, aes(x=sepal.length, y= Sepal.Width))+ geom_point(size=2)+ geom_smooth(method= "lm", formula = y~ poly(x,2)) + facet_grid(.~species) p12a 4.5 setosa versicolor virginica 4. Sepal.Width Sepal.Length

39 Alternative themes theme_bw p13 <- p12 +theme_bw() p setosa versicolor virginica 4. Sepal.Width Sepal.Length

40 Minimalist presentation theme_classic p14 <- p13 + theme_classic() p setosa versicolor virginica 4. Sepal.Width Sepal.Length

41 My favourate theme_tufte library(ggthemes) p15 <- p14 + geom_rangeframe() + theme_tufte() p setosa versicolor virginica 4. Sepal.Width Sepal.Length

42 Saving your work As.png,.eps,.jpg or.pdf files Into a document with knitr Easy if you work in projects i.e no paths # If the plot is on the screen i.e last one plotted ggsave(file = "Figure 15.jpg") ## Saving 1 x 5 in image # If the plot has been asigned to an object ggsave(p14, file = "Figure 14.jpg") ## Saving 1 x 5 in image

43 Tidying things up scales etc p16 <- ggplot(iris, aes(x=sepal.length, y= Sepal.Width))+ geom_point(size=2)+ stat_smooth(method= "lm", se=false) + facet_grid(.~species) + labs(x="sepal length (cm)", y="sepal Width (cm)") + geom_rangeframe() + theme_tufte() p setosa versicolor virginica 4. Sepal Width (cm) Sepal length (cm)

44 Thanks and happy plotting

Enter the Tidyverse BIO5312 FALL2017 STEPHANIE J. SPIELMAN, PHD

Enter the Tidyverse BIO5312 FALL2017 STEPHANIE J. SPIELMAN, PHD Enter the Tidyverse BIO5312 FALL2017 STEPHANIE J. SPIELMAN, PHD What is the tidyverse? A collection of R packages largely developed by Hadley Wickham and others at Rstudio Have emerged as staples of modern-day

More information

Tutorial 2: Descriptive Statistics and Exploratory Data Analysis Answers Sheet

Tutorial 2: Descriptive Statistics and Exploratory Data Analysis Answers Sheet Tutorial 2: Descriptive Statistics and Exploratory Data Analysis Answers Sheet Rob Nicholls nicholls@mrc-lmb.cam.ac.uk Task 1 library(boot) MRC LMB Statistics Course 2014 hist(paulsen$y,breaks=30,freq=false)

More information

Bivariate Graphing Rana Yousaf, Manpreet Mann, and Dan Hiney 24 Sept, 2017

Bivariate Graphing Rana Yousaf, Manpreet Mann, and Dan Hiney 24 Sept, 2017 Bivariate Graphing Rana Yousaf, Manpreet Mann, and Dan Hiney 24 Sept, 2017 load("c:/users/owner/desktop/math315/projects/data/addhealth_clean.rdata") library(ggplot2) library(mass) library(knitr) The following

More information

Package ega. March 21, 2017

Package ega. March 21, 2017 Title Error Grid Analysis Version 2.0.0 Package ega March 21, 2017 Maintainer Daniel Schmolze Functions for assigning Clarke or Parkes (Consensus) error grid zones to blood glucose values,

More information

Answer all three questions. All questions carry equal marks.

Answer all three questions. All questions carry equal marks. UNIVERSITY OF DUBLIN TRINITY COLLEGE Faculty of Engineering, Mathematics and Science School of Computer Science and Statistics Postgraduate Diploma in Statistics Trinity Term 2 Introduction to Regression

More information

Data Science and Statistics in Research: unlocking the power of your data

Data Science and Statistics in Research: unlocking the power of your data Data Science and Statistics in Research: unlocking the power of your data Session 1.4: Data and variables 1/ 33 OUTLINE Types of data Types of variables Presentation of data Tables Summarising Data 2/

More information

Table of Contents Foreword 9 Stay Informed 9 Introduction to Visual Steps 10 What You Will Need 10 Basic Knowledge 11 How to Use This Book

Table of Contents Foreword 9 Stay Informed 9 Introduction to Visual Steps 10 What You Will Need 10 Basic Knowledge 11 How to Use This Book Table of Contents Foreword... 9 Stay Informed... 9 Introduction to Visual Steps... 10 What You Will Need... 10 Basic Knowledge... 11 How to Use This Book... 11 The Screenshots... 12 The Website and Supplementary

More information

1. To review research methods and the principles of experimental design that are typically used in an experiment.

1. To review research methods and the principles of experimental design that are typically used in an experiment. Your Name: Section: 36-201 INTRODUCTION TO STATISTICAL REASONING Computer Lab Exercise Lab #7 (there was no Lab #6) Treatment for Depression: A Randomized Controlled Clinical Trial Objectives: 1. To review

More information

Introduction. Lecture 1. What is Statistics?

Introduction. Lecture 1. What is Statistics? Lecture 1 Introduction What is Statistics? Statistics is the science of collecting, organizing and interpreting data. The goal of statistics is to gain information and understanding from data. A statistic

More information

Intro to SPSS. Using SPSS through WebFAS

Intro to SPSS. Using SPSS through WebFAS Intro to SPSS Using SPSS through WebFAS http://www.yorku.ca/computing/students/labs/webfas/ Try it early (make sure it works from your computer) If you need help contact UIT Client Services Voice: 416-736-5800

More information

White Rose Research Online URL for this paper: Version: Supplemental Material

White Rose Research Online URL for this paper:   Version: Supplemental Material This is a repository copy of How well can body size represent effects of the environment on demographic rates? Disentangling correlated explanatory variables. White Rose Research Online URL for this paper:

More information

Try using a number as an adjective when talking to children. Let s take three books home or There are two chairs at this table.

Try using a number as an adjective when talking to children. Let s take three books home or There are two chairs at this table. Ages 0-18 mos. Try using a number as an adjective when talking to children. Let s take three books home or There are two chairs at this table. Ages 0-18 mos. Use the words more and less to describe stacks

More information

Introduction to Statistical Data Analysis I

Introduction to Statistical Data Analysis I Introduction to Statistical Data Analysis I JULY 2011 Afsaneh Yazdani Preface What is Statistics? Preface What is Statistics? Science of: designing studies or experiments, collecting data Summarizing/modeling/analyzing

More information

Research Methods in Forest Sciences: Learning Diary. Yoko Lu December Research process

Research Methods in Forest Sciences: Learning Diary. Yoko Lu December Research process Research Methods in Forest Sciences: Learning Diary Yoko Lu 285122 9 December 2016 1. Research process It is important to pursue and apply knowledge and understand the world under both natural and social

More information

Making charts in Excel

Making charts in Excel Making charts in Excel Use Excel file MakingChartsInExcel_data We ll start with the worksheet called treatment This shows the number of admissions (not necessarily people) to Twin Cities treatment programs

More information

Unit 7 Comparisons and Relationships

Unit 7 Comparisons and Relationships Unit 7 Comparisons and Relationships Objectives: To understand the distinction between making a comparison and describing a relationship To select appropriate graphical displays for making comparisons

More information

Revit 2018 Architecture Certification Exam Study Guide

Revit 2018 Architecture Certification Exam Study Guide ELISE MOSS Autodesk Autodesk Certified Instructor Revit 2018 Architecture Certification Exam Study Guide Certified User and Certified Professional SDC P U B L I C AT I O N S Better Textbooks. Lower Prices.

More information

Background Information. Instructions. Problem Statement. HOMEWORK INSTRUCTIONS Homework #2 HIV Statistics Problem

Background Information. Instructions. Problem Statement. HOMEWORK INSTRUCTIONS Homework #2 HIV Statistics Problem Background Information HOMEWORK INSTRUCTIONS The scourge of HIV/AIDS has had an extraordinary impact on the entire world. The spread of the disease has been closely tracked since the discovery of the HIV

More information

Package sbpiper. April 20, 2018

Package sbpiper. April 20, 2018 Version 1.7.0 Date 2018-04-20 Package sbpiper April 20, 2018 Title Data Analysis Functions for 'SBpipe' Package Depends R (>= 3.2.0) Imports colorramps, data.table, factoextra, FactoMineR, ggplot2 (>=

More information

Bangor University Laboratory Exercise 1, June 2008

Bangor University Laboratory Exercise 1, June 2008 Laboratory Exercise, June 2008 Classroom Exercise A forest land owner measures the outside bark diameters at.30 m above ground (called diameter at breast height or dbh) and total tree height from ground

More information

Rainforest plots for the presentation of patient-subgroup analysis in clinical trials

Rainforest plots for the presentation of patient-subgroup analysis in clinical trials Big-data Clinical Trial Column Page 1 of 6 Rainforest plots for the presentation of patient-subgroup analysis in clinical trials Zhongheng Zhang 1, Michael Kossmeier 2, Ulrich S. Tran 2, Martin Voracek

More information

Unit 1: Introduction to the Operating System, Computer Systems, and Networks 1.1 Define terminology Prepare a list of terms with definitions

Unit 1: Introduction to the Operating System, Computer Systems, and Networks 1.1 Define terminology Prepare a list of terms with definitions AR Computer Applications I Correlated to Benchmark Microsoft Office 2010 (492490) Unit 1: Introduction to the Operating System, Computer Systems, and Networks 1.1 Define terminology 1.1.1 Prepare a list

More information

Q: How do I get the protein concentration in mg/ml from the standard curve if the X-axis is in units of µg.

Q: How do I get the protein concentration in mg/ml from the standard curve if the X-axis is in units of µg. Photometry Frequently Asked Questions Q: How do I get the protein concentration in mg/ml from the standard curve if the X-axis is in units of µg. Protein standard curves are traditionally presented as

More information

BIOL 458 BIOMETRY Lab 7 Multi-Factor ANOVA

BIOL 458 BIOMETRY Lab 7 Multi-Factor ANOVA BIOL 458 BIOMETRY Lab 7 Multi-Factor ANOVA PART 1: Introduction to Factorial ANOVA ingle factor or One - Way Analysis of Variance can be used to test the null hypothesis that k or more treatment or group

More information

Benchmark Dose Modeling Cancer Models. Allen Davis, MSPH Jeff Gift, Ph.D. Jay Zhao, Ph.D. National Center for Environmental Assessment, U.S.

Benchmark Dose Modeling Cancer Models. Allen Davis, MSPH Jeff Gift, Ph.D. Jay Zhao, Ph.D. National Center for Environmental Assessment, U.S. Benchmark Dose Modeling Cancer Models Allen Davis, MSPH Jeff Gift, Ph.D. Jay Zhao, Ph.D. National Center for Environmental Assessment, U.S. EPA Disclaimer The views expressed in this presentation are those

More information

Unit 1 Outline Science Practices. Part 1 - The Scientific Method. Screencasts found at: sciencepeek.com. 1. List the steps of the scientific method.

Unit 1 Outline Science Practices. Part 1 - The Scientific Method. Screencasts found at: sciencepeek.com. 1. List the steps of the scientific method. Screencasts found at: sciencepeek.com Part 1 - The Scientific Method 1. List the steps of the scientific method. 2. What is an observation? Give an example. Quantitative or Qualitative Data? 35 grams?

More information

Revit 2017 Architecture Certification Exam Study Guide

Revit 2017 Architecture Certification Exam Study Guide ELISE MOSS Autodesk Autodesk Certified Instructor Revit 2017 Architecture Certification Exam Study Guide Certified User and Certified Professional SDC P U B L I C AT I O N S Better Textbooks. Lower Prices.

More information

ggplot Hadley Wickham

ggplot Hadley Wickham ggplot Hadley Wickham Outline Introduction to the data Introduction to ggplot Supplemental statistical summaries Iterating between graphics and models Graphical margins Intro to data Response of trees

More information

Answers to end of chapter questions

Answers to end of chapter questions Answers to end of chapter questions Chapter 1 What are the three most important characteristics of QCA as a method of data analysis? QCA is (1) systematic, (2) flexible, and (3) it reduces data. What are

More information

IPUMS â CPS Extraction and Analysis

IPUMS â CPS Extraction and Analysis Minnesota Population Center Training and Development IPUMS â CPS Extraction and Analysis Exercise 2 OBJECTIVE: Gain an understanding of how the IPUMS dataset is structured and how it can be leveraged to

More information

Your Task: Find a ZIP code in Seattle where the crime rate is worse than you would expect and better than you would expect.

Your Task: Find a ZIP code in Seattle where the crime rate is worse than you would expect and better than you would expect. Forensic Geography Lab: Regression Part 1 Payday Lending and Crime Seattle, Washington Background Regression analyses are in many ways the Gold Standard among analytic techniques for undergraduates (and

More information

When Projects go Splat: Introducing Splatter Plots. 17 February 2001 Delaware Chapter of the ASA Dennis Sweitzer

When Projects go Splat: Introducing Splatter Plots. 17 February 2001 Delaware Chapter of the ASA Dennis Sweitzer When Projects go Splat: Introducing Splatter Plots 17 February 2001 Delaware Chapter of the ASA Dennis Sweitzer Introduction There is always a need for better ways to present data The key bottle neck is

More information

Lecture 2. Diana Pell. Graphical Summaries of Data

Lecture 2. Diana Pell. Graphical Summaries of Data Lecture 2 Diana Pell Graphical Summaries of Data Categorical Frequency Distributions Exercise 1. Twenty-five army inductees were given a blood test to determine their blood type. The data set is Figure

More information

Math for Liberal Arts MAT 110: Chapter 5 Notes

Math for Liberal Arts MAT 110: Chapter 5 Notes Math for Liberal Arts MAT 110: Chapter 5 Notes Statistical Reasoning David J. Gisch Fundamentals of Statistics Two Definitions of Statistics Statistics is the science of collecting, organizing, and interpreting

More information

Package seqcombo. R topics documented: March 10, 2019

Package seqcombo. R topics documented: March 10, 2019 Package seqcombo March 10, 2019 Title Visualization Tool for Sequence Recombination and Reassortment Version 1.5.1 Provides useful functions for visualizing sequence recombination and virus reassortment

More information

Development of the Web-Based Child Asthma Risk Assessment Tool

Development of the Web-Based Child Asthma Risk Assessment Tool Development of the Web-Based Child Asthma Risk Assessment Tool Herman Mitchell, Ph.D. Rho, Inc Chapel Hill, NC hmitchell@rhoworld.com (919) 408-8000 x223 Overview: One of the clearest results of the Phase

More information

Assignment 5: Integrative epigenomics analysis

Assignment 5: Integrative epigenomics analysis Assignment 5: Integrative epigenomics analysis Due date: Friday, 2/24 10am. Note: no late assignments will be accepted. Introduction CpG islands (CGIs) are important regulatory regions in the genome. What

More information

Here are the various choices. All of them are found in the Analyze menu in SPSS, under the sub-menu for Descriptive Statistics :

Here are the various choices. All of them are found in the Analyze menu in SPSS, under the sub-menu for Descriptive Statistics : Descriptive Statistics in SPSS When first looking at a dataset, it is wise to use descriptive statistics to get some idea of what your data look like. Here is a simple dataset, showing three different

More information

Filling the Bins - or - Turning Numerical Data into Histograms. ISC1057 Janet Peterson and John Burkardt Computational Thinking Fall Semester 2016

Filling the Bins - or - Turning Numerical Data into Histograms. ISC1057 Janet Peterson and John Burkardt Computational Thinking Fall Semester 2016 * Filling the Bins - or - Turning Numerical Data into Histograms ISC1057 Janet Peterson and John Burkardt Computational Thinking Fall Semester 2016 A histogram is a kind of chart which shows patterns in

More information

Relationship Between Intraclass Correlation and Percent Rater Agreement

Relationship Between Intraclass Correlation and Percent Rater Agreement Relationship Between Intraclass Correlation and Percent Rater Agreement When raters are involved in scoring procedures, inter-rater reliability (IRR) measures are used to establish the reliability of measures.

More information

CSDplotter user guide Klas H. Pettersen

CSDplotter user guide Klas H. Pettersen CSDplotter user guide Klas H. Pettersen [CSDplotter user guide] [0.1.1] [version: 23/05-2006] 1 Table of Contents Copyright...3 Feedback... 3 Overview... 3 Downloading and installation...3 Pre-processing

More information

MA 151: Using Minitab to Visualize and Explore Data The Low Fat vs. Low Carb Debate

MA 151: Using Minitab to Visualize and Explore Data The Low Fat vs. Low Carb Debate MA 151: Using Minitab to Visualize and Explore Data The Low Fat vs. Low Carb Debate September 5, 2018 1 Introduction to the Data We will be working with a synthetic data set meant to resemble the weight

More information

Frequency Distributions

Frequency Distributions Frequency Distributions In this section, we look at ways to organize data in order to make it more user friendly. It is difficult to obtain any meaningful information from the data as presented in the

More information

Hour 2: lm (regression), plot (scatterplots), cooks.distance and resid (diagnostics) Stat 302, Winter 2016 SFU, Week 3, Hour 1, Page 1

Hour 2: lm (regression), plot (scatterplots), cooks.distance and resid (diagnostics) Stat 302, Winter 2016 SFU, Week 3, Hour 1, Page 1 Agenda for Week 3, Hr 1 (Tuesday, Jan 19) Hour 1: - Installing R and inputting data. - Different tools for R: Notepad++ and RStudio. - Basic commands:?,??, mean(), sd(), t.test(), lm(), plot() - t.test()

More information

Department of Statistics TEXAS A&M UNIVERSITY STAT 211. Instructor: Keith Hatfield

Department of Statistics TEXAS A&M UNIVERSITY STAT 211. Instructor: Keith Hatfield Department of Statistics TEXAS A&M UNIVERSITY STAT 211 Instructor: Keith Hatfield 1 Topic 1: Data collection and summarization Populations and samples Frequency distributions Histograms Mean, median, variance

More information

Computer Science 101 Project 2: Predator Prey Model

Computer Science 101 Project 2: Predator Prey Model Computer Science 101 Project 2: Predator Prey Model Real-life situations usually are complicated and difficult to model exactly because of the large number of variables present in real systems. Computer

More information

Charts Worksheet using Excel Obesity Can a New Drug Help?

Charts Worksheet using Excel Obesity Can a New Drug Help? Worksheet using Excel 2000 Obesity Can a New Drug Help? Introduction Obesity is known to be a major health risk. The data here arise from a study which aimed to investigate whether or not a new drug, used

More information

Lab 4 (M13) Objective: This lab will give you more practice exploring the shape of data, and in particular in breaking the data into two groups.

Lab 4 (M13) Objective: This lab will give you more practice exploring the shape of data, and in particular in breaking the data into two groups. Lab 4 (M13) Objective: This lab will give you more practice exploring the shape of data, and in particular in breaking the data into two groups. Activity 1 Examining Data From Class Background Download

More information

Scatter Plots and Association

Scatter Plots and Association ? LESSON 1.1 ESSENTIAL QUESTION Scatter Plots and Association How can you construct and interpret scatter plots? Measurement and data 8.11.A Construct a scatterplot and describe the observed data to address

More information

HARRISON ASSESSMENTS DEBRIEF GUIDE 1. OVERVIEW OF HARRISON ASSESSMENT

HARRISON ASSESSMENTS DEBRIEF GUIDE 1. OVERVIEW OF HARRISON ASSESSMENT HARRISON ASSESSMENTS HARRISON ASSESSMENTS DEBRIEF GUIDE 1. OVERVIEW OF HARRISON ASSESSMENT Have you put aside an hour and do you have a hard copy of your report? Get a quick take on their initial reactions

More information

Presenting Survey Data and Results"

Presenting Survey Data and Results Presenting Survey Data and Results" Professor Ron Fricker" Naval Postgraduate School" Monterey, California" Reading Assignment:" 2/15/13 None" 1 Goals for this Lecture" Discuss a bit about how to display

More information

Frequency Distributions

Frequency Distributions Frequency Distributions In this section, we look at ways to organize data in order to make it user friendly. We begin by presenting two data sets, from which, because of how the data is presented, it is

More information

Psy201 Module 3 Study and Assignment Guide. Using Excel to Calculate Descriptive and Inferential Statistics

Psy201 Module 3 Study and Assignment Guide. Using Excel to Calculate Descriptive and Inferential Statistics Psy201 Module 3 Study and Assignment Guide Using Excel to Calculate Descriptive and Inferential Statistics What is Excel? Excel is a spreadsheet program that allows one to enter numerical values or data

More information

Summary Students will be able to: 쐌 Compare and contrast the information on two posters. (Language Arts) 쐌 Make a stacked bar graph.

Summary Students will be able to: 쐌 Compare and contrast the information on two posters. (Language Arts) 쐌 Make a stacked bar graph. ACTIVITY 5 COUNT YOUR SERVINGS ACTIVITY 5 Estimated Lesson Length UR O Y T GS N U CO ERVIN S 60 minutes Nutrition Objective Students will be able to: 쐌 State daily servings from each of the five food groups.

More information

Section 6: Analysing Relationships Between Variables

Section 6: Analysing Relationships Between Variables 6. 1 Analysing Relationships Between Variables Section 6: Analysing Relationships Between Variables Choosing a Technique The Crosstabs Procedure The Chi Square Test The Means Procedure The Correlations

More information

BIOLOGY 3A LABORATORY Morphology and the shape and form of biological structures

BIOLOGY 3A LABORATORY Morphology and the shape and form of biological structures BIOLOGY 3A LABORATORY Morphology and the shape and form of biological structures For the harmony of the world is made manifest in form and number, and the heart and soul and all the poetry of Natural philosophy

More information

2016 Children and young people s inpatient and day case survey

2016 Children and young people s inpatient and day case survey NHS Patient Survey Programme 2016 Children and young people s inpatient and day case survey Technical details for analysing trust-level results Published November 2017 CQC publication Contents 1. Introduction...

More information

Titrations in Cytobank

Titrations in Cytobank The Premier Platform for Single Cell Analysis (1) Titrations in Cytobank To analyze data from a titration in Cytobank, the first step is to upload your own FCS files or clone an experiment you already

More information

Style Guide & Usage Policy

Style Guide & Usage Policy Style Guide & Usage Policy ABOUT US Donate Life California is the private, non-profit entity that administers the state-authorized organ and tissue donor registry dedicated to saving the lives of thousands

More information

Review of Veterinary Epidemiologic Research by Dohoo, Martin, and Stryhn

Review of Veterinary Epidemiologic Research by Dohoo, Martin, and Stryhn The Stata Journal (2004) 4, Number 1, pp. 89 92 Review of Veterinary Epidemiologic Research by Dohoo, Martin, and Stryhn Laurent Audigé AO Foundation laurent.audige@aofoundation.org Abstract. The new book

More information

AutoCAD 2017 Fundamentals

AutoCAD 2017 Fundamentals Autodesk AutoCAD 2017 Fundamentals Elise Moss SDC PUBLICATIONS Better Textbooks. Lower Prices. www.sdcpublications.com Powered by TCPDF (www.tcpdf.org) Visit the following websites to learn more about

More information

Stepwise method Modern Model Selection Methods Quantile-Quantile plot and tests for normality

Stepwise method Modern Model Selection Methods Quantile-Quantile plot and tests for normality Week 9 Hour 3 Stepwise method Modern Model Selection Methods Quantile-Quantile plot and tests for normality Stat 302 Notes. Week 9, Hour 3, Page 1 / 39 Stepwise Now that we've introduced interactions,

More information

Multiple Linear Regression

Multiple Linear Regression Multiple Linear Regression CSU Chico, Math 314 2018-12-05 Multiple Linear Regression 2018-12-05 1 / 41 outline Recap Multiple Linear Regression assumptions lite example interpretation adjusted R 2 simple

More information

Quantitative Methods in Computing Education Research (A brief overview tips and techniques)

Quantitative Methods in Computing Education Research (A brief overview tips and techniques) Quantitative Methods in Computing Education Research (A brief overview tips and techniques) Dr Judy Sheard Senior Lecturer Co-Director, Computing Education Research Group Monash University judy.sheard@monash.edu

More information

Eating and Sleeping Habits of Different Countries

Eating and Sleeping Habits of Different Countries 9.2 Analyzing Scatter Plots Now that we know how to draw scatter plots, we need to know how to interpret them. A scatter plot graph can give us lots of important information about how data sets are related

More information

Package MSstatsTMT. February 26, Title Protein Significance Analysis in shotgun mass spectrometry-based

Package MSstatsTMT. February 26, Title Protein Significance Analysis in shotgun mass spectrometry-based Package MSstatsTMT February 26, 2019 Title Protein Significance Analysis in shotgun mass spectrometry-based proteomic experiments with tandem mass tag (TMT) labeling Version 1.1.2 Date 2019-02-25 Tools

More information

Demonstrating Client Improvement to Yourself and Others

Demonstrating Client Improvement to Yourself and Others Demonstrating Client Improvement to Yourself and Others Understanding and Using your Outcome Evaluation System (Part 2 of 3) Greg Vinson, Ph.D. Senior Researcher and Evaluation Manager Center for Victims

More information

IAT 355 Visual Analytics. Encoding Information: Design. Lyn Bartram

IAT 355 Visual Analytics. Encoding Information: Design. Lyn Bartram IAT 355 Visual Analytics Encoding Information: Design Lyn Bartram 4 stages of visualization design 2 Recall: Data Abstraction Tables Data item (row) with attributes (columns) : row=key, cells = values

More information

v Feature Stamping SMS 13.0 Tutorial Prerequisites Requirements Map Module Mesh Module Scatter Module Time minutes

v Feature Stamping SMS 13.0 Tutorial Prerequisites Requirements Map Module Mesh Module Scatter Module Time minutes v. 13.0 SMS 13.0 Tutorial Objectives Learn how to use conceptual modeling techniques to create numerical models which incorporate flow control structures into existing bathymetry. The flow control structures

More information

MITOCW conditional_probability

MITOCW conditional_probability MITOCW conditional_probability You've tested positive for a rare and deadly cancer that afflicts 1 out of 1000 people, based on a test that is 99% accurate. What are the chances that you actually have

More information

COGNITIVE PSYCHOLOGY BY ROBERT J. STERNBERG, KARIN STERNBERG DOWNLOAD EBOOK : COGNITIVE PSYCHOLOGY BY ROBERT J. STERNBERG, KARIN STERNBERG PDF

COGNITIVE PSYCHOLOGY BY ROBERT J. STERNBERG, KARIN STERNBERG DOWNLOAD EBOOK : COGNITIVE PSYCHOLOGY BY ROBERT J. STERNBERG, KARIN STERNBERG PDF Read Online and Download Ebook COGNITIVE PSYCHOLOGY BY ROBERT J. STERNBERG, KARIN STERNBERG DOWNLOAD EBOOK : COGNITIVE PSYCHOLOGY BY ROBERT J. STERNBERG, KARIN STERNBERG PDF Click link bellow and free

More information

C o p y r ig h t 20 12, S AS In stit u te In c. A ll rig h ts re ser ve d.

C o p y r ig h t 20 12, S AS In stit u te In c. A ll rig h ts re ser ve d. Hi everyone, I m Shannon Conners and I am director of development operations for JMP. My group handles many of the tasks downstream of feature development-host and display system testing, documentation,

More information

EXTENDED DATA FORMATTING GUIDE

EXTENDED DATA FORMATTING GUIDE EXTENDED DATA FORMATTING GUIDE Nature paper but are included online within the full-text HTML and at the end of the online PDF. Nature separate panel (for example, see Extended Data Figure 2, panel d)

More information

Statistics and Probability

Statistics and Probability Statistics and a single count or measurement variable. S.ID.1: Represent data with plots on the real number line (dot plots, histograms, and box plots). S.ID.2: Use statistics appropriate to the shape

More information

Contents. 2 Statistics Static reference method Sampling reference set Statistics Sampling Types...

Contents. 2 Statistics Static reference method Sampling reference set Statistics Sampling Types... Department of Medical Protein Research, VIB, B-9000 Ghent, Belgium Department of Biochemistry, Ghent University, B-9000 Ghent, Belgium http://www.computationalproteomics.com icelogo manual Niklaas Colaert

More information

Math 075 Activities and Worksheets Book 2:

Math 075 Activities and Worksheets Book 2: Math 075 Activities and Worksheets Book 2: Linear Regression Name: 1 Scatterplots Intro to Correlation Represent two numerical variables on a scatterplot and informally describe how the data points are

More information

Put Your Best Figure Forward: Line Graphs and Scattergrams

Put Your Best Figure Forward: Line Graphs and Scattergrams 56:8 1229 1233 (2010) Clinical Chemistry Put Your Best Figure Forward: Line Graphs and Scattergrams Thomas M. Annesley * There is an old saying that a picture is worth a thousand words. In truth, only

More information

Master of Arts in Learning and Technology. Technology Design Portfolio. TDT1 Task 2. Mentor: Dr. Teresa Dove. Mary Mulford. Student ID: #

Master of Arts in Learning and Technology. Technology Design Portfolio. TDT1 Task 2. Mentor: Dr. Teresa Dove. Mary Mulford. Student ID: # Technology Design Process 1 Master of Arts in Learning and Technology Technology Design Portfolio TDT1 Task 2 Mentor: Dr. Teresa Dove Mary Mulford Student ID: #000163172 June 23, 2014 A Written Project

More information

PSYCHOLOGY 300B (A01)

PSYCHOLOGY 300B (A01) PSYCHOLOGY 00B (A01) Assignment February, 019 t = n M i M j + n SS R = nc (M R GM ) SS C = nr (M C GM ) SS error = (X M) = s (n 1) SS RC = n (M GM ) SS R SS C SS total = (X GM ) df total = rcn 1 df R =

More information

Chapter 7: Descriptive Statistics

Chapter 7: Descriptive Statistics Chapter Overview Chapter 7 provides an introduction to basic strategies for describing groups statistically. Statistical concepts around normal distributions are discussed. The statistical procedures of

More information

LAB: DIFFUSION ACROSS A SELECTIVELY PERMEABLE MEMBRANE

LAB: DIFFUSION ACROSS A SELECTIVELY PERMEABLE MEMBRANE LAB: DIFFUSION ACROSS A SELECTIVELY PERMEABLE MEMBRANE NAME: PERIOD: DATE: Building Background Knowledge: 1) SELECTIVELY PERMEABLE MEMBRANE: Every cell is surrounded by a selectively permeable membrane

More information

NATIONAL CERTIFICATE (VOCATIONAL) LIFE ORIENTATION (Second Paper) NQF LEVEL 2 SUPPLEMENTARY EXAMINATION 2010

NATIONAL CERTIFICATE (VOCATIONAL) LIFE ORIENTATION (Second Paper) NQF LEVEL 2 SUPPLEMENTARY EXAMINATION 2010 NATIONAL CERTIFICATE (VOCATIONAL) LIFE ORIENTATION (Second Paper) NQF LEVEL 2 SUPPLEMENTARY EXAMINATION 2010 (7601012) 16 February (X-Paper) 09:00 11:00 This question paper consists of 10 pages and a 1-page

More information

CS Information Visualization Sep. 10, 2012 John Stasko. General representation techniques for multivariate (>3) variables per data case

CS Information Visualization Sep. 10, 2012 John Stasko. General representation techniques for multivariate (>3) variables per data case Topic Notes Multivariate Visual Representations 1 CS 7450 - Information Visualization Sep. 10, 2012 John Stasko Agenda General representation techniques for multivariate (>3) variables per data case But

More information

Psychology Research Methods Lab Session Week 10. Survey Design. Due at the Start of Lab: Lab Assignment 3. Rationale for Today s Lab Session

Psychology Research Methods Lab Session Week 10. Survey Design. Due at the Start of Lab: Lab Assignment 3. Rationale for Today s Lab Session Psychology Research Methods Lab Session Week 10 Due at the Start of Lab: Lab Assignment 3 Rationale for Today s Lab Session Survey Design This tutorial supplements your lecture notes on Measurement by

More information

Experiment 1: Scientific Measurements and Introduction to Excel

Experiment 1: Scientific Measurements and Introduction to Excel Experiment 1: Scientific Measurements and Introduction to Excel Reading: Chapter 1 of your textbook and this lab handout. Learning Goals for Experiment 1: To use a scientific notebook as a primary record

More information

This means that the explanatory variable accounts for or predicts changes in the response variable.

This means that the explanatory variable accounts for or predicts changes in the response variable. Lecture Notes & Examples 3.1 Section 3.1 Scatterplots and Correlation (pp. 143-163) Most statistical studies examine data on more than one variable. We will continue to use tools we have already learned

More information

WATER AND SOLUTE MOVEMENT THROUGH RED BLOOD CELLS

WATER AND SOLUTE MOVEMENT THROUGH RED BLOOD CELLS WATER AND SOLUTE MOVEMENT THROUGH RED BLOOD CELLS Purpose This exercise is designed to demonstrate the properties of cellular membranes and the movement of water and solutes across them. In this lab, you

More information

Dividing up the data

Dividing up the data Dividing up the data Stephen Barnes Analysis of the control genistein data The Excel download from the XCMS analysis contained 7840 ion features Too many to load them onto MetaboAnalyst (restricted to

More information

MS/MS Library Creation of Q-TOF LC/MS Data for MassHunter PCDL Manager

MS/MS Library Creation of Q-TOF LC/MS Data for MassHunter PCDL Manager MS/MS Library Creation of Q-TOF LC/MS Data for MassHunter PCDL Manager Quick Start Guide Step 1. Calibrate the Q-TOF LC/MS for low m/z ratios 2 Step 2. Set up a Flow Injection Analysis (FIA) method for

More information

CIS192 Python Programming

CIS192 Python Programming CIS192 Python Programming Scientific Computing Eric Kutschera University of Pennsylvania March 20, 2015 Eric Kutschera (University of Pennsylvania) CIS 192 March 20, 2015 1 / 28 Course Feedback Let me

More information

From Biostatistics Using JMP: A Practical Guide. Full book available for purchase here. Chapter 1: Introduction... 1

From Biostatistics Using JMP: A Practical Guide. Full book available for purchase here. Chapter 1: Introduction... 1 From Biostatistics Using JMP: A Practical Guide. Full book available for purchase here. Contents Dedication... iii Acknowledgments... xi About This Book... xiii About the Author... xvii Chapter 1: Introduction...

More information

QPM Lab 9: Contingency Tables and Bivariate Displays in R

QPM Lab 9: Contingency Tables and Bivariate Displays in R QPM Lab 9: Contingency Tables and Bivariate Displays in R Department of Political Science Washington University, St. Louis November 3-4, 2016 QPM Lab 9: Contingency Tables and Bivariate Displays in R 1

More information

LAB: DIFFUSION ACROSS A SELECTIVELY PERMEABLE MEMBRANE

LAB: DIFFUSION ACROSS A SELECTIVELY PERMEABLE MEMBRANE LAB: DIFFUSION ACROSS A SELECTIVELY PERMEABLE MEMBRANE NAME: PERIOD: DATE: Building Background Knowledge: 1) SELECTIVELY PERMEABLE MEMBRANE: Every cell is surrounded by a selectively permeable membrane

More information

Lab #7: Confidence Intervals-Hypothesis Testing (2)-T Test

Lab #7: Confidence Intervals-Hypothesis Testing (2)-T Test A. Objectives: Lab #7: Confidence Intervals-Hypothesis Testing (2)-T Test 1. Subsetting based on variable 2. Explore Normality 3. Explore Hypothesis testing using T-Tests Confidence intervals and initial

More information

Using the Workbook Method to Make HIV/AIDS Estimates in Countries with Low-Level or Concentrated Epidemics. Participant Manual

Using the Workbook Method to Make HIV/AIDS Estimates in Countries with Low-Level or Concentrated Epidemics. Participant Manual Using the Workbook Method to Make HIV/AIDS Estimates in Countries with Low-Level or Concentrated Epidemics Participant Manual Joint United Nations Programme on HIV/AIDS (UNAIDS), Reference Group on Estimates,

More information

Using SPSS for Correlation

Using SPSS for Correlation Using SPSS for Correlation This tutorial will show you how to use SPSS version 12.0 to perform bivariate correlations. You will use SPSS to calculate Pearson's r. This tutorial assumes that you have: Downloaded

More information

Reveal Relationships in Categorical Data

Reveal Relationships in Categorical Data SPSS Categories 15.0 Specifications Reveal Relationships in Categorical Data Unleash the full potential of your data through perceptual mapping, optimal scaling, preference scaling, and dimension reduction

More information

CNV PCA Search Tutorial

CNV PCA Search Tutorial CNV PCA Search Tutorial Release 8.1 Golden Helix, Inc. March 18, 2014 Contents 1. Data Preparation 2 A. Join Log Ratio Data with Phenotype Information.............................. 2 B. Activate only

More information