dplyr & Functions stat 480 Heike Hofmann

Size: px
Start display at page:

Download "dplyr & Functions stat 480 Heike Hofmann"

Transcription

1 dplyr & Functions stat 480 Heike Hofmann

2 Outline dplyr functions and package Functions

3 library(dplyr) data(baseball, package= plyr ))

4 Your Turn Use data(baseball, package="plyr") to make the baseball dataset active in R. Subset the data on your favorite player (you will need the Lahmann ID, e.g. Sammy Sosa sosasa01, Barry Bonds bondsba01, Babe Ruth ruthba01) Compute your player s batting averages for each season (batting average = #Hits/#at bats). Define a new variable experience in the data set as year - min(year) Plot averages by #years of experience. Compute an alltime batting average for your player.

5 summarise What does the summarise function do? Read up on it on its help pages: help(summarise)

6 summarise # overall batting average summarise(baseball,! mba = sum(h)/sum(ab) ) summarise(baseball,! first = min(year),!!!!! # first year of baseball records! duration = max(year) - min(year),! # duration of record taking in years! nteams = length(unique(team)),!! # different number of teams! nplayers = length(unique(id))!! # number of baseball players # in the dataset )

7 dplyr package introduces workflow that makes working with large datasets (relatively) easy main functionality: group_by, summarise, mutate, filter vignettes/introduction.html

8 group_by group_by(data, var1,...) is a function that takes a dataset and introduces a group for each (combination of) level(s) of the grouping variable(s) Power combination: group_by and summarise for a grouped dataframe, the summary statistics will be calculated for every group

9 library(dplyr) data(baseball, package="plyr") summarise(baseball, seasons = max(year)-min(year)+1, atbats = sum(ab), avg = sum(h, na.rm=t)/sum(ab, na.rm=t) ) seasons atbats avg summarise(group_by(baseball, id), seasons = max(year)-min(year)+1, atbats = sum(ab), avg = sum(h, na.rm=t)/sum(ab, na.rm=t) ) id seasons atbats avg 1 perezne walketo sweenma schmija loaizes

10 Chaining operator %.% x %.% f(y) is equivalent to f(x, y) baseball %.% group_by(id) is equivalent to group_by(baseball, id) Read %.% as then i.e. take data, then group it by player s id, then summarise it to

11 Chained version of example baseball %.% group_by(id) %.% summarise( seasons = max(year)-min(year)+1, atbats = sum(ab), avg = sum(h, na.rm=t)/sum(ab, na.rm=t) )

12 Your Turn Use dplyr statements to get (a) the life time batting average for each player (mba) (b) the life time number of times each player was at bats. (nab) Plot nab versus mba.

13 filter filter(data, expr1,...) is a function that takes a dataset and subsets it according to a set of expressions filter() works similarly to subset() except that you can give it any number of filtering conditions which are joined together with the logical AND &. You can use other boolean operators explicitly

14 Your Turn Use dplyr statements to get the number of team members on a team for each season (think of unique) Has the number of homeruns per season changed over time? Summarize the data with dplyr routines first, then visualize.

15 Functions in R Have been using functions a lot, now we want to write them ourselves! Idea: avoid repetitive coding (errors will creep in) Instead: extract common core, wrap it in a function, make it reusable

16 Basic Structure Name Input arguments names, default values Body Output values

17 A first function mean <- function(x) { return(sum(x)/length(x)) } mean(1:15) mean(c(1:15, NA)) mean <- function(x, na.rm=f) { if (na.rm) x <- na.omit(x) } return(sum(x)/length(x)) mean(1:15) mean(c(1:15, NA), na.rm=t)

18 Function mean Name: Input arguments mean x, na.rm=t names, default values Body Output values if(na.rm) x <- na.omit(x) return(sum(x)/length(x))

19 Function Writing Start simple, then extend Test out each step of the way Don t try too much at once help(browser)

20 Practice Write a function called mba input: playerid output: life-time batting average for playerid what does mba( bondsba01 )do? write a function called pstats input: playerid output: life-time batting average for playerid number of overall at bats

21 Checkpoint Submit all of your code for the last Your Turn at

22 Testing Always test the functions you ve written Even better: let somebody else test them for you Switch seats with your neighbor, test their functions!

Background Information. Project Instructions. Problem Statement. EXAM REVIEW PROJECT Microsoft Excel Review Baseball Hall of Fame Problem

Background Information. Project Instructions. Problem Statement. EXAM REVIEW PROJECT Microsoft Excel Review Baseball Hall of Fame Problem Background Information Every year, the National Baseball Hall of Fame conducts an election to select new inductees from candidates nationally recognized for their talent or association with the sport of

More information

In my left hand I hold 15 Argentine pesos. In my right, I hold 100 Chilean

In my left hand I hold 15 Argentine pesos. In my right, I hold 100 Chilean Chapter 6 Meeting Standards and Standings In This Chapter How to standardize scores Making comparisons Ranks in files Rolling in the percentiles In my left hand I hold 15 Argentine pesos. In my right,

More information

Lab 11: Introduction to Linear Regression

Lab 11: Introduction to Linear Regression Lab 11: Introduction to Linear Regression Batter up The movie Moneyball focuses on the quest for the secret of success in baseball. It follows a low-budget team, the Oakland Athletics, who believed that

More information

A Shallow Dive into Deep Sea Data Sarah Solie and Arielle Fogel 7/18/2018

A Shallow Dive into Deep Sea Data Sarah Solie and Arielle Fogel 7/18/2018 A Shallow Dive into Deep Sea Data Sarah Solie and Arielle Fogel 7/18/2018 Introduction The datasets This data expedition will utilize the World Ocean Atlas (WOA) database to explore two deep sea physical

More information

How are the values related to each other? Are there values that are General Education Statistics

How are the values related to each other? Are there values that are General Education Statistics How are the values related to each other? Are there values that are General Education Statistics far away from the others? Class Notes Measures of Position and Outliers: Z-scores, Percentiles, Quartiles,

More information

Package nhlscrapr. R topics documented: March 8, Type Package

Package nhlscrapr. R topics documented: March 8, Type Package Type Package Package nhlscrapr March 8, 2017 Title Compiling the NHL Real Time Scoring System Database for easy use in R Version 1.8.1 Date 2014-10-19 Author A.C. Thomas, Samuel L. Ventura Maintainer ORPHANED

More information

Activity: the race to beat Ruth

Activity: the race to beat Ruth Activity: the race to beat Ruth Background In baseball, a pitcher from the fielding team throws a ball at a batter from the batting team, who attempts to hit the ball with a stick. If she hits the ball,

More information

Fastball Baseball Manager 2.5 for Joomla 2.5x

Fastball Baseball Manager 2.5 for Joomla 2.5x Fastball Baseball Manager 2.5 for Joomla 2.5x Contents Requirements... 1 IMPORTANT NOTES ON UPGRADING... 1 Important Notes on Upgrading from Fastball 1.7... 1 Important Notes on Migrating from Joomla 1.5x

More information

When Should Bonds be Walked Intentionally?

When Should Bonds be Walked Intentionally? When Should Bonds be Walked Intentionally? Mark Pankin SABR 33 July 10, 2003 Denver, CO Notes provide additional information and were reminders to me for making the presentation. They are not supposed

More information

Lesson 2 Pre-Visit Slugging Percentage

Lesson 2 Pre-Visit Slugging Percentage Lesson 2 Pre-Visit Slugging Percentage Objective: Students will be able to: Set up and solve equations for batting average and slugging percentage. Review prior knowledge of conversion between fractions,

More information

CHAPTER 2 Modeling Distributions of Data

CHAPTER 2 Modeling Distributions of Data CHAPTER 2 Modeling Distributions of Data 2.1 Describing Location in a Distribution The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers 2.1 Reading Quiz

More information

CS 221 PROJECT FINAL

CS 221 PROJECT FINAL CS 221 PROJECT FINAL STUART SY AND YUSHI HOMMA 1. INTRODUCTION OF TASK ESPN fantasy baseball is a common pastime for many Americans, which, coincidentally, defines a problem whose solution could potentially

More information

Model Selection Erwan Le Pennec Fall 2015

Model Selection Erwan Le Pennec Fall 2015 Model Selection Erwan Le Pennec Fall 2015 library("dplyr") library("ggplot2") library("ggfortify") library("reshape2") Model Selection We will now use another classical dataset birthwt which corresponds

More information

Math and Science Activities. Context of Baseball

Math and Science Activities. Context of Baseball Math and Science Activities in the Context of Baseball from the Event-Based Science Institute Teacher Version Mathematics Math and Science Activities in the Context of Baseball from the Event-Based Science

More information

Correlation and regression using the Lahman database for baseball Michael Lopez, Skidmore College

Correlation and regression using the Lahman database for baseball Michael Lopez, Skidmore College Correlation and regression using the Lahman database for baseball Michael Lopez, Skidmore College Overview The Lahman package is a gold mine for statisticians interested in studying baseball. In today

More information

Data wrangling. Chapter A grammar for data wrangling select() and filter()

Data wrangling. Chapter A grammar for data wrangling select() and filter() Chapter 4 Data wrangling This chapter introduces basics of how to wrangle data in R. Wrangling skills will provide an intellectual and practical foundation for working with modern data. 4.1 A grammar for

More information

Guide to Computing Minitab commands used in labs (mtbcode.out)

Guide to Computing Minitab commands used in labs (mtbcode.out) Guide to Computing Minitab commands used in labs (mtbcode.out) A full listing of Minitab commands can be found by invoking the HELP command while running Minitab. A reference card, with listing of available

More information

Package mrchmadness. April 9, 2017

Package mrchmadness. April 9, 2017 Package mrchmadness April 9, 2017 Title Numerical Tools for Filling Out an NCAA Basketball Tournament Bracket Version 1.0.0 URL https://github.com/elishayer/mrchmadness Imports dplyr, glmnet, Matrix, rvest,

More information

NCSS Statistical Software

NCSS Statistical Software Chapter 256 Introduction This procedure computes summary statistics and common non-parametric, single-sample runs tests for a series of n numeric, binary, or categorical data values. For numeric data,

More information

The pth percentile of a distribution is the value with p percent of the observations less than it.

The pth percentile of a distribution is the value with p percent of the observations less than it. Describing Location in a Distribution (2.1) Measuring Position: Percentiles One way to describe the location of a value in a distribution is to tell what percent of observations are less than it. De#inition:

More information

Predicting the Total Number of Points Scored in NFL Games

Predicting the Total Number of Points Scored in NFL Games Predicting the Total Number of Points Scored in NFL Games Max Flores (mflores7@stanford.edu), Ajay Sohmshetty (ajay14@stanford.edu) CS 229 Fall 2014 1 Introduction Predicting the outcome of National Football

More information

SAP Predictive Analysis and the MLB Post Season

SAP Predictive Analysis and the MLB Post Season SAP Predictive Analysis and the MLB Post Season Since September is drawing to a close and October is rapidly approaching, I decided to hunt down some baseball data and see if we can draw any insights on

More information

Chapter. 1 Who s the Best Hitter? Averages

Chapter. 1 Who s the Best Hitter? Averages Chapter 1 Who s the Best Hitter? Averages The box score, being modestly arcane, is a matter of intense indifference, if not irritation, to the non-fan. To the baseball-bitten, it is not only informative,

More information

Package jackstraw. August 7, 2018

Package jackstraw. August 7, 2018 Type Package Package jackstraw August 7, 2018 Title Statistical Inference for Unsupervised Learning Version 1.2 Date 2018-08-08 Author, John D. Storey , Wei Hao

More information

FIG: 27.1 Tool String

FIG: 27.1 Tool String Bring up Radioactive Tracer service. Click Acquisition Box - Edit - Tool String Edit the tool string as necessary to reflect the tool string being run. This is important to insure proper offsets, filters,

More information

Predicting Baseball Home Run Records Using Exponential Frequency Distributions

Predicting Baseball Home Run Records Using Exponential Frequency Distributions arxiv:physics/0608228v1 [physics.pop-ph] 23 Aug 2006 Predicting Baseball Home Run Records Using Exponential Frequency Distributions Abstract Daniel J. Kelley, Jonas R. Mureika, Jeffrey A. Phillips Department

More information

Warm-up. Make a bar graph to display these data. What additional information do you need to make a pie chart?

Warm-up. Make a bar graph to display these data. What additional information do you need to make a pie chart? Warm-up The number of deaths among persons aged 15 to 24 years in the United States in 1997 due to the seven leading causes of death for this age group were accidents, 12,958; homicide, 5,793; suicide,

More information

NUMB3RS Activity: Is It for Real? Episode: Hardball

NUMB3RS Activity: Is It for Real? Episode: Hardball Teacher Page 1 NUMB3RS Activity: Is It for Real? Topic: Data analysis Grade Level: 9-10 Objective: Use formulas to generate data points. Produce line graphs of which inferences are made. Time: 20 minutes

More information

Unit 6 Day 2 Notes Central Tendency from a Histogram; Box Plots

Unit 6 Day 2 Notes Central Tendency from a Histogram; Box Plots AFM Unit 6 Day 2 Notes Central Tendency from a Histogram; Box Plots Name Date To find the mean, median and mode from a histogram, you first need to know how many data points were used. Use the frequency

More information

[CROSS COUNTRY SCORING]

[CROSS COUNTRY SCORING] 2018 The Race Director Guide [CROSS COUNTRY SCORING] This document describes the setup and scoring processes employed when scoring a cross country race with Race Director. Contents Intro... 3 Division

More information

Chapter 2: Modeling Distributions of Data

Chapter 2: Modeling Distributions of Data Chapter 2: Modeling Distributions of Data Section 2.1 The Practice of Statistics, 4 th edition - For AP* STARNES, YATES, MOORE Chapter 2 Modeling Distributions of Data 2.1 2.2 Normal Distributions Section

More information

Lab 5: Descriptive Statistics

Lab 5: Descriptive Statistics Page 1 Technical Math II Lab 5: Descriptive Stats Lab 5: Descriptive Statistics Purpose: To gain experience in the descriptive statistical analysis of a large (173 scores) data set. You should do most

More information

Conflating a Traffic Model Network With a Road Inventory. David Knudsen

Conflating a Traffic Model Network With a Road Inventory. David Knudsen Conflating a Traffic Model Network With a Road Inventory David Knudsen Traffic modelers need to derive attributes of their abstracted networks from road layers maintained by highway departments, and planners

More information

AP Stats Chapter 2 Notes

AP Stats Chapter 2 Notes AP Stats Chapter 2 Notes 2.1 Measures of Relative Standing & Density Curves What is a percentile? On a test, is a student s percentile the same as the percent correct? Example: Test Scores Suppose the

More information

Package STI. August 19, Index 7. Compute the Standardized Temperature Index

Package STI. August 19, Index 7. Compute the Standardized Temperature Index Package STI August 19, 2015 Type Package Title Calculation of the Standardized Temperature Index Version 0.1 Date 2015-08-18 Author Marc Fasel [aut, cre] Maintainer Marc Fasel A set

More information

One of the most-celebrated feats

One of the most-celebrated feats Joe DiMaggio Done It Again and Again and Again and Again? David Rockoff and Philip Yates Joe DiMaggio done it again! Joe DiMaggio done it again! Clackin that bat, gone with the wind! Joe DiMaggio s done

More information

Analytics Improving Professional Sports Today

Analytics Improving Professional Sports Today University of Tennessee, Knoxville Trace: Tennessee Research and Creative Exchange University of Tennessee Honors Thesis Projects University of Tennessee Honors Program 12-2018 Analytics Improving Professional

More information

Major League Baseball Offensive Production in the Designated Hitter Era (1973 Present)

Major League Baseball Offensive Production in the Designated Hitter Era (1973 Present) Major League Baseball Offensive Production in the Designated Hitter Era (1973 Present) Jonathan Tung University of California, Riverside tung.jonathanee@gmail.com Abstract In Major League Baseball, there

More information

Working with Object- Orientation

Working with Object- Orientation HOUR 3 Working with Object- Orientation What You ll Learn in This Hour:. How to model a class. How to show a class s features, responsibilities, and constraints. How to discover classes Now it s time to

More information

DIY - PC - Interface for Suunto Cobra/Vyper/Mosquito

DIY - PC - Interface for Suunto Cobra/Vyper/Mosquito DIY - PC - Interface for Suunto Cobra/Vyper/Mosquito Summary This document is the distinct consequence of the Spyder/Stinger interface DIY. After having many e-mails concerning the application for the

More information

[CROSS COUNTRY SCORING]

[CROSS COUNTRY SCORING] 2015 The Race Director Guide [CROSS COUNTRY SCORING] This document describes the setup and scoring processes employed when scoring a cross country race with Race Director. Contents Intro... 3 Division

More information

Running head: DATA ANALYSIS AND INTERPRETATION 1

Running head: DATA ANALYSIS AND INTERPRETATION 1 Running head: DATA ANALYSIS AND INTERPRETATION 1 Data Analysis and Interpretation Final Project Vernon Tilly Jr. University of Central Oklahoma DATA ANALYSIS AND INTERPRETATION 2 Owners of the various

More information

Navigate to the golf data folder and make it your working directory. Load the data by typing

Navigate to the golf data folder and make it your working directory. Load the data by typing Golf Analysis 1.1 Introduction In a round, golfers have a number of choices to make. For a particular shot, is it better to use the longest club available to try to reach the green, or would it be better

More information

Overview. Time Learning Activities Learning Outcomes. 10 Workshop Introduction

Overview. Time Learning Activities Learning Outcomes. 10 Workshop Introduction Overview Time Learning Activities Learning Outcomes 10 Workshop Introduction 40 Town Hall Presentation Pitching Phases 20 Jig Saw Grips Pair and Share, Storm and Solve, Fish Bowl 55 Understanding your

More information

Using SAS/INSIGHT Software as an Exploratory Data Mining Platform Robin Way, SAS Institute Inc., Portland, OR

Using SAS/INSIGHT Software as an Exploratory Data Mining Platform Robin Way, SAS Institute Inc., Portland, OR Using SAS/INSIGHT Software as an Exploratory Data Mining Platform Robin Way, SAS Institute Inc., Portland, OR ABSTRACT Data mining has captured the hearts and minds of business analysts seeking a solution

More information

Building an NFL performance metric

Building an NFL performance metric Building an NFL performance metric Seonghyun Paik (spaik1@stanford.edu) December 16, 2016 I. Introduction In current pro sports, many statistical methods are applied to evaluate player s performance and

More information

Black Box testing Exercises. Lecturer: Giuseppe Santucci

Black Box testing Exercises. Lecturer: Giuseppe Santucci Black Box testing Exercises Lecturer: Giuseppe Santucci Exercise 1 A software program for the simulation of scuba diving with special gas mixture gives indication about maximum time of stay on the bottom,

More information

IBIS File : Problems & Software Solution

IBIS File : Problems & Software Solution UAq EMC Laboratory IBIS File : Problems & Software Solution F. de Paulis, A. Orlandi, D. Di Febo UAq EMC Laboratory, University of L Aquila, L Aquila Italy European IBIS Summit Naples, May 11, 2011 How

More information

SQL Aggregate Queries

SQL Aggregate Queries SQL Aggregate Queries CS430/630 Lecture 8 Slides based on Database Management Systems 3 rd ed, Ramakrishnan and Gehrke Aggregate Operators Significant extension of relational algebra COUNT (*) COUNT (

More information

Evaluation of Prognostic and Diagnostic Meteorological Data

Evaluation of Prognostic and Diagnostic Meteorological Data Evaluation of Prognostic and Diagnostic Meteorological Data Why Is An Evaluation Necessary? The BART process taught us some valuable lessons: The consultant has no familiarity with the data set, but typically

More information

Data Sheet T 8389 EN. Series 3730 and 3731 Types , , , and. EXPERTplus Valve Diagnostic

Data Sheet T 8389 EN. Series 3730 and 3731 Types , , , and. EXPERTplus Valve Diagnostic Data Sheet T 8389 EN Series 3730 and 3731 Types 3730-2, 3730-3, 3730-4, 3730-5 and Type 3731-3 Electropneumatic Positioners EXPERTplus Valve Diagnostic Application Positioner firmware to detect potential

More information

GMS 10.0 Tutorial SEAWAT Viscosity and Pressure Effects Examine the Effects of Pressure on Fluid Density with SEAWAT

GMS 10.0 Tutorial SEAWAT Viscosity and Pressure Effects Examine the Effects of Pressure on Fluid Density with SEAWAT v. 10.0 GMS 10.0 Tutorial SEAWAT Viscosity and Pressure Effects Examine the Effects of Pressure on Fluid Density with SEAWAT Objectives Learn how to simulate the effects of viscosity and how pressure impacts

More information

Working with Marker Maps Tutorial

Working with Marker Maps Tutorial Working with Marker Maps Tutorial Release 8.2.0 Golden Helix, Inc. September 25, 2014 Contents 1. Overview 2 2. Create Marker Map from Spreadsheet 4 3. Apply Marker Map to Spreadsheet 7 4. Add Fields

More information

a) List and define all assumptions for multiple OLS regression. These are all listed in section 6.5

a) List and define all assumptions for multiple OLS regression. These are all listed in section 6.5 Prof. C. M. Dalton ECN 209A Spring 2015 Practice Problems (After HW1, HW2, before HW3) CORRECTED VERSION Question 1. Draw and describe a relationship with heteroskedastic errors. Support your claim with

More information

THE HOME RUN BOOK: CAN ONE POSITIVE READING EXPERIENCE

THE HOME RUN BOOK: CAN ONE POSITIVE READING EXPERIENCE ALL THE HOME RUN PDF THE HOME RUN BOOK: CAN ONE POSITIVE READING EXPERIENCE ACCESS BY SINGLE CLICK TO YOUR HOME RUN PDF BOOK. 1 / 5 2 / 5 3 / 5 all the home run pdf The Home Run Book: Can One Positive

More information

b. Graphs provide a means of quickly comparing data sets. Concepts: a. A graph can be used to identify statistical trends

b. Graphs provide a means of quickly comparing data sets. Concepts: a. A graph can be used to identify statistical trends Baseball Bat Testing: Subjects: Topics: data. Math/Science Gathering and organizing data from an experiment Creating graphical representations of experimental data Analyzing and interpreting graphical

More information

On the Quality of HY-2A Scatterometer Winds

On the Quality of HY-2A Scatterometer Winds On the Quality of HY-2A Scatterometer Winds W. Lin (ICM-CSIC) M. Portabella (ICM-CSIC) A. Stoffelen (KNMI) A. Verhoef (KNMI) Youguang Zhang (NSOAS) Mingsen Lin (NSOAS) Shuyan Lang (NSOAS) Juhong Zou (NSOAS)

More information

BASKETBALL PREDICTION ANALYSIS OF MARCH MADNESS GAMES CHRIS TSENG YIBO WANG

BASKETBALL PREDICTION ANALYSIS OF MARCH MADNESS GAMES CHRIS TSENG YIBO WANG BASKETBALL PREDICTION ANALYSIS OF MARCH MADNESS GAMES CHRIS TSENG YIBO WANG GOAL OF PROJECT The goal is to predict the winners between college men s basketball teams competing in the 2018 (NCAA) s March

More information

Doc. no.dit om005 PRODUCT NAME. IO-Link/ELECTRO-PNEUMATIC REGULATOR. MODEL / Series / Product Number ITV*0*0-IO****-X395

Doc. no.dit om005 PRODUCT NAME. IO-Link/ELECTRO-PNEUMATIC REGULATOR. MODEL / Series / Product Number ITV*0*0-IO****-X395 Doc. no.dit-69900-om005 PRODUCT NAME IO-Link/ELECTRO-PNEUMATIC REGULATOR MODEL / Series / Product Number ITV*0*0-IO****-X395 This is the operation manual for the IO-Link compliant ITV. For other contents

More information

STAT 155 Introductory Statistics. Lecture 2: Displaying Distributions with Graphs

STAT 155 Introductory Statistics. Lecture 2: Displaying Distributions with Graphs The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL STAT 155 Introductory Statistics Lecture 2: Displaying Distributions with Graphs 8/29/06 Lecture 2-1 1 Recall Statistics is the science of data. Collecting

More information

plyr Modelling large data Hadley Wickham

plyr Modelling large data Hadley Wickham plyr Modelling large data Hadley Wickham 1. Strategy for analysing large data. 2. Introduction to the Texas housing data. 3. What s happening in Houston? 4. Using a models as a tool 5. Using models in

More information

CHAPTER 1 ORGANIZATION OF DATA SETS

CHAPTER 1 ORGANIZATION OF DATA SETS CHAPTER 1 ORGANIZATION OF DATA SETS When you collect data, it comes to you in more or less a random fashion and unorganized. For example, what if you gave a 35 item test to a class of 50 students and collect

More information

PREDICTING TEXTURE DEFICIENCY IN PAVEMENT MANAGEMENT PREDICTING TEXTURE DEFICIENCY IN PAVEMENT MANAGEMENT

PREDICTING TEXTURE DEFICIENCY IN PAVEMENT MANAGEMENT PREDICTING TEXTURE DEFICIENCY IN PAVEMENT MANAGEMENT PREDICTING TEXTURE DEFICIENCY IN PAVEMENT MANAGEMENT Sean Rainsford Chris Parkman MWH NZ Ltd Transit New Zealand PREDICTING TEXTURE DEFICIENCY IN PAVEMENT MANAGEMENT Inadequate texture is one of the key

More information

Naval Postgraduate School, Operational Oceanography and Meteorology. Since inputs from UDAS are continuously used in projects at the Naval

Naval Postgraduate School, Operational Oceanography and Meteorology. Since inputs from UDAS are continuously used in projects at the Naval How Accurate are UDAS True Winds? Charles L Williams, LT USN September 5, 2006 Naval Postgraduate School, Operational Oceanography and Meteorology Abstract Since inputs from UDAS are continuously used

More information

MTB 02 Intermediate Minitab

MTB 02 Intermediate Minitab MTB 02 Intermediate Minitab This module will cover: Advanced graphing Changing data types Value Order Making similar graphs Zooming worksheet Brushing Multi-graphs: By variables Interactively upgrading

More information

Fundamentals of Machine Learning for Predictive Data Analytics

Fundamentals of Machine Learning for Predictive Data Analytics Fundamentals of Machine Learning for Predictive Data Analytics Appendix A Descriptive Statistics and Data Visualization for Machine learning John Kelleher and Brian Mac Namee and Aoife D Arcy john.d.kelleher@dit.ie

More information

Which On-Base Percentage Shows. the Highest True Ability of a. Baseball Player?

Which On-Base Percentage Shows. the Highest True Ability of a. Baseball Player? Which On-Base Percentage Shows the Highest True Ability of a Baseball Player? January 31, 2018 Abstract This paper looks at the true on-base ability of a baseball player given their on-base percentage.

More information

Combination Analysis Tutorial

Combination Analysis Tutorial Combination Analysis Tutorial 3-1 Combination Analysis Tutorial It is inherent in the Swedge analysis (when the Block Shape = Wedge), that tetrahedral wedges can only be formed by the intersection of 2

More information

THE KNOWLEDGE NETWORKS-ASSOCIATED PRESS POLL SPORTS POLL (BASEBALL) CONDUCTED BY KNOWLEDGE NETWORKS July 6, 2009

THE KNOWLEDGE NETWORKS-ASSOCIATED PRESS POLL SPORTS POLL (BASEBALL) CONDUCTED BY KNOWLEDGE NETWORKS July 6, 2009 1350 Willow Rd, Suite 102 Menlo Park, CA 94025 www.knowledgenetworks.com Interview dates: June 26 July 5, 2009 Interviews: 655 adults interested or very interested in MLB Sampling margin of error for a

More information

Water Samplers, Water Sampling with Internal Recording, Cabling, and Deployment

Water Samplers, Water Sampling with Internal Recording, Cabling, and Deployment Water Samplers, Water Sampling with Internal Recording, Cabling, and Deployment Water Samplers Care and feeding SeatermAF User interface for internally recording instruments firing water samplers with

More information

Lesson 20: Estimating a Population Proportion

Lesson 20: Estimating a Population Proportion Classwork In a previous lesson, each student in your class selected a random sample from a population and calculated the sample proportion. It was observed that there was sampling variability in the sample

More information

Computer Scorekeeping Procedures Page 1

Computer Scorekeeping Procedures Page 1 Computer Scorekeeping Procedures Page 1 COMPUTER SET-UP: Scorekeepers for the first game on a field should plan to arrive at least one-half hour prior to the game time to allow time for computer set-up.

More information

A Markov Model of Baseball: Applications to Two Sluggers

A Markov Model of Baseball: Applications to Two Sluggers A Markov Model of Baseball: Applications to Two Sluggers Mark Pankin INFORMS November 5, 2006 Pittsburgh, PA Notes are not intended to be a complete discussion or the text of my presentation. The notes

More information

Predicting Horse Racing Results with TensorFlow

Predicting Horse Racing Results with TensorFlow Predicting Horse Racing Results with TensorFlow LYU 1703 LIU YIDE WANG ZUOYANG News CUHK Professor, Gu Mingao, wins 50 MILLIONS dividend using his sure-win statistical strategy. News AlphaGO defeats human

More information

IWR PLANNING SUITE II PCOP WEBINAR SERIES. Laura Witherow (IWR) and Monique Savage (MVP) 26 July

IWR PLANNING SUITE II PCOP WEBINAR SERIES. Laura Witherow (IWR) and Monique Savage (MVP) 26 July IWR PLANNING SUITE II 1 255 255 255 237 237 237 0 0 0 217 217 217 163 163 163 200 200 200 131 132 122 239 65 53 80 119 27 PCOP WEBINAR SERIES 110 135 120 252 174.59 112 92 56 62 102 130 102 56 48 130 120

More information

MJA Rev 10/17/2011 1:53:00 PM

MJA Rev 10/17/2011 1:53:00 PM Problem 8-2 (as stated in RSM Simplified) Leonard Lye, Professor of Engineering and Applied Science at Memorial University of Newfoundland contributed the following case study. It is based on the DOE Golfer,

More information

Predicting Season-Long Baseball Statistics. By: Brandon Liu and Bryan McLellan

Predicting Season-Long Baseball Statistics. By: Brandon Liu and Bryan McLellan Stanford CS 221 Predicting Season-Long Baseball Statistics By: Brandon Liu and Bryan McLellan Task Definition Though handwritten baseball scorecards have become obsolete, baseball is at its core a statistical

More information

Swinburne Research Bank

Swinburne Research Bank Swinburne Research Bank http://researchbank.swinburne.edu.au Combining player statistics to predict outcomes of tennis matches. Tristan Barnet & Stephen R. Clarke. IMA journal of management mathematics

More information

IRB Staff Administration Guide

IRB Staff Administration Guide March 2013 Table of Contents IRB Process Overview 3 IRB Submission Types 3 Study Process Overview 4 Ancillary Review Overview 5 Initiating Ancillary Reviews 5 Notifications and Ancillary Review Feedback

More information

Full-Time People and Registrations Version 5.0

Full-Time People and Registrations Version 5.0 Full-Time People and Registrations Version 5.0 Full-Time People and Registrations Page 1 1.0 People 1.1 How to Add New League Administrators 3 1.2 How to Add Other New Administrators 4 1.3 How to Change

More information

Golfshot: Golf GPS. ios VERSION 3.0+

Golfshot: Golf GPS. ios VERSION 3.0+ Golfshot: Golf GPS ios VERSION 3.0+ CONTENTS Home Screen Rounds Statistics Handicap Index Course Preview GolfNow Tee Times Apple Watch Golfplan Awards Settings Select Facility Round Setup Hole List GPS

More information

CprE 281: Digital Logic

CprE 281: Digital Logic CprE 28: Digital Logic Instructor: Alexander Stoytchev http://www.ece.iastate.edu/~alexs/classes/ Karnaugh Maps CprE 28: Digital Logic Iowa State University, Ames, IA Copyright Alexander Stoytchev Administrative

More information

Wayne State College OPE ID:

Wayne State College OPE ID: Wayne State College OPE ID: 00256600 Page 1 of 10 GENERAL INFORMATION Location: 1111 Main St Wayne, NE 68787 Phone: (402) 375-7000 Number of Full-time Undergraduates: 2,403 Men: 1,044 Women: 1,359 ATHLETIC

More information

Applied Econometrics with. Time, Date, and Time Series Classes. Motivation. Extension 2. Motivation. Motivation

Applied Econometrics with. Time, Date, and Time Series Classes. Motivation. Extension 2. Motivation. Motivation Applied Econometrics with Extension 2 Time, Date, and Time Series Classes Time, Date, and Time Series Classes Christian Kleiber, Achim Zeileis 2008 2017 Applied Econometrics with R Ext. 2 Time, Date, and

More information

Marathon Performance Prediction of Amateur Runners based on Training Session Data

Marathon Performance Prediction of Amateur Runners based on Training Session Data Marathon Performance Prediction of Amateur Runners based on Training Session Data Daniel Ruiz-Mayo, Estrella Pulido, and Gonzalo Martínez-Muñoz Escuela Politécnica Superior, Universidad Autónoma de Madrid,

More information

Statistical Theory, Conditional Probability Vaibhav Walvekar

Statistical Theory, Conditional Probability Vaibhav Walvekar Statistical Theory, Conditional Probability Vaibhav Walvekar # Load some helpful libraries library(tidyverse) If a baseball team scores X runs, what is the probability it will win the game? Baseball is

More information

Sample Final Exam MAT 128/SOC 251, Spring 2018

Sample Final Exam MAT 128/SOC 251, Spring 2018 Sample Final Exam MAT 128/SOC 251, Spring 2018 Name: Each question is worth 10 points. You are allowed one 8 1/2 x 11 sheet of paper with hand-written notes on both sides. 1. The CSV file citieshistpop.csv

More information

Draft - 4/17/2004. A Batting Average: Does It Represent Ability or Luck?

Draft - 4/17/2004. A Batting Average: Does It Represent Ability or Luck? A Batting Average: Does It Represent Ability or Luck? Jim Albert Department of Mathematics and Statistics Bowling Green State University albert@bgnet.bgsu.edu ABSTRACT Recently Bickel and Stotz (2003)

More information

Golfshot Plus. ios VERSION 5.1+

Golfshot Plus. ios VERSION 5.1+ Golfshot Plus ios VERSION 5.1+ CONTENTS Home Screen Rounds Statistics Handicap Index Course Preview GolfNow Tee Times Apple Watch Golfplan Awards Settings Select Facility Round Setup Hole List GPS Screen

More information

Math 146 Statistics for the Health Sciences Additional Exercises on Chapter 2

Math 146 Statistics for the Health Sciences Additional Exercises on Chapter 2 Math 146 Statistics for the Health Sciences Additional Exercises on Chapter 2 Student Name: Solve the problem. 1) Scott Tarnowski owns a pet grooming shop. His prices for grooming dogs are based on the

More information

Summary of input data for the 2017 PAU 5B stock assessment New Zealand Fisheries Assessment Report 2018/22

Summary of input data for the 2017 PAU 5B stock assessment New Zealand Fisheries Assessment Report 2018/22 Summary of input data for the 2017 PAU 5B stock assessment New Zealand Fisheries Assessment Report 2018/22 C. Marsh, A. McKenzie ISSN 1179-5352 (online) ISBN 978-1-77665-911-1 (online) June2018 Requests

More information

Designing Objects with a Single Responsibility. Andrew P. Black

Designing Objects with a Single Responsibility. Andrew P. Black Designing Objects with a Single Responsibility Andrew P. Black 1 Keep it Simple Beck: Is the simplest design the one with the fewest classes? This would lead to objects that were too big to be effective.

More information

Regents Style Box & Whisker Plot Problems

Regents Style Box & Whisker Plot Problems Name: ate: 1. Robin collected data on the number of hours she watched television on Sunday through Thursday nights for a period of 3 weeks. The data are shown in the table below. Sun Mon Tues Wed Thurs

More information

Design of Optimal Depth of Coverage

Design of Optimal Depth of Coverage Design of Optimal Depth of Coverage Step1. Parameter setting You choose Calling Error Probability, Significance Level, Pool Size, carriers of variant, Desired Power, and Max Depth to evaluate optimal depth

More information

Package rdpla. August 13, 2017

Package rdpla. August 13, 2017 Type Package Package rdpla August 13, 2017 Title Client for the Digital Public Library of America ('DPLA') Interact with the Digital Public Library of America ('DPLA') 'REST' 'API'

More information

Package BAwiR. January 25, 2018

Package BAwiR. January 25, 2018 Type Package Title Analysis of Basketball Data Version 1.0 Date 2018-01-25 Author Package BAwiR January 25, 2018 Maintainer Collection of tools to work with basketball data. Functions

More information

Persuasive arguments

Persuasive arguments Persuasive arguments Read this example of informative and persuasive writing. 1 Homes for others Every living creature has a place where it feels at home. Polar bears are at home in the Arctic; lions are

More information

Statistical Analyses on Roger Federer s Performances in 2013 and 2014 James Kong,

Statistical Analyses on Roger Federer s Performances in 2013 and 2014 James Kong, Statistical Analyses on Roger Federer s Performances in 2013 and 2014 James Kong, kong.james@berkeley.edu Introduction Tennis has become a global sport and I am a big fan of tennis. Since I played college

More information

SoundCast Design Intro

SoundCast Design Intro SoundCast Design Intro Basic Design SoundCast and Daysim 3 Land use attributes Households & Individuals SoundCast DaySim Travel demand simulator Trips and Households, Excel Summary Sheets, EMME network

More information

World Leading Traffic Analysis

World Leading Traffic Analysis World Leading Traffic Analysis Over the past 25 years, has worked closely with road authorities and traffic managers around the world to deliver leading traffic monitoring equipment. With products now

More information