Lab 8 - Continuation of Simulation Let us investigate one of the problems from last week regarding a possible discrimination suit.

Size: px
Start display at page:

Download "Lab 8 - Continuation of Simulation Let us investigate one of the problems from last week regarding a possible discrimination suit."

Transcription

1 Lab 8 - Continuation of Simulation Let us investigate one of the problems from last week regarding a possible discrimination suit. A company with a large sales staff announces openings for 3 positions as regional managers. 22 employees apply, 10 men and 12 women. After interviewing all, the 3 positions are given to 3 women. The men complain of job discrimination. Do they have a case? Let us use simulation in R to find out how many times, on average, a 3 woman managerial staff is picked from 10 men and 12 women, when chosen by chance (i.e., when every candidate has an equal chance of being chosen). The code and graphs are shown below. # 3 women picked from 10 men 12 women # n <- c(50) for (j in 1:50) { n[j] <- 0 for (i in 1:100) { candidates1 <- c(1:22) samp1 <- sample(candidates1,3, replace=false) y <- (samp1> 10) y1 <- as.numeric(y) if(sum(y1)>2) n[j] <- n[j]+1 n summary(n/100) hist(n, main="dotted is red mean, dashed is median") abline(v=mean(n), lty=3, lwd=3, col="red") abline(v=median(n),lty=2) y ; y1 Output is shown below. Next -1-

2 In this code we have a nested for() loop program. In the i for() loop, we randomly pick 3 numbers from a list of 22 (with NO REPLACEMENT in the sample() command). We did not have to say replace=false in the sample() command, because that is the default argument (i.e., so leaving it out means do not replace when sampling). Also, we did not include a prob= argument, so each of the 22 numbers has an equal chance of being chosen as one of the 3. I am specifying in my simulation that men are numbers 1 through 10 and women 11 through 22. After we pick 3 numbers randomly, storing them in samp1, we then see if any of the 3 picks are women (numbers greater than 10). We will get a TRUE TRUE FALSE, for example, kind of display for y, as shown above. Our next statement makes y into a numeric statement (y1), where TRUE becomes 1 and FALSE becomes 0. If() the sum() of y1 is greater than 2 (therefore 3), then we have picked an all woman group of managers. When we have this sum of 3, we then add 1 to our counter, n. We repeat picking 3 from the 22 a total of 100 times in the inner loop, and end up with a total count of all women picked groups stored in n. We then repeat this same simulation of 100 picks of a 3 person group again, storing results in a reinitialized n, repeating a total of 50 times (performed by the outer loop). We will end up with 50 n's, one for each simulation of 100 picks. To store these 50 n's, we had to make n a 50 element vector. We do that by first letting R know that we want n to be a vector with the first line in the program. Then with each loop of the j for() loops we increment the n index, and at the end we have a 50 element vector. Our first command after exiting the loops lists n and then finds the summary() statistics of the 50 element n/100, as output above. We next make a histogram of n, with abline() showing mean and median, as shown above. Notice that we can put more than one command on the same line in R, if we separate them with a semicolon ( ; ). -2-

3 You see that in my simulation I got all women picked from about 7/100 = 7% to 22/100 = 22% of the time this is not rare, but it is not frequent. If I was running this study for the men, I would say that they did not have a discrimination case, because picking a 3 woman group is not a rare event (less than, say 5% of the time), which is traditionally needed for evidence of discrimination. My median (which is close to the mean) is about 15/100 = 15% of the time an all woman group will be randomly picked infrequent, but not rare. Homework [1]: Run another 50 simulations of 100 trials, where you have less than 10 women in the group of 22 i.e., start with 9 women, 13 men, then 8 women, 14 men, etc. Find out, using your simulations, how many women out of 22 would it take to only have a complete woman group of 3 picked less than 5% (middle value) of the time. Report that number of women and show your histogram/summary statistics showing your evidence. Electronics Store Promotion problem-- An electronics store holds a contest to attract shoppers. When a potential customer enters the store, he/she is given a deck of 5 cards (an ace and 4 other non-ace cards). He/she is asked to well-shuffle the cards (face down), and then he/she turns over the top card, then second, etc. until all 5 are chosen. If the ace appears on the first card, the customer gets $100 of free CD's or DVD's from the store. If the ace is the second card, the customer gets $50, if 3rd card $20, if 4th card $10, and if 5th card $5. The store owner needs to know what is the average amount of merchandise value he will give away per customer. Below is the code and an output simulating solutions to this problem. I probably added a bunch of features you wouldn't use in this simulation, but I wanted to show you some of the features of R you can use in simulations, for your inspection. # Electronics Store Problem # pay1 <- c(100,50,20,10,5) win1 <- c(50) for(j in 1:50) { count1 <- rep(0,5) for (i in 1:100) { cards1 <-sample(1:5, 5) vec1 <-(cards1==1) vec1 <- as.numeric(vec1) count1 <- count1 + vec1 win1[j] <- sum(count1 * pay1) win1 summary(win1) hist(win1, main="vertical line is mean") abline(v=mean(win1), lty=2) cat("winnings per customer are about", mean(win1)/100, "dollars","\n") -3-

4 next In this program we wanted to randomly place the ace into one of 5 places, then pick/place another card, etc., until we have picked 100 ace placements. We store these placements in vector count1, which is a 5 element vector which has initially been made (0,0,0,0,0), but has been increased by the number of times the ace showed up in the first, second, etc. place. When we have completed a simulation of 100 cards, count1 might look like this. This shows count1, after a single run in the inner for() loop, containing 19 times the ace showed up first, 20 times second, 17 times third, 24 times fourth, and 20 times last, for a total of 100 times. We then store the total winnings of those 100 customers in win1, where we multiply count1 by pay1, coming up with the sum() of total winnings for that one simulation of 100 customers as the sum of 100*19+50*20+20*17+10*24+5*20 dollars. You see in the output the total winnings of 100 customers simulated 50 times in the vector win1. We then make a summary, histogram, and statement of the average winnings in our

5 simulations, with the result in this run of the program, that customers will win about $37.14 each this is what I would tell the store owner he will spend, on long term average, per customer on his advertising promotion, according to my R simulations. A final statement about the line count1 <- rep(0,5). The rep() command will make a 5 element vector, with 0 replicated for all 5 of those elements with the result stored in count1. In this program we start count1 as (0,0,0,0,0) and add to it as we march through the 50 iterations of 100 simulations. You should probably look for a while, carefully, at the code and the results, until you understand what we have done this time, using both new statements and the ones we have talked about in past labs. Homework [2]: The same electronics store owner wants to conduct another advertising promotion. Again, each customer who enters gets 3 cards, face down, with one ace in the pack. After shuffling the cards (again face down) the customer turns the cards over until the ace appears. If the ace appears first, the customer gets $75 (in electronics store coupons); if it appears 2nd, customer gets $35; and if the ace comes up in 3rd, customer gets $10. Run simulations and determine how much, on average, customers will get in store coupons. Cell Phone problem: A legislator claims that our city's new law against using cell phones while driving a car has reduced cell phone use to less than 12% of all drivers. While you wait for the bus the next day, you notice that 4 out of 10 people who drive by the bus stop are using their cell phones. Does this cast doubt on the legislator's claim of the 12% figure? The results of the code shown below casts doubt on the politician's 12% figure. # cell phone problem # count1 <- c() for(i in 1:50) { count1[i] <- rbinom(1,100, prob=.12) var1 <- as.numeric(count1 >= 40) tot1 <- sum(var1) hist(count1, main="vertical line is mean") abline(v=mean(count1), lty=2, lwd=4) var1 <- sum(as.numeric(count1 >= 40)) cat("number of samples with 40 or more: ", var1, "\n") results are -5-

6 next Note that we use the binomial function rbinom() to generate a vector (vec1) of 100 elements, containing either 1 or 0, with the probability of having a 1 being.12. Then we save the total count of 1's in the variable tot1 tot1 is a vector with total counts of the 50 loops of 100 random samples containing 40 or more 1's. This indicates the number of random samples of drivers who are using their cell phones while driving which contain 40 or more drivers per sample. None of our samples contained 40 or more drivers! So much for political promises. Lady Griz basketball: Another problem suitable for simulation and solvable by utilizing the rbinom() command is now investigated. The star guard for the Lady Griz makes 55% of her 2 point field goals, 35% of her 3 point shots, and 72% of her free throws, according to last year's statistics. She attempted about

7 15 two-point shots per game, 6 three point shots, and 13 free throws (of which 9 were 1 point attempts and 4 were 2 shot attempts). Assume for this simulation that she did not do any 1-and-1 free throw attempts. How many points will she probably make per game, assuming that the regular season is 26 games this year? See code and output below. # Lady Griz # points1 <- rbinom(1,9,.72) points2free <- rbinom(1,8,.72) points2 <- rbinom(1,15,.55) points3 <- rbinom(1,6,.35) gametot <- points1 + points2free + 2*points2 + 3*points3 totpts <- c(points1, points2free,2*points2, 3*points3, gametot) names(totpts) <- c("1free", "2free", "2pts", "3pts", "totpts") totpts next The single shots made out of 9 attempts, at a 72% percentage of success, is stored in points1 and computed by the rbinom() command 9 times a sample is taken from the 0,1 binomial, where a 1 is obtained about 72% of the time. The other rbinom() commands are similar in construction to the points1 construction. Note that all of the points... labels represent shots made out of those attempted, so we had to multiply by 2 and 3 for the field goals made, in order to arrive at total points made per simulation. Also note that for the points2free we had to make 8 shots (for 4-2 shot attempted free throws). Notice that totpts is a 5 element vector and we gave each of the elements appropriate names, using the names() command. We put this approach to the simulation in a code with a for() loop to find the average number of points made in a 26 game regular season. See code and output below. -7-

8 # Lady Griz season average # totpts <- c() for (i in 1:26) { totpts[i] <- (rbinom(1,9,.72) + rbinom(1,8,.72) + 2*rbinom(1,15,.55) + 3*rbinom(1,6,.35)) totpts cat("season pts=",sum(totpts),"av pts/game=", mean(totpts), "\n") output is I probably should have spaced out the cat() command text a bit better, for clarity sake, but I will leave that for now. Homework [3]: Another Lady Griz attempts 10 two point shots per game at 56% average, 4 three point shots at 25% average, and gets to try 12 free throws (assume all single point tries), at 70% average. Using R simulation, find her 26 game regular season average and report your code and result. Extra Lab Information, not required for this lab, but interesting: I developed a way to count, randomly, how a player does on a 1 and 1 free throw opportunity, WITHOUT using high real estate computer memory with for() loops. Say our 72% free throw shooter takes 10 1-and-1 free throw attempts in a typical game. How many points would she make, using our simulation. See below. # 1 and 1 free throws # first.shot <- sample(0:1,10, replace=true, prob=c(.28,.72)) second.shot <- sample(0:1,10, replace=true, prob=c(.28,.72)) points <- first.shot + first.shot * second.shot first.shot second.shot points -8-

9 output She made 10 points with her 10 1 and 1 free throws, with her 72% free throw percentage, in my simulation. There are probably more clever ways to do this, which you might come up with. -9-

download.file("http://www.openintro.org/stat/data/kobe.rdata", destfile = "kobe.rdata")

download.file(http://www.openintro.org/stat/data/kobe.rdata, destfile = kobe.rdata) Lab 2: Probability Hot Hands Basketball players who make several baskets in succession are described as having a hot hand. Fans and players have long believed in the hot hand phenomenon, which refutes

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

Five Great Activities Using Spinners. 1. In the circle, which cell will you most likely spin the most times? Try it.

Five Great Activities Using Spinners. 1. In the circle, which cell will you most likely spin the most times? Try it. Five Great Activities Using Spinners 1. In the circle, which cell will you most likely spin the most times? Try it. 1 2 3 4 2. Marcy plays on her school basketball team. During a recent game, she was fouled

More information

Expected Value 3.1. On April 14, 1993, during halftime of a basketball game between the. One-and-One Free-Throws

Expected Value 3.1. On April 14, 1993, during halftime of a basketball game between the. One-and-One Free-Throws ! Expected Value On April 14, 1993, during halftime of a basketball game between the Chicago Bulls and the Miami Heat, Don Calhoun won $1 million by making a basket from the free-throw line at the opposite

More information

Lab 2: Probability. Hot Hands. Template for lab report. Saving your code

Lab 2: Probability. Hot Hands. Template for lab report. Saving your code Lab 2: Probability Hot Hands Basketball players who make several baskets in succession are described as having a hot hand. Fans and players have long believed in the hot hand phenomenon, which refutes

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

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

Exploring Measures of Central Tendency (mean, median and mode) Exploring range as a measure of dispersion

Exploring Measures of Central Tendency (mean, median and mode) Exploring range as a measure of dispersion Unit 5 Statistical Reasoning 1 5.1 Exploring Data Goals: Exploring Measures of Central Tendency (mean, median and mode) Exploring range as a measure of dispersion Data: A set of values. A set of data can

More information

1 Streaks of Successes in Sports

1 Streaks of Successes in Sports 1 Streaks of Successes in Sports It is very important in probability problems to be very careful in the statement of a question. For example, suppose that I plan to toss a fair coin five times and wonder,

More information

Section 5.1 Randomness, Probability, and Simulation

Section 5.1 Randomness, Probability, and Simulation Section 5.1 Randomness, Probability, and Simulation What does it mean to be random? ~Individual outcomes are unknown ~In the long run some underlying set of outcomes will be equally likely (or at least

More information

Study Guide and Intervention

Study Guide and Intervention Study Guide and Intervention Normal and Skewed Distributions A continuous probability distribution is represented by a curve. Types of Continuous Distributions Normal Positively Skewed Negatively Skewed

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

1wsSMAM 319 Some Examples of Graphical Display of Data

1wsSMAM 319 Some Examples of Graphical Display of Data 1wsSMAM 319 Some Examples of Graphical Display of Data 1. Lands End employs numerous persons to take phone orders. Computers on which orders are entered also automatically collect data on phone activity.

More information

1. The data below gives the eye colors of 20 students in a Statistics class. Make a frequency table for the data.

1. The data below gives the eye colors of 20 students in a Statistics class. Make a frequency table for the data. 1. The data below gives the eye colors of 20 students in a Statistics class. Make a frequency table for the data. Green Blue Brown Blue Blue Brown Blue Blue Blue Green Blue Brown Blue Brown Brown Blue

More information

Cambridge International Examinations Cambridge Ordinary Level

Cambridge International Examinations Cambridge Ordinary Level Cambridge International Examinations Cambridge Ordinary Level *9399919087* STATISTICS 4040/12 Paper 1 October/November 2015 Candidates answer on the Question Paper. Additional Materials: Pair of compasses

More information

Skills Practice Skills Practice for Lesson 17.1

Skills Practice Skills Practice for Lesson 17.1 Skills Practice Skills Practice for Lesson.1 Name Date Products and Probabilities Discrete Data and Probability Distributions Vocabulary Describe similarities and differences between each pair of terms.

More information

MATH 118 Chapter 5 Sample Exam By: Maan Omran

MATH 118 Chapter 5 Sample Exam By: Maan Omran MATH 118 Chapter 5 Sample Exam By: Maan Omran Problem 1-4 refer to the following table: X P Product a 0.2 d 0 0.1 e 1 b 0.4 2 c? 5 0.2? E(X) = 1.7 1. The value of a in the above table is [A] 0.1 [B] 0.2

More information

DOWNLOAD PDF TELEPHONE NUMBERS THAT PROVIDE THE WINNING NUMBERS FOR EACH LOTTERY.

DOWNLOAD PDF TELEPHONE NUMBERS THAT PROVIDE THE WINNING NUMBERS FOR EACH LOTTERY. Chapter 1 : Most Common Winning Lottery Numbers Are Not The Best Numbers In the event of a discrepancy between the information displayed on this website concerning winning numbers and prize payouts and

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

Level 3 Mathematics and Statistics (Statistics), 2013

Level 3 Mathematics and Statistics (Statistics), 2013 91585 915850 3SUPERVISOR S Level 3 Mathematics and Statistics (Statistics), 2013 91585 Apply probability concepts in solving problems 9.30 am Wednesday 20 November 2013 Credits: Four Achievement Achievement

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

Repetition Structures

Repetition Structures Repetition Structures Chapter 5 5-1 Chapter 5 Objectives The Loop Instruction The While Instruction Nested Loops 5-2 The Loop Instruction Simple control structure allows o Instruction (or block of instructions)

More information

Age of Fans

Age of Fans Measures of Central Tendency SUGGESTED LEARNING STRATEGIES: Activating Prior Knowledge, Interactive Word Wall, Marking the Text, Summarize/Paraphrase/Retell, Think/Pair/Share Matthew is a student reporter

More information

Trial # # of F.T. Made:

Trial # # of F.T. Made: OPEN SPINNER APPLICATION APPS Prob Sim ENTER (Spin Spinner) SET UP SPINNER. TABL (graph) the blank graph disappears & will later become a table. SET (zoom) Change Sections to ENTER. ADV (window) Change

More information

MATH 114 QUANTITATIVE REASONING PRACTICE TEST 2

MATH 114 QUANTITATIVE REASONING PRACTICE TEST 2 MATH 114 QUANTITATIVE REASONING PRACTICE TEST 2 1. Based on general features which the following data sets would most likely have (skew, outliers or lack of outliers, etc.), circle all of the following

More information

Lesson 14: Games of Chance and Expected Value

Lesson 14: Games of Chance and Expected Value Student Outcomes Students use expected payoff to compare strategies for a simple game of chance. Lesson Notes This lesson uses examples from the previous lesson as well as some new examples that expand

More information

AP Statistics Midterm Exam 2 hours

AP Statistics Midterm Exam 2 hours AP Statistics Midterm Exam 2 hours Name Directions: Work on these sheets only. Read each question carefully and answer completely but concisely (point values are from 1 to 3 points so no written answer

More information

Texas 4-H Robotics Challenge

Texas 4-H Robotics Challenge Texas 4-H Robotics Challenge Description Beginning in 2018, the Texas 4-H Roundup robotics contest is structured as a sumo-style competition. This format replaces the blind challenge format, which is still

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

UNIVERSITY OF CAMBRIDGE INTERNATIONAL EXAMINATIONS General Certificate of Education Ordinary Level

UNIVERSITY OF CAMBRIDGE INTERNATIONAL EXAMINATIONS General Certificate of Education Ordinary Level UNIVERSITY OF CAMBRIDGE INTERNATIONAL EXAMINATIONS General Certificate of Education Ordinary Level *3373524824* STATISTICS 4040/23 Paper 2 October/November 2013 Candidates answer on the question paper.

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

Select Boxplot -> Multiple Y's (simple) and select all variable names.

Select Boxplot -> Multiple Y's (simple) and select all variable names. One Factor ANOVA in Minitab As an example, we will use the data below. A study looked at the days spent in the hospital for different regions of the United States. Can the company reject the claim the

More information

Analysis of Variance. Copyright 2014 Pearson Education, Inc.

Analysis of Variance. Copyright 2014 Pearson Education, Inc. Analysis of Variance 12-1 Learning Outcomes Outcome 1. Understand the basic logic of analysis of variance. Outcome 2. Perform a hypothesis test for a single-factor design using analysis of variance manually

More information

Overview. Components. Robotics Team Card

Overview. Components. Robotics Team Card Overview Aerial Assault is based on a real-life robotics competition where robots compete at a game of what looks a little bit like robot basketball. The robotics competition takes place on a flat gymnasium-sized

More information

The Math and Science of Bowling

The Math and Science of Bowling The Report (100 : The Math and Science of Bowling 1. For this project, you will need to collect some data at the bowling alley. You will be on a team with one other student. Each student will bowl a minimum

More information

Assignment. To New Heights! Variance in Subjective and Random Samples. Use the table to answer Questions 2 through 7.

Assignment. To New Heights! Variance in Subjective and Random Samples. Use the table to answer Questions 2 through 7. Assignment Assignment for Lesson.1 Name Date To New Heights! Variance in Subjective and Random Samples 1. Suppose that you have collected data for the weights of all of the crates in a warehouse. a. Give

More information

5.1A Introduction, The Idea of Probability, Myths about Randomness

5.1A Introduction, The Idea of Probability, Myths about Randomness 5.1A Introduction, The Idea of Probability, Myths about Randomness The Idea of Probability Chance behavior is unpredictable in the short run, but has a regular and predictable pattern in the long run.

More information

Understanding Winter Road Conditions in Yellowstone National Park Using Cumulative Sum Control Charts

Understanding Winter Road Conditions in Yellowstone National Park Using Cumulative Sum Control Charts 1 Understanding Winter Road Conditions in Yellowstone National Park Using Cumulative Sum Control Charts Amber Nuxoll April 1st, 2014 Contents 1 Introduction 2 2 Data Collection and Background 2 3 Exploratory

More information

Smart Water Application Technologies (SWAT)

Smart Water Application Technologies (SWAT) Smart Water Application Technologies (SWAT) Turf and Landscape Irrigation Equipment PRESSURE REGULATING SPRAY HEAD SPRINKLERS Equipment Functionality Test Testing Protocol Version 3.0 (May 2012) Developed

More information

Opleiding Informatica

Opleiding Informatica Opleiding Informatica Determining Good Tactics for a Football Game using Raw Positional Data Davey Verhoef Supervisors: Arno Knobbe Rens Meerhoff BACHELOR THESIS Leiden Institute of Advanced Computer Science

More information

BIOL 101L: Principles of Biology Laboratory

BIOL 101L: Principles of Biology Laboratory BIOL 101L: Principles of Biology Laboratory Sampling populations To understand how the world works, scientists collect, record, and analyze data. In this lab, you will learn concepts that pertain to these

More information

Design of Experiments Example: A Two-Way Split-Plot Experiment

Design of Experiments Example: A Two-Way Split-Plot Experiment Design of Experiments Example: A Two-Way Split-Plot Experiment A two-way split-plot (also known as strip-plot or split-block) design consists of two split-plot components. In industry, these designs arise

More information

Year 10 Term 2 Homework

Year 10 Term 2 Homework Yimin Math Centre Year 10 Term 2 Homework Student Name: Grade: Date: Score: Table of contents 6 Year 10 Term 2 Week 6 Homework 1 6.1 Data analysis and evaluation............................... 1 6.1.1

More information

Lesson 14: Modeling Relationships with a Line

Lesson 14: Modeling Relationships with a Line Exploratory Activity: Line of Best Fit Revisited 1. Use the link http://illuminations.nctm.org/activity.aspx?id=4186 to explore how the line of best fit changes depending on your data set. A. Enter any

More information

Ranking teams in partially-disjoint tournaments

Ranking teams in partially-disjoint tournaments Ranking teams in partially-disjoint tournaments Alex Choy Mentor: Chris Jones September 16, 2013 1 Introduction Throughout sports, whether it is professional or collegiate sports, teams are ranked. In

More information

N E W J U D G I N G S Y S T E M F O R A R T I S T I C R O L L E R S K A T I N G C O M P E T I T I O N S THE SYSTEM.

N E W J U D G I N G S Y S T E M F O R A R T I S T I C R O L L E R S K A T I N G C O M P E T I T I O N S THE SYSTEM. N E W J U D G I N G S Y S T E M F O R A R T I S T I C R O L L E R S K A T I N G C O M P E T I T I O N S THE SYSTEM By Nicola Genchi INDEX INDEX... 2 1 OWNERSHIP... 3 2 OVERVIEW... 3 3 GLOSSARY... 3 4 NEW

More information

ORF 201 Computer Methods in Problem Solving. Final Project: Dynamic Programming Optimal Sailing Strategies

ORF 201 Computer Methods in Problem Solving. Final Project: Dynamic Programming Optimal Sailing Strategies Princeton University Department of Operations Research and Financial Engineering ORF 201 Computer Methods in Problem Solving Final Project: Dynamic Programming Optimal Sailing Strategies Due 11:59 pm,

More information

EQUITY POLICY POLICY STATEMENT

EQUITY POLICY POLICY STATEMENT EQUITY POLICY POLICY STATEMENT Basketball Ontario, through its Board of Directors, is committed to fostering respect and dignity for each of its employees and members. This policy is intended to guarantee

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

Statistical Studies: Analyzing Data III.B Student Activity Sheet 6: Analyzing Graphical Displays

Statistical Studies: Analyzing Data III.B Student Activity Sheet 6: Analyzing Graphical Displays The Phoenix Mercury of the Women s National Basketball League had 14 players on the roster for the 2008 season. The players and their average points per game (PPG) are shown below. Player Diana Taurasi

More information

Statistical Studies: Analyzing Data III.B Student Activity Sheet 6: Analyzing Graphical Displays

Statistical Studies: Analyzing Data III.B Student Activity Sheet 6: Analyzing Graphical Displays The Phoenix Mercury of the Women s National Basketball League had 14 players on the roster for the 2008 season. The players and their average points per game (PPG) are shown below. Player Diana Taurasi

More information

VOYAGER ELECTRONIC DARTBOARD MODEL #EDB400

VOYAGER ELECTRONIC DARTBOARD MODEL #EDB400 VOYAGER ELECTRONIC DARTBOARD MODEL #EDB400 1.800.399.4402 FAX: 215.283.9573 Please have your model number ready when calling. DMI Sports Inc. 1300 Virginia Drive, Suite 401 Ft. Washington,PA,19034 www.dmisports.com

More information

POTENTIAL ENERGY BOUNCE BALL LAB

POTENTIAL ENERGY BOUNCE BALL LAB Energy cannot be created or destroyed. Stored energy is called potential energy, and the energy of motion is called kinetic energy. Potential energy changes as the height of an object changes due to gravity;

More information

Unit 3 - Data. Grab a new packet from the chrome book cart. Unit 3 Day 1 PLUS Box and Whisker Plots.notebook September 28, /28 9/29 9/30?

Unit 3 - Data. Grab a new packet from the chrome book cart. Unit 3 Day 1 PLUS Box and Whisker Plots.notebook September 28, /28 9/29 9/30? Unit 3 - Data Grab a new packet from the chrome book cart 9/28 9/29 9/30? 10/3 10/4 10/5 10/6 10/7-10/10 10/11 10/12 10/13 Practice ACT #1 Lesson 1: Box and Whisker Plots I can find the 5 number summary

More information

EEC 686/785 Modeling & Performance Evaluation of Computer Systems. Lecture 6. Wenbing Zhao. Department of Electrical and Computer Engineering

EEC 686/785 Modeling & Performance Evaluation of Computer Systems. Lecture 6. Wenbing Zhao. Department of Electrical and Computer Engineering EEC 686/785 Modeling & Performance Evaluation of Computer Systems Lecture 6 Department of Electrical and Computer Engineering Cleveland State University wenbing@ieee.org Outline 2 Review of lecture 5 The

More information

Statistical Analysis Project - How do you decide Who s the Best?

Statistical Analysis Project - How do you decide Who s the Best? Statistical Analysis Project - How do you decide Who s the Best? In order to choose the best shot put thrower to go to IASAS, the three candidates were asked to throw the shot put for a total of times

More information

March Madness Basketball Tournament

March Madness Basketball Tournament March Madness Basketball Tournament Math Project COMMON Core Aligned Decimals, Fractions, Percents, Probability, Rates, Algebra, Word Problems, and more! To Use: -Print out all the worksheets. -Introduce

More information

Outline. Terminology. EEC 686/785 Modeling & Performance Evaluation of Computer Systems. Lecture 6. Steps in Capacity Planning and Management

Outline. Terminology. EEC 686/785 Modeling & Performance Evaluation of Computer Systems. Lecture 6. Steps in Capacity Planning and Management EEC 686/785 Modeling & Performance Evaluation of Computer Systems Lecture 6 Department of Electrical and Computer Engineering Cleveland State University wenbing@ieee.org Outline Review of lecture 5 The

More information

Lesson 4: Describing the Center of a Distribution

Lesson 4: Describing the Center of a Distribution : Describing the Center of a Distribution In previous work with data distributions, you learned how to derive the mean and the median (the center) of a data distribution. In this lesson, we ll compare

More information

Lesson 20: Estimating a Population Proportion

Lesson 20: Estimating a Population Proportion Student Outcome Students use data from a random sample to estimate a population proportion. Lesson tes In this lesson, students continue to work with random samples and the distribution of the sample proportions.

More information

Practice Test Unit 6B/11A/11B: Probability and Logic

Practice Test Unit 6B/11A/11B: Probability and Logic Note to CCSD Pre-Algebra Teachers: 3 rd quarter benchmarks begin with the last 2 sections of Chapter 6, and then address Chapter 11 benchmarks; logic concepts are also included. We have combined probability

More information

The difference between a statistic and a parameter is that statistics describe a sample. A parameter describes an entire population.

The difference between a statistic and a parameter is that statistics describe a sample. A parameter describes an entire population. Grade 7 Mathematics EOG (GSE) Quiz Answer Key Statistics and Probability - (MGSE7.SP. ) Understand Use Of Statistics, (MGSE7.SP.2) Data From A Random Sample, (MGSE7.SP.3 ) Degree Of Visual Overlap, (MGSE7.SP.

More information

Bivariate Data. Frequency Table Line Plot Box and Whisker Plot

Bivariate Data. Frequency Table Line Plot Box and Whisker Plot U04 D02 Univariate Data Frequency Table Line Plot Box and Whisker Plot Univariate Data Bivariate Data involving a single variable does not deal with causes or relationships the major purpose of univariate

More information

Set-Up: Students will be working at the computer lab for 1 period (min), 2 different colored pens or pencils.

Set-Up: Students will be working at the computer lab for 1 period (min), 2 different colored pens or pencils. Name: Lab # Behavior of Gases PhET Simulation Learning Goals: Explore the relationships between pressure, volume, and temperature. Create graphs based on predictions and observations. Make qualitative

More information

PLEASE MARK YOUR ANSWERS WITH AN X, not a circle! 2. (a) (b) (c) (d) (e) (a) (b) (c) (d) (e) (a) (b) (c) (d) (e)...

PLEASE MARK YOUR ANSWERS WITH AN X, not a circle! 2. (a) (b) (c) (d) (e) (a) (b) (c) (d) (e) (a) (b) (c) (d) (e)... Math 170, Exam II April 11, 2016 The Honor Code is in e ect for this examination. All work is to be your own. You may use your Calculator. The exam lasts for 0 minutes. Be sure that your name is on every

More information

The Incremental Evolution of Gaits for Hexapod Robots

The Incremental Evolution of Gaits for Hexapod Robots The Incremental Evolution of Gaits for Hexapod Robots Abstract Gait control programs for hexapod robots are learned by incremental evolution. The first increment is used to learn the activations required

More information

Factorial ANOVA Problems

Factorial ANOVA Problems Factorial ANOVA Problems Q.1. In a 2-Factor ANOVA, measuring the effects of 2 factors (A and B) on a response (y), there are 3 levels each for factors A and B, and 4 replications per treatment combination.

More information

Arterial Traffic Analysis Actuated Signal Control

Arterial Traffic Analysis Actuated Signal Control Arterial Traffic Analysis Actuated Signal Control Dr. Gang-Len Chang Professor and Director of Traffic Safety and Operations Lab. University of Maryland-College Park Actuated Signal Control Fully Actuated

More information

Practice Test Unit 06B 11A: Probability, Permutations and Combinations. Practice Test Unit 11B: Data Analysis

Practice Test Unit 06B 11A: Probability, Permutations and Combinations. Practice Test Unit 11B: Data Analysis Note to CCSD HS Pre-Algebra Teachers: 3 rd quarter benchmarks begin with the last 2 sections of Chapter 6 (probability, which we will refer to as 6B), and then address Chapter 11 benchmarks (which will

More information

The system design must obey these constraints. The system is to have the minimum cost (capital plus operating) while meeting the constraints.

The system design must obey these constraints. The system is to have the minimum cost (capital plus operating) while meeting the constraints. Computer Algorithms in Systems Engineering Spring 2010 Problem Set 6: Building ventilation design (dynamic programming) Due: 12 noon, Wednesday, April 21, 2010 Problem statement Buildings require exhaust

More information

Example: sequence data set wit two loci [simula

Example: sequence data set wit two loci [simula Example: sequence data set wit two loci [simulated data] -- 1 Example: sequence data set wit two loci [simula MIGRATION RATE AND POPULATION SIZE ESTIMATION using the coalescent and maximum likelihood or

More information

(Lab Interface BLM) Acceleration

(Lab Interface BLM) Acceleration Purpose In this activity, you will study the concepts of acceleration and velocity. To carry out this investigation, you will use a motion sensor and a cart on a track (or a ball on a track, if a cart

More information

March Madness Basketball Tournament

March Madness Basketball Tournament March Madness Basketball Tournament Math Project COMMON Core Aligned Decimals, Fractions, Percents, Probability, Rates, Algebra, Word Problems, and more! To Use: -Print out all the worksheets. -Introduce

More information

Chapter 5 ATE: Probability: What Are the Chances? Alternate Activities and Examples

Chapter 5 ATE: Probability: What Are the Chances? Alternate Activities and Examples Chapter 5 ATE: Probability: What Are the Chances? Alternate Activities and Examples [Page 283] Alternate Activity: Whose Book is This? Suppose that 4 friends get together to study at Tim s house for their

More information

PHYS Tutorial 7: Random Walks & Monte Carlo Integration

PHYS Tutorial 7: Random Walks & Monte Carlo Integration PHYS 410 - Tutorial 7: Random Walks & Monte Carlo Integration The goal of this tutorial is to model a random walk in two dimensions and observe a phase transition as parameters are varied. Additionally,

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

Chapter 4 (sort of): How Universal Are Turing Machines? CS105: Great Insights in Computer Science

Chapter 4 (sort of): How Universal Are Turing Machines? CS105: Great Insights in Computer Science Chapter 4 (sort of): How Universal Are Turing Machines? CS105: Great Insights in Computer Science Some Probability Theory If event has probability p, 1/p tries before it happens (on average). If n distinct

More information

Solutionbank S1 Edexcel AS and A Level Modular Mathematics

Solutionbank S1 Edexcel AS and A Level Modular Mathematics Page 1 of 1 Exercise A, Question 1 A group of thirty college students was asked how many DVDs they had in their collection. The results are as follows. 12 25 34 17 12 18 29 34 45 6 15 9 25 23 29 22 20

More information

Histogram. Collection

Histogram. Collection Density Curves and Normal Distributions Suppose we looked at an exam given to a large population of students. The histogram of this data appears like the graph to the left below. However, rather than show

More information

Reminders. Homework scores will be up by tomorrow morning. Please me and the TAs with any grading questions by tomorrow at 5pm

Reminders. Homework scores will be up by tomorrow morning. Please  me and the TAs with any grading questions by tomorrow at 5pm Reminders Homework scores will be up by tomorrow morning Please email me and the TAs with any grading questions by tomorrow at 5pm 1 Chapter 12: Describing Distributions with Numbers Aaron Zimmerman STAT

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

Art.Nr ELECTRONIC DARTBOARD. Owner s Manual

Art.Nr ELECTRONIC DARTBOARD. Owner s Manual Art.Nr. 250 9307 ELECTRONIC DARTBOARD Owner s Manual Electronic Dartboard 2/15 Mounting with adapter Choose a location to hang the dartboard where is about 10 feet (3.048 m) of open space in front of the

More information

SAN DIEGO KINGS

SAN DIEGO KINGS 2018-19 SAN DIEGO KINGS Community Relations Packet BASKETBALL HAS OFFICIALLY ARRIVED! A Proven Marketing Opportunity For You Do not miss this opportunity to increase your sales! The 2018-2019 San Diego

More information

Name Date Period. E) Lowest score: 67, mean: 104, median: 112, range: 83, IQR: 102, Q1: 46, SD: 17

Name Date Period. E) Lowest score: 67, mean: 104, median: 112, range: 83, IQR: 102, Q1: 46, SD: 17 Chapter 6 Review Standards: 4, 7, 8, and 11 Name Date Period Write complete answers, using complete sentences where necessary. Show your work when possible. MULTIPLE CHOICE. Choose the one alternative

More information

ACTIVITY: Drawing a Box-and-Whisker Plot. a. Order the data set and write it on a strip of grid paper with 24 equally spaced boxes.

ACTIVITY: Drawing a Box-and-Whisker Plot. a. Order the data set and write it on a strip of grid paper with 24 equally spaced boxes. 2. Box-and-Whisker Plots describe a data set? How can you use a box-and-whisker plot to ACTIVITY: Drawing a Box-and-Whisker Plot Work with a partner. The numbers of first cousins of the students in an

More information

Applied Information and Communication Technology

Applied Information and Communication Technology Edexcel GCE Applied Information and Communication Technology Unit 3: The Knowledge Worker 14 18 May 2012 Paper Reference Time: 2 hours 30 minutes 6953/01 You must have: Cover sheet, short treasury tag,

More information

Effectiveness of Red Light Cameras in Chicago: An Exploratory Analysis

Effectiveness of Red Light Cameras in Chicago: An Exploratory Analysis Effectiveness of Red Light Cameras in Chicago: An Exploratory Analysis by Rajiv C. Shah University of Illinois at Chicago www.rajivshah.com June 17, 2010 Effectiveness of Red Light Cameras in Chicago Chicago

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

Honors Statistics. Daily Agenda:

Honors Statistics. Daily Agenda: Honors Statistics Aug 23-8:26 PM Daily Agenda: 1. Review OTL C6#13 homework 2. Binomial mean and standard deviation 3. Discuss homework Jan 18-5:03 PM 1 Jan 30-12:31 PM Taking the train According to New

More information

Candidate Number. General Certificate of Secondary Education Higher Tier March 2013

Candidate Number. General Certificate of Secondary Education Higher Tier March 2013 Centre Number Surname Candidate Number For Examiner s Use Other Names Candidate Signature Examiner s Initials General Certificate of Secondary Education Higher Tier March 2013 Pages 2 3 4 5 Mark Mathematics

More information

Modeling Traffic Patterns using Java

Modeling Traffic Patterns using Java The College at Brockport: State University of New York Digital Commons @Brockport Lesson Plans CMST Institute 5-2005 Modeling Traffic Patterns using Java Kim Meek The College at Brockport Follow this and

More information

CT433 - Machine Safety

CT433 - Machine Safety Rockwell Automation On The Move May 16-17 2018 Milwaukee, WI CT433 - Machine Safety Performance Level Selection and Design Realization Jon Riemer Solution Architect Safety & Security Functional Safety

More information

STATE LOTTERIES ACT 1966 LOTTERIES (LUCKY LOTTERIES) RULES

STATE LOTTERIES ACT 1966 LOTTERIES (LUCKY LOTTERIES) RULES STATE LOTTERIES ACT 1966 LOTTERIES (LUCKY LOTTERIES) RULES This consolidation includes amendments as at 27 March 2017. It is provided for convenient reference only and regard should be had to the full

More information

Using Darts to Simulate the Distribution of Electrons in a 1s Orbital

Using Darts to Simulate the Distribution of Electrons in a 1s Orbital NAME: Using Darts to Simulate the Distribution of Electrons in a 1s Orbital Introduction: The quantum theory is based on the mathematical probability of finding an electron in a given three dimensional

More information

Predator-Prey Interactions: Bean Simulation. Materials

Predator-Prey Interactions: Bean Simulation. Materials Predator-Prey Interactions: Bean Simulation Introduction Interactions between predators and their prey are important in 1) determining the populations of both predators and prey, and 2) determining and

More information

Looking at Spacings to Assess Streakiness

Looking at Spacings to Assess Streakiness Looking at Spacings to Assess Streakiness Jim Albert Department of Mathematics and Statistics Bowling Green State University September 2013 September 2013 1 / 43 The Problem Collect hitting data for all

More information

CRICKETMAXX 1.0 ELECTRONIC DARTBOARD MODEL #CMX FAX:

CRICKETMAXX 1.0 ELECTRONIC DARTBOARD MODEL #CMX FAX: CRICKETMAXX 1.0 ELECTRONIC DARTBOARD MODEL #CMX1000 1.800.399.4402 FAX: 215.283.9573 Please have your model number ready when calling. DMI Sports Inc. 1300 Virginia Drive, Suite 401 Ft. Washington, PA19034

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

Discriminative Feature Selection for Uncertain Graph Classification

Discriminative Feature Selection for Uncertain Graph Classification Discriminative Feature Selection for Uncertain Graph Classification Xiangnan Kong University of Illinois at Chicago joint work with Philip S. Yu (Univ. Illinois at Chicago) Xue Wang & Ann B. Ragin (Northwestern

More information

HW #5: Digital Logic and Flip Flops

HW #5: Digital Logic and Flip Flops HW #5: Digital Logic and Flip Flops This homework will walk through a specific digital design problem in all its glory that you will then implement in this weeks lab. 1 Write the Truth Table (10 pts) Consider

More information