What is Data? Part 2: Patterns & Associations. INFO-1301, Quantitative Reasoning 1 University of Colorado Boulder

Similar documents
Further Mathematics 2018 CORE: Data analysis Chapter 3 Investigating associations between two variables

Unit 8 Day 1 Correlation Coefficients.notebook January 02, 2018

Political Science 30: Political Inquiry Section 1

M 140 Test 1 A Name SHOW YOUR WORK FOR FULL CREDIT! Problem Max. Points Your Points Total 60

10. Introduction to Multivariate Relationships

STAT 201 Chapter 3. Association and Regression

3.4 What are some cautions in analyzing association?

Correlational Research. Correlational Research. Stephen E. Brock, Ph.D., NCSP EDS 250. Descriptive Research 1. Correlational Research: Scatter Plots

Section 6: Analysing Relationships Between Variables

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

Introduction. Lecture 1. What is Statistics?

Lecture 12: more Chapter 5, Section 3 Relationships between Two Quantitative Variables; Regression

Correlation is not Causation Causation. If we have high correlation, we d like to determine causation.

Math 124: Module 2, Part II

Unit 8 Bivariate Data/ Scatterplots

Chapter 13. Experiments and Observational Studies. Copyright 2012, 2008, 2005 Pearson Education, Inc.

Correlational analysis: Pearson s r CHAPTER OVERVIEW

Name AP Statistics UNIT 1 Summer Work Section II: Notes Analyzing Categorical Data

STATISTICS INFORMED DECISIONS USING DATA

STATS Relationships between variables: Correlation

Today s reading concerned what method? A. Randomized control trials. B. Regression discontinuity. C. Latent variable analysis. D.

Handout: Instructions for 1-page proposal (including a sample)

15.301/310, Managerial Psychology Prof. Dan Ariely Recitation 8: T test and ANOVA

STAT 113: PAIRED SAMPLES (MEAN OF DIFFERENCES)

Chapter 7: Descriptive Statistics

Measuring the User Experience

Homework #3. SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

Tutorial: RNA-Seq Analysis Part II: Non-Specific Matches and Expression Measures

Welcome to OSA Training Statistics Part II

Chapter 4: Causation: Can We Say What Caused the Effect? Sections 4.1 & 4.2: Association and Confounding / Observations v.s.

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

So You Want to do a Survey?

UNIT II: RESEARCH METHODS

Chapter 13 Summary Experiments and Observational Studies

Analysis of Categorical Data from the Ashe Center Student Wellness Survey

Objectives. Quantifying the quality of hypothesis tests. Type I and II errors. Power of a test. Cautions about significance tests

How to interpret scientific & statistical graphs

Unit 3 Lesson 2 Investigation 4

Section 3.2 Least-Squares Regression

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.

Psychological. Influences on Personal Probability. Chapter 17. Copyright 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Constructing a Bivariate Table: Introduction. Chapter 10: Relationships Between Two Variables. Constructing a Bivariate Table. Column Percentages

bivariate analysis: The statistical analysis of the relationship between two variables.

3.2 Least- Squares Regression

Test 1C AP Statistics Name:

Standard Deviation and Standard Error Tutorial. This is significantly important. Get your AP Equations and Formulas sheet

1. What is the difference between positive and negative correlations?

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

Our goal in this section is to explain a few more concepts about experiments. Don t be concerned with the details.

Lecture 6B: more Chapter 5, Section 3 Relationships between Two Quantitative Variables; Regression

CHAPTER ONE CORRELATION

Interactions between predictors and two-factor ANOVA

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

5 To Invest or not to Invest? That is the Question.

Statistics: Bar Graphs and Standard Error

Designed Experiments have developed their own terminology. The individuals in an experiment are often called subjects.

Lecture 10: Chapter 5, Section 2 Relationships (Two Categorical Variables)

Chapter 3, Section 1 - Describing Relationships (Scatterplots and Correlation)

Chapter 7: Correlation

BIVARIATE DATA ANALYSIS

EVALUATING AND IMPROVING MULTIPLE CHOICE QUESTIONS

V. Gathering and Exploring Data

appstats26.notebook April 17, 2015

Chantelle: Hi, my name is Chantelle Champagne, a medical student at the University of Alberta

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

Week 2 Video 2. Diagnostic Metrics, Part 1

SMS USA PHASE ONE SMS USA BULLETIN BOARD FOCUS GROUP: MODERATOR S GUIDE

HOMEWORK 4 Due: next class 2/8

MULTIPLE LINEAR REGRESSION 24.1 INTRODUCTION AND OBJECTIVES OBJECTIVES

Market Research on Caffeinated Products

Observational studies; descriptive statistics

Reminders/Comments. Thanks for the quick feedback I ll try to put HW up on Saturday and I ll you

Lesson 1: Distributions and Their Shapes

Lesson 8 Using Medicines in Safe Ways

Constructing a Bivariate Table:

Causality and Treatment Effects

Math for Liberal Arts MAT 110: Chapter 5 Notes

ORIENTATION SAN FRANCISCO STOP SMOKING PROGRAM

Frequency Distributions

Section The Question of Causation

Business Statistics Probability

Biostatistics and Design of Experiments Prof. Mukesh Doble Department of Biotechnology Indian Institute of Technology, Madras

Introduction to Statistics

Intro to SPSS. Using SPSS through WebFAS

UNIVERSITY OF THE FREE STATE DEPARTMENT OF COMPUTER SCIENCE AND INFORMATICS CSIS6813 MODULE TEST 2

CHAPTER 9: Producing Data: Experiments

Math 075 Activities and Worksheets Book 2:

AP STATISTICS 2009 SCORING GUIDELINES

Nutrition Research: Overview

Demonstrating Client Improvement to Yourself and Others

Statistical Methods and Reasoning for the Clinical Sciences

Exam 4 Review Exercises

about Eat Stop Eat is that there is the equivalent of two days a week where you don t have to worry about what you eat.

AP STATISTICS 2010 SCORING GUIDELINES

Statistics: Interpreting Data and Making Predictions. Interpreting Data 1/50

Unit 7 Comparisons and Relationships

Statistics Success Stories and Cautionary Tales

Statistics is the science of collecting, organizing, presenting, analyzing, and interpreting data to assist in making effective decisions

An InTROduCTIOn TO MEASuRInG THInGS LEvELS OF MEASuREMEnT

Testing for. Prostate Cancer

Transcription:

What is Data? Part 2: Patterns & Associations INFO-1301, Quantitative Reasoning 1 University of Colorado Boulder August 29, 2016 Prof. Michael Paul Prof. William Aspray

Overview This lecture will look at examples of relationships between variables, define positive and negative associations, and demonstrate how to plot variables and examine their associations in MiniTab. Most of today will be done with software.

Representation of data: matrix Each row is an observation Rows Name Gender Age (years) Height (cm) # of children John Male 32 179.2 2 Mary Female 49 168.5 4 Alice Female 25 175.0 0 Cells Each cell is a value Columns Each column is a variable

Representing data in practice Now let s recreate this matrix in MiniTab Name Gender Age (years) Height (cm) # of children John Male 32 179.2 2 Mary Female 49 168.5 4 Alice Female 25 175.0 0

Visualizing data Dot plots are only for numerical variables Dot plots display the values of one variable Each dot represents an observation Each dot s position on the x-axis is the value of the variable for that observation

Visualizing data Scatterplots are an extension of dot plots for two variables Each dot s position on the x-axis is the value of the first variable; the y-axis is the value of the second

Visualizing data What about categorical data? We won t get into that today, but there are other options for categories (e.g., bar charts)

Relationships between variables Some variables are related in some way Age and number of children The older you are, the more likely you are to have children (in general) A relationship between variables is called an association

Relationships between variables Example: Height and weight Dataset: measurements of the height and weight of 10,000 children as they grow up Association: the taller a child is, the more they will weigh (in general) Data from: http://wiki.stat.ucla.edu/socr/index.php/socr_data_dinov_020108_heightsweights

Relationships between variables Example: Height and weight This is called a positive association As the value of one variable increases, the value of the other variable also increases

Visualizing associations

Imagine that the dots in a scatterplot form a line If the line is angled upward, the association is positive

Associations Positive: Negative: No association: Variables that are not associated are called independent

Quantifying associations Correlation is a measurement of the association between variables Different kinds of correlations The correlation we ll use in this class is the Pearson correlation When people say correlation without specifying, this is what they usually mean A correlation is a real number between [-1, 1] Karl Pearson, 1857-1936

Quantifying associations Positive: Correlation=1.0 Negative: Correlation=-1.0 No association: Correlation=0.0

Quantifying associations Variables that are perfectly associated will have correlations of 1 or -1 Variables that are independent will have a correlation of 0 In real data, most correlations are somewhere in between

Quantifying associations Correlation= 0.557 Correlation= -0.101

Your turn

Loan application dataset http://support.minitab.com/en-us/datasets/basic-statistics-data-sets/loan-applicant-data/

Organize yourselves into groups of 4 Each group should investigate scatterplots and correlations of the following pairs of variables: Group 1: Savings, Debt Group 2: Employ, Savings Group 3: Age, Debt Group 4: Education, Credit Cards Group 5: Residence, Employ Each group should also find at least one more pair with an interesting association

One more example

How should we interpret this result? What do these rows and columns correspond to?

Pounds of mozzarella cheese consumed per capita 2000 Year 2009 Number of people who earned a PhD in Civil Engineering Dataset from: http://tylervigen.com/

Spurious correlations Correlations/associations that are not meaningful or whose meaning is different than it appears are said to be spurious correlation is not causation

Spurious correlations Reasons for spurious associations: Coincidence Cheese engineers probably falls into this category Correlations will sometimes happen by chance

Spurious correlations Reasons for spurious associations: Coincidence Some other factor in the world is influencing both Researchers have discovered a strong correlation between shark attacks and ice cream sales In this example, summer time explains both variables More people buy ice cream in the summer More people swim in the ocean in the summer In this example, the season (summer) is called a confounding variable

Spurious correlations Reasons for spurious associations: Coincidence Some other factor in the world is influencing both The direction of causation is wrong Sometimes an association is real, but for a different reason than you think Example: healthy people are more likely to have lice than sick people In the Middle Ages, people concluded lice make you healthy Turns out, lice simply don t like to live on sick people

Spurious correlations Reasons for spurious associations: Coincidence Some other factor in the world is influencing both The direction of causation is wrong Correlations are interesting and important, but not conclusive

Understanding associations Why is it useful to measure correlations? We can test if associations exist Correlation does not imply causation, but no correlation does imply no causation The discovery of associations in big data can lead to new ideas (hypothesis generation) Some cases where associations can still inform decisions and predictions People drive faster in red cars direction of causality doesn t matter to insurance companies