Exploratory Data Analysis
|
|
- Caren Arnold
- 8 years ago
- Views:
Transcription
1 Exploratory Data Analysis Paul Cohen ISTA 370 Spring, 2012 Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
2 Outline Data, revisited The purpose of exploratory data analysis Learning to see Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
3 Data: A Review Things and Data Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
4 Data: A Review Things and Data Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
5 Data: A Review Where Data Come From Data are measurements of individuals (people, trees, countries, ecosystems...). An Individual Data 56 years old 70" tall 180 lbs Brown eyes Moderately presbyo8c Good health Married One child... A Data Table Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
6 Exploratory Data Analysis What is Exploratory Data Analysis (EDA)? In terms of the Fundamental Model of Data, y = f (x, ɛ): EDA infers which factors strongly and weakly influence y and the functions that combine these factors EDA examines ɛ to see whether it contains evidence of other important but unmeasured ( hidden ) factors Confirmatory studies test whether x really is a causal factor that influences y Exploratory studies are to confirmatory studies as test kitchens are to cookbook recipes. EDA generally doesn t test hypotheses, but, rather, helps the data tell its story EDA helps you understand phenomena, and suggests hypotheses to test in confirmatory studies. Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
7 Exploratory Data Analysis What is Exploratory Data Analysis? Learning to See Data have structure that is evidence of causal influences. EDA uncovers, exposes, clarifies this structure. EDA is like hunting for fossils it s a skill, and you must learn to see not only what s in front of you, but what lies within data. EDA asks, what do I see, and what does it mean? Like any other skill, EDA takes a lot of practice. Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
8 Exploratory Data Analysis Load Some Data > read.table.ista370<-function(filename){ dataurl<-" # Reads a data frame from a URL path rooted at ISTA370 dat read.table(paste(dataurl,filename,sep="")) } > > # taheri<-read.table.ista370("taheri1.txt") > # iris<-read.table.ista370("iris.txt") > # heightc<-read.table.ista370("heightc.txt") > # treering<-read.table.ista370("treering1.txt") > # blast<-read.table.ista370("blastsummary.txt") > # kinect<-read.table.ista370("onemovie.txt") > # readability<-read.table.ista370("readability.txt") Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
9 What Do You See? What Does it Mean? > hist(iris$petal.length,col="grey",main=null) Frequency iris$petal.length Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
10 What Do You See? What Does it Mean? > ipl<-iris$petal.length > hist(ipl,prob="true",ylim=c(0,1),main=null) > lines(density(ipl[iris$species=="setosa"]),col="red") > lines(density(ipl[iris$species=="versicolor"]),col="green") > lines(density(ipl[iris$species=="virginica"]),col="blue") Density Looking at density curves for each species, we see that the histogram did indeed indicate two or more separate populations (species) ipl Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
11 What Do You See? What Does it Mean? > boxplot(iris$petal.length~iris$species, ylab="petal.length",xlab="species") Petal.Length A boxplot by species confirms, and summarizes the petal length statistics for each species. setosa versicolor virginica Species Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
12 Boxplots outliers whisker (various interpreta1ons) upper quar,le (75% quan,le) median interquar,le range lower quar,le (25% quan,le) whisker outliers Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
13 Median, Quartiles, Interquartile Range If you sort the values in a sample from lowest to highest, the median is the middle value, or the average of the two middle values when the sample contains an even number of points. The median is the 50th quantile, or the value for which 50% of the values are greater. The lower quartile is the 25th quantile, above which 75% of the values are found. The upper quartile is the 75th quantile, above which 25% of the values are found. The interquartile range is a measure of variability and is the difference between the upper and lower quartiles. Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
14 Median, Quartiles, Interquartile Range The median is robust against outliers; the mean is not. Suppose 100 families in a neighborhood each make $40,000/year. When a millionaire moves in the mean jumps from $40,000 to $49,504/year. What happens to the median? Before the millionaire arrived, the variance in income was zero. Afterwards the variance is over nine billion!!! What happens to the interquartile range? Suppose you have a sorted sample of 9 elements; the median is the fifth element. If you add another element, what will the median be? By how many locations in the sorted distribution can the median shift? Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
15 Symmetry and Skew > with(blast, hist(test0,breaks=20,col="grey",main=null)) > with(treering, hist(width,breaks=20,col="grey",main=null)) Frequency Frequency Test width Test0 is skewed to the right, meaning it has a long tail of higher values, while Treering is nearly symmetric. Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
16 Transformations > attach(blast) > hist(train0,breaks=20,col="grey",main=null) > Train0Squared<-Train0^2 #square the Train0 data > hist(train0squared,breaks=20,col="grey",main=null) Frequency Frequency Train Train0Squared A simple transformation amplifies an otherwise hidden feature Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
17 Transformations > Train0Squared<-with(blast,Train0^2) > with(blast,plot(density(train0squared))) > with(blast,lines(density(train0squared[gender=="female"]),c > with(blast,lines(density(train0squared[gender=="male"]),col density.default(x = Train0Squared) Density N = 187 Bandwidth = Does gender explain the bump? Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
18 What Explains the Bump New Topics > plot(train0squared,newskills0,col=gender) > plot(newskills0,train0squared,col=gender) Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46 The number of topics to which students were exposed (NewSkills0) seems to explain the bump, but gender doesn t NewSkills0 Train0Squared Train0Squared NewSkills0
19 What Explains the Bump New Topics > precocious<-newskills0>8 > plot(density(train0squared)) > lines(density(train0squared[precocious=="true"]),col="red") > lines(density(train0squared[precocious=="false"]),col="blue density.default(x = Train0Squared) Density N = 187 Bandwidth = So the students who saw too many subjects account for the bump. Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
20 Boxplots instead of density plots > boxplot(train0squared~precocious, xlab="precocious", ylab="proportion training items correct" ) proportion training items correct FALSE TRUE precocious Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
21 What Explains the Bump Why did some students see hard problems? Exploratory data analysis helped us find and amplify an odd feature of data: Some students saw too many hard problems while training for the first test. How did this happen? > table(precocious, policy) policy precocious DBN_11 EXPERT RANDOM FALSE TRUE All these precocious students were in one condition of the experiment. In the RANDOM condition, training problems were selected at random, so we shouldn t be surprised that students in this condition bombed on the first test! Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
22 Data, revisited Outline The purpose of exploratory data analysis Learning to see: Histograms, boxplots, median and other robust statistics, transforming data...missing values, tips. Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
23 What Do You See? What Does it Mean? > ts.plot(kinect$lhand.y,ylim=c(-500,1000),col="red") kinect$lhand.y Time Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
24 What Do You See? What Does it Mean? > ts.plot(kinect$lhand.y,ylim=c(-500,1000),col="red") > lines(rep(0,150)) kinect$lhand.y Constants and lack of change are rare in biometric data. Zero is a special number. Perhaps the Kinect codes missing data as 0. What is really happening around time 115? Time Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
25 Missing Data Data can be missing for many reasons (e.g., subjects in BLAST experiment were allowed to leave once they hit a maximum score, so didn t take all tests) Missing data is usually given a code, such as -999 or NA. The Kinect code of zero is unhelpful. Why? R sometimes refuses to do math on random variables with missing values. Is this unhelpful? Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
26 Missing Data in R > # won't work, missing values: > with(blast,mean(test3)) [1] NA > # this time, exclude missing values: > with(blast,mean(test3,na.rm=true)) [1] > # get their indices: > with(blast,which(is.na(test3))) [1] Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
27 Missing Data: It Matters Why! Most experiment results are based on the assumption of random sampling or random assignment to conditions. When data are Missing Completely At Random (MCAR), missing data don t violate these assumptions. MCAR means missingness is independent of measured and unmeasured factors. Data are Missing at Random (MAR) when the reason they are missing has nothing to do with the data themselves. If food poisoning is proportional to fast food consumption (FFC), but FFC is unrelated to enrollment in ISTA 370, then if you re absent due to food poisoning, then you are MAR. NMAR data are not missing at random. If students ordinarily take four tests, but are excused from future tests if they get a perfect score on a test, are they MAR or NMAR? How might NMAR introduce errors in analysis? Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
28 Not Missing At Random (NMAR) Data Participants in the BLAST experiment took four tests, but those who scored 18 or more on any test were excused from later tests. > which(is.na(test3)) # who didn't take Test3 [1] > Test2[which(is.na(Test3))] # what were their Test2 scores [1] 1.00 NA 0.95 NA > T3<-Test3 > mean(t3,na.rm=true) # Mean Test3 scores [1] > T3[is.na(T3)]<-1 # Replace NAs with perfect scores > mean(t3) # Mean T3 scores [1] Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
29 Not Missing At Random (NMAR) Data Does it Matter? If NMAR data are evenly distributed over experimental conditions, then they might not matter so much. So let s check: > nottest3<-which(is.na(test3)) # who didn't take Test3 > gender[nottest3] [1] female male male male female male male male Levels: female male > cond.plus.policy[nottest3] [1] DBN_11_NO_CHOICE DBN_11_NO_CHOICE DBN_11_NO_CHOICE [4] EXPERT_NO_CHOICE EXPERT_NO_CHOICE EXPERT_NO_CHOICE [7] EXPERT_CHOICE EXPERT_CHOICE_ZPD 6 Levels: DBN_11_NO_CHOICE... RANDOM_NO_CHOICE Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
30 Not Missing At Random (NMAR) Data Does it Matter? > aggregate.data.frame(test3,by=list(condition,gender), FUN=mean, na.rm=true) Group.1 Group.2 x 1 CHOICE female NO_CHOICE female CHOICE male NO_CHOICE male > aggregate.data.frame(t3,by=list(condition,gender), FUN=mean, na.rm=true) Group.1 Group.2 x 1 CHOICE female NO_CHOICE female CHOICE male NO_CHOICE male Note useful aggregate.data.frame command, which applies FUN to subsets of a variable defined by by=... T3 sets all the NAs to 1.0 so it s what students would get if they maxed out tests they were allowed to skip. Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
31 Missing and Censored Data When a small fraction of your data is missing, you can ignore it or impute its values. Common imputation methods involve matching records that have missing data to records that don t, and using one or more of the complete records to infer the missing value. Censored data is a more challenging problem. Examples: Inferring average runtime of an algorithm for a batch of jobs that s allowed to run for a fixed time. Inferring age at death of a treatment sample when some people are still alive when the study ends. Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
32 What Do You See? What Does it Mean? > hist(heightc$weight,main=null,xlab="weight of 33 College St Frequency Weight of 33 College Students Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
33 What Do You See? What Does it Mean? Frequency Common sense tells us that a weight of 50lbs or less is unlikely and is probably an errorful datum Weight of 33 College Students Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
34 What Do You See? What Does it Mean? Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
35 What Do You See? What Does it Mean? The vertical axes are different, so it s hard to tell what s happening. Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
36 What Do You See? What Does it Mean? Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
37 What Do You See? What Does it Mean? Not all apparent differences are real differences. Mentally group your data to see if something might explain apparent differences. Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
38 What Do You See? What Does it Mean? > m<-c(0.93,0.95,0.94,0.86,na,0.86, 0.89, 0.85, 0.90, 0.85, 0 > s<-c(0.26, 0.23, 0.25, 0.34,NA,0.34, 0.31, 0.35, 0.30, 0.35 > barx <- barplot(m,ylim=c(0,1.5),names.arg=1:11,axis.lty=1,x > error.bar(barx,m,s) Not all differences are real differences Condition Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
39 What Do You See? What Does it Mean? > plot(taheri$a,col="red",type="l",ylim=c(0,1)) > lines(taheri$b,col="blue") taheri$a Index Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
40 What Do You See? What Does it Mean? > plot(taheri$a,col="red",type="l",ylim=c(0,1)) > lines(taheri$b,col="blue") > cor(taheri$a,taheri$b) [1] taheri$a Although features A and B were supposed to be independent, they were normalized to sum to a constant, rendering them dependent Index Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
41 What Do You See? What Does it Mean? > with(mtcars,plot(disp,mpg)) > cor(disp,mpg) [1] mpg disp Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
42 What Do You See? What Does it Mean? > palette(c("blue","red","forestgreen")) > with(mtcars,plot(disp,mpg,col=cyl)) > cor(disp,mpg) [1] mpg Coloring by a third variable shows that the correlation between disp and mpg depends on cyl disp Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
43 Tips for looking at data Tips: Not All Data are Real Data Data can be noisy, missing, contaminated, or even intentionally wrong (e.g., perverse subjects). You rarely know which data are suspicious. You have to look carefully for strange values and decide what to do with them. kinect$lhand.y Frequency Time Weight of 33 College Students Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
44 Tips for looking at data Tips: Not All Differences are Real Differences Get the right vertical axis scale Augment your picture with measures of variation Condition Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
45 Tips for looking at data Tips: Look for holes in data Holes are regions that have fewer data. You ask, why are so few data there? Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / Train0Squared NewSkills0 iris$petal.length Frequency
46 Tips for looking at data Tips: Don t rely on summaries. Look at the data! Means and other summaries are useful but the raw data show patterns obscured by summaries. unemployment year Paul Cohen ISTA 370 () Exploratory Data Analysis Spring, / 46
Data Exploration Data Visualization
Data Exploration Data Visualization What is data exploration? A preliminary exploration of the data to better understand its characteristics. Key motivations of data exploration include Helping to select
More informationExploratory data analysis (Chapter 2) Fall 2011
Exploratory data analysis (Chapter 2) Fall 2011 Data Examples Example 1: Survey Data 1 Data collected from a Stat 371 class in Fall 2005 2 They answered questions about their: gender, major, year in school,
More informationLecture 2: Descriptive Statistics and Exploratory Data Analysis
Lecture 2: Descriptive Statistics and Exploratory Data Analysis Further Thoughts on Experimental Design 16 Individuals (8 each from two populations) with replicates Pop 1 Pop 2 Randomly sample 4 individuals
More informationLecture 1: Review and Exploratory Data Analysis (EDA)
Lecture 1: Review and Exploratory Data Analysis (EDA) Sandy Eckel seckel@jhsph.edu Department of Biostatistics, The Johns Hopkins University, Baltimore USA 21 April 2008 1 / 40 Course Information I Course
More informationExploratory Data Analysis
Exploratory Data Analysis Johannes Schauer johannes.schauer@tugraz.at Institute of Statistics Graz University of Technology Steyrergasse 17/IV, 8010 Graz www.statistics.tugraz.at February 12, 2008 Introduction
More informationSTATS8: Introduction to Biostatistics. Data Exploration. Babak Shahbaba Department of Statistics, UCI
STATS8: Introduction to Biostatistics Data Exploration Babak Shahbaba Department of Statistics, UCI Introduction After clearly defining the scientific problem, selecting a set of representative members
More informationCenter: Finding the Median. Median. Spread: Home on the Range. Center: Finding the Median (cont.)
Center: Finding the Median When we think of a typical value, we usually look for the center of the distribution. For a unimodal, symmetric distribution, it s easy to find the center it s just the center
More informationDescriptive Statistics
Y520 Robert S Michael Goal: Learn to calculate indicators and construct graphs that summarize and describe a large quantity of values. Using the textbook readings and other resources listed on the web
More informationWhy Taking This Course? Course Introduction, Descriptive Statistics and Data Visualization. Learning Goals. GENOME 560, Spring 2012
Why Taking This Course? Course Introduction, Descriptive Statistics and Data Visualization GENOME 560, Spring 2012 Data are interesting because they help us understand the world Genomics: Massive Amounts
More informationChapter 7 Section 7.1: Inference for the Mean of a Population
Chapter 7 Section 7.1: Inference for the Mean of a Population Now let s look at a similar situation Take an SRS of size n Normal Population : N(, ). Both and are unknown parameters. Unlike what we used
More informationBNG 202 Biomechanics Lab. Descriptive statistics and probability distributions I
BNG 202 Biomechanics Lab Descriptive statistics and probability distributions I Overview The overall goal of this short course in statistics is to provide an introduction to descriptive and inferential
More informationVariables. Exploratory Data Analysis
Exploratory Data Analysis Exploratory Data Analysis involves both graphical displays of data and numerical summaries of data. A common situation is for a data set to be represented as a matrix. There is
More informationName: Date: Use the following to answer questions 2-3:
Name: Date: 1. A study is conducted on students taking a statistics class. Several variables are recorded in the survey. Identify each variable as categorical or quantitative. A) Type of car the student
More informationAP * Statistics Review. Descriptive Statistics
AP * Statistics Review Descriptive Statistics Teacher Packet Advanced Placement and AP are registered trademark of the College Entrance Examination Board. The College Board was not involved in the production
More informationDESCRIPTIVE STATISTICS. The purpose of statistics is to condense raw data to make it easier to answer specific questions; test hypotheses.
DESCRIPTIVE STATISTICS The purpose of statistics is to condense raw data to make it easier to answer specific questions; test hypotheses. DESCRIPTIVE VS. INFERENTIAL STATISTICS Descriptive To organize,
More informationExercise 1.12 (Pg. 22-23)
Individuals: The objects that are described by a set of data. They may be people, animals, things, etc. (Also referred to as Cases or Records) Variables: The characteristics recorded about each individual.
More informationGeostatistics Exploratory Analysis
Instituto Superior de Estatística e Gestão de Informação Universidade Nova de Lisboa Master of Science in Geospatial Technologies Geostatistics Exploratory Analysis Carlos Alberto Felgueiras cfelgueiras@isegi.unl.pt
More informationWeek 1. Exploratory Data Analysis
Week 1 Exploratory Data Analysis Practicalities This course ST903 has students from both the MSc in Financial Mathematics and the MSc in Statistics. Two lectures and one seminar/tutorial per week. Exam
More informationData Mining: Exploring Data. Lecture Notes for Chapter 3. Slides by Tan, Steinbach, Kumar adapted by Michael Hahsler
Data Mining: Exploring Data Lecture Notes for Chapter 3 Slides by Tan, Steinbach, Kumar adapted by Michael Hahsler Topics Exploratory Data Analysis Summary Statistics Visualization What is data exploration?
More informationBASIC STATISTICAL METHODS FOR GENOMIC DATA ANALYSIS
BASIC STATISTICAL METHODS FOR GENOMIC DATA ANALYSIS SEEMA JAGGI Indian Agricultural Statistics Research Institute Library Avenue, New Delhi-110 012 seema@iasri.res.in Genomics A genome is an organism s
More informationDescriptive Statistics. Purpose of descriptive statistics Frequency distributions Measures of central tendency Measures of dispersion
Descriptive Statistics Purpose of descriptive statistics Frequency distributions Measures of central tendency Measures of dispersion Statistics as a Tool for LIS Research Importance of statistics in research
More informationDescriptive Statistics
Descriptive Statistics Suppose following data have been collected (heights of 99 five-year-old boys) 117.9 11.2 112.9 115.9 18. 14.6 17.1 117.9 111.8 16.3 111. 1.4 112.1 19.2 11. 15.4 99.4 11.1 13.3 16.9
More informationChapter 1: Looking at Data Section 1.1: Displaying Distributions with Graphs
Types of Variables Chapter 1: Looking at Data Section 1.1: Displaying Distributions with Graphs Quantitative (numerical)variables: take numerical values for which arithmetic operations make sense (addition/averaging)
More informationTutorial 3: Graphics and Exploratory Data Analysis in R Jason Pienaar and Tom Miller
Tutorial 3: Graphics and Exploratory Data Analysis in R Jason Pienaar and Tom Miller Getting to know the data An important first step before performing any kind of statistical analysis is to familiarize
More information2. Here is a small part of a data set that describes the fuel economy (in miles per gallon) of 2006 model motor vehicles.
Math 1530-017 Exam 1 February 19, 2009 Name Student Number E There are five possible responses to each of the following multiple choice questions. There is only on BEST answer. Be sure to read all possible
More informationDiagrams and Graphs of Statistical Data
Diagrams and Graphs of Statistical Data One of the most effective and interesting alternative way in which a statistical data may be presented is through diagrams and graphs. There are several ways in
More informationDescriptive statistics Statistical inference statistical inference, statistical induction and inferential statistics
Descriptive statistics is the discipline of quantitatively describing the main features of a collection of data. Descriptive statistics are distinguished from inferential statistics (or inductive statistics),
More informationconsider the number of math classes taken by math 150 students. how can we represent the results in one number?
ch 3: numerically summarizing data - center, spread, shape 3.1 measure of central tendency or, give me one number that represents all the data consider the number of math classes taken by math 150 students.
More informationInterpreting Data in Normal Distributions
Interpreting Data in Normal Distributions This curve is kind of a big deal. It shows the distribution of a set of test scores, the results of rolling a die a million times, the heights of people on Earth,
More informationExploratory Data Analysis. Psychology 3256
Exploratory Data Analysis Psychology 3256 1 Introduction If you are going to find out anything about a data set you must first understand the data Basically getting a feel for you numbers Easier to find
More informationDescriptive Statistics
Descriptive Statistics Primer Descriptive statistics Central tendency Variation Relative position Relationships Calculating descriptive statistics Descriptive Statistics Purpose to describe or summarize
More informationFirst Midterm Exam (MATH1070 Spring 2012)
First Midterm Exam (MATH1070 Spring 2012) Instructions: This is a one hour exam. You can use a notecard. Calculators are allowed, but other electronics are prohibited. 1. [40pts] Multiple Choice Problems
More informationChapter 1: Exploring Data
Chapter 1: Exploring Data Chapter 1 Review 1. As part of survey of college students a researcher is interested in the variable class standing. She records a 1 if the student is a freshman, a 2 if the student
More informationIris Sample Data Set. Basic Visualization Techniques: Charts, Graphs and Maps. Summary Statistics. Frequency and Mode
Iris Sample Data Set Basic Visualization Techniques: Charts, Graphs and Maps CS598 Information Visualization Spring 2010 Many of the exploratory data techniques are illustrated with the Iris Plant data
More informationSimple Regression Theory II 2010 Samuel L. Baker
SIMPLE REGRESSION THEORY II 1 Simple Regression Theory II 2010 Samuel L. Baker Assessing how good the regression equation is likely to be Assignment 1A gets into drawing inferences about how close the
More informationT O P I C 1 2 Techniques and tools for data analysis Preview Introduction In chapter 3 of Statistics In A Day different combinations of numbers and types of variables are presented. We go through these
More informationCommon Tools for Displaying and Communicating Data for Process Improvement
Common Tools for Displaying and Communicating Data for Process Improvement Packet includes: Tool Use Page # Box and Whisker Plot Check Sheet Control Chart Histogram Pareto Diagram Run Chart Scatter Plot
More informationBernd Klaus, some input from Wolfgang Huber, EMBL
Exploratory Data Analysis and Graphics Bernd Klaus, some input from Wolfgang Huber, EMBL Graphics in R base graphics and ggplot2 (grammar of graphics) are commonly used to produce plots in R; in a nutshell:
More informationShape of Data Distributions
Lesson 13 Main Idea Describe a data distribution by its center, spread, and overall shape. Relate the choice of center and spread to the shape of the distribution. New Vocabulary distribution symmetric
More informationThe right edge of the box is the third quartile, Q 3, which is the median of the data values above the median. Maximum Median
CONDENSED LESSON 2.1 Box Plots In this lesson you will create and interpret box plots for sets of data use the interquartile range (IQR) to identify potential outliers and graph them on a modified box
More informationNorthumberland Knowledge
Northumberland Knowledge Know Guide How to Analyse Data - November 2012 - This page has been left blank 2 About this guide The Know Guides are a suite of documents that provide useful information about
More information3: Summary Statistics
3: Summary Statistics Notation Let s start by introducing some notation. Consider the following small data set: 4 5 30 50 8 7 4 5 The symbol n represents the sample size (n = 0). The capital letter X denotes
More informationChapter 23 Inferences About Means
Chapter 23 Inferences About Means Chapter 23 - Inferences About Means 391 Chapter 23 Solutions to Class Examples 1. See Class Example 1. 2. We want to know if the mean battery lifespan exceeds the 300-minute
More informationWeek 11 Lecture 2: Analyze your data: Descriptive Statistics, Correct by Taking Log
Week 11 Lecture 2: Analyze your data: Descriptive Statistics, Correct by Taking Log Instructor: Eakta Jain CIS 6930, Research Methods for Human-centered Computing Scribe: Chris(Yunhao) Wan, UFID: 1677-3116
More informationExploratory Data Analysis
Exploratory Data Analysis Learning Objectives: 1. After completion of this module, the student will be able to explore data graphically in Excel using histogram boxplot bar chart scatter plot 2. After
More informationUnit 27: Comparing Two Means
Unit 27: Comparing Two Means Prerequisites Students should have experience with one-sample t-procedures before they begin this unit. That material is covered in Unit 26, Small Sample Inference for One
More informationGood luck! BUSINESS STATISTICS FINAL EXAM INSTRUCTIONS. Name:
Glo bal Leadership M BA BUSINESS STATISTICS FINAL EXAM Name: INSTRUCTIONS 1. Do not open this exam until instructed to do so. 2. Be sure to fill in your name before starting the exam. 3. You have two hours
More information4.1 Exploratory Analysis: Once the data is collected and entered, the first question is: "What do the data look like?"
Data Analysis Plan The appropriate methods of data analysis are determined by your data types and variables of interest, the actual distribution of the variables, and the number of cases. Different analyses
More informationDESCRIPTIVE STATISTICS - CHAPTERS 1 & 2 1
DESCRIPTIVE STATISTICS - CHAPTERS 1 & 2 1 OVERVIEW STATISTICS PANIK...THE THEORY AND METHODS OF COLLECTING, ORGANIZING, PRESENTING, ANALYZING, AND INTERPRETING DATA SETS SO AS TO DETERMINE THEIR ESSENTIAL
More informationStata Walkthrough 4: Regression, Prediction, and Forecasting
Stata Walkthrough 4: Regression, Prediction, and Forecasting Over drinks the other evening, my neighbor told me about his 25-year-old nephew, who is dating a 35-year-old woman. God, I can t see them getting
More informationPart II Chapter 9 Chapter 10 Chapter 11 Chapter 12 Chapter 13 Chapter 14 Chapter 15 Part II
Part II covers diagnostic evaluations of historical facility data for checking key assumptions implicit in the recommended statistical tests and for making appropriate adjustments to the data (e.g., consideration
More informationIN THE HANDS OF TIME
MATHS B-DAY 2006 Friday 24 November IN THE HANDS OF TIME The Maths B-Day is sponsored by and Maths B-day 2006-1- Wiskunde B-dag 2006 0 Introduction The maths B-day assignment this year is totally focused
More informationLecture 2. Summarizing the Sample
Lecture 2 Summarizing the Sample WARNING: Today s lecture may bore some of you It s (sort of) not my fault I m required to teach you about what we re going to cover today. I ll try to make it as exciting
More informationChapter 2 Data Exploration
Chapter 2 Data Exploration 2.1 Data Visualization and Summary Statistics After clearly defining the scientific question we try to answer, selecting a set of representative members from the population of
More informationMBA 611 STATISTICS AND QUANTITATIVE METHODS
MBA 611 STATISTICS AND QUANTITATIVE METHODS Part I. Review of Basic Statistics (Chapters 1-11) A. Introduction (Chapter 1) Uncertainty: Decisions are often based on incomplete information from uncertain
More information2. Filling Data Gaps, Data validation & Descriptive Statistics
2. Filling Data Gaps, Data validation & Descriptive Statistics Dr. Prasad Modak Background Data collected from field may suffer from these problems Data may contain gaps ( = no readings during this period)
More informationStatistics 151 Practice Midterm 1 Mike Kowalski
Statistics 151 Practice Midterm 1 Mike Kowalski Statistics 151 Practice Midterm 1 Multiple Choice (50 minutes) Instructions: 1. This is a closed book exam. 2. You may use the STAT 151 formula sheets and
More informationData Mining: Exploring Data. Lecture Notes for Chapter 3. Introduction to Data Mining
Data Mining: Exploring Data Lecture Notes for Chapter 3 Introduction to Data Mining by Tan, Steinbach, Kumar Tan,Steinbach, Kumar Introduction to Data Mining 8/05/2005 1 What is data exploration? A preliminary
More informationMeans, standard deviations and. and standard errors
CHAPTER 4 Means, standard deviations and standard errors 4.1 Introduction Change of units 4.2 Mean, median and mode Coefficient of variation 4.3 Measures of variation 4.4 Calculating the mean and standard
More informationMean = (sum of the values / the number of the value) if probabilities are equal
Population Mean Mean = (sum of the values / the number of the value) if probabilities are equal Compute the population mean Population/Sample mean: 1. Collect the data 2. sum all the values in the population/sample.
More informationUNDERSTANDING THE INDEPENDENT-SAMPLES t TEST
UNDERSTANDING The independent-samples t test evaluates the difference between the means of two independent or unrelated groups. That is, we evaluate whether the means for two independent groups are significantly
More informationStatistics Review PSY379
Statistics Review PSY379 Basic concepts Measurement scales Populations vs. samples Continuous vs. discrete variable Independent vs. dependent variable Descriptive vs. inferential stats Common analyses
More informationStatistics. Measurement. Scales of Measurement 7/18/2012
Statistics Measurement Measurement is defined as a set of rules for assigning numbers to represent objects, traits, attributes, or behaviors A variableis something that varies (eye color), a constant does
More informationData Mining: Exploring Data. Lecture Notes for Chapter 3. Introduction to Data Mining
Data Mining: Exploring Data Lecture Notes for Chapter 3 Introduction to Data Mining by Tan, Steinbach, Kumar What is data exploration? A preliminary exploration of the data to better understand its characteristics.
More informationChapter 7 Section 1 Homework Set A
Chapter 7 Section 1 Homework Set A 7.15 Finding the critical value t *. What critical value t * from Table D (use software, go to the web and type t distribution applet) should be used to calculate the
More informationIntroduction to Quantitative Methods
Introduction to Quantitative Methods October 15, 2009 Contents 1 Definition of Key Terms 2 2 Descriptive Statistics 3 2.1 Frequency Tables......................... 4 2.2 Measures of Central Tendencies.................
More informationGraphs. Exploratory data analysis. Graphs. Standard forms. A graph is a suitable way of representing data if:
Graphs Exploratory data analysis Dr. David Lucy d.lucy@lancaster.ac.uk Lancaster University A graph is a suitable way of representing data if: A line or area can represent the quantities in the data in
More informationHow To: Analyse & Present Data
INTRODUCTION The aim of this How To guide is to provide advice on how to analyse your data and how to present it. If you require any help with your data analysis please discuss with your divisional Clinical
More informationMISSING DATA TECHNIQUES WITH SAS. IDRE Statistical Consulting Group
MISSING DATA TECHNIQUES WITH SAS IDRE Statistical Consulting Group ROAD MAP FOR TODAY To discuss: 1. Commonly used techniques for handling missing data, focusing on multiple imputation 2. Issues that could
More informationII. DISTRIBUTIONS distribution normal distribution. standard scores
Appendix D Basic Measurement And Statistics The following information was developed by Steven Rothke, PhD, Department of Psychology, Rehabilitation Institute of Chicago (RIC) and expanded by Mary F. Schmidt,
More information1.3 Measuring Center & Spread, The Five Number Summary & Boxplots. Describing Quantitative Data with Numbers
1.3 Measuring Center & Spread, The Five Number Summary & Boxplots Describing Quantitative Data with Numbers 1.3 I can n Calculate and interpret measures of center (mean, median) in context. n Calculate
More informationDescriptive Statistics and Measurement Scales
Descriptive Statistics 1 Descriptive Statistics and Measurement Scales Descriptive statistics are used to describe the basic features of the data in a study. They provide simple summaries about the sample
More informationSummary of Formulas and Concepts. Descriptive Statistics (Ch. 1-4)
Summary of Formulas and Concepts Descriptive Statistics (Ch. 1-4) Definitions Population: The complete set of numerical information on a particular quantity in which an investigator is interested. We assume
More information" Y. Notation and Equations for Regression Lecture 11/4. Notation:
Notation: Notation and Equations for Regression Lecture 11/4 m: The number of predictor variables in a regression Xi: One of multiple predictor variables. The subscript i represents any number from 1 through
More informationAP Statistics Solutions to Packet 2
AP Statistics Solutions to Packet 2 The Normal Distributions Density Curves and the Normal Distribution Standard Normal Calculations HW #9 1, 2, 4, 6-8 2.1 DENSITY CURVES (a) Sketch a density curve that
More informationDemographics of Atlanta, Georgia:
Demographics of Atlanta, Georgia: A Visual Analysis of the 2000 and 2010 Census Data 36-315 Final Project Rachel Cohen, Kathryn McKeough, Minnar Xie & David Zimmerman Ethnicities of Atlanta Figure 1: From
More informationData Analysis Tools. Tools for Summarizing Data
Data Analysis Tools This section of the notes is meant to introduce you to many of the tools that are provided by Excel under the Tools/Data Analysis menu item. If your computer does not have that tool
More informationEXPLORING SPATIAL PATTERNS IN YOUR DATA
EXPLORING SPATIAL PATTERNS IN YOUR DATA OBJECTIVES Learn how to examine your data using the Geostatistical Analysis tools in ArcMap. Learn how to use descriptive statistics in ArcMap and Geoda to analyze
More informationCOM CO P 5318 Da t Da a t Explora Explor t a ion and Analysis y Chapte Chapt r e 3
COMP 5318 Data Exploration and Analysis Chapter 3 What is data exploration? A preliminary exploration of the data to better understand its characteristics. Key motivations of data exploration include Helping
More informationEXAM #1 (Example) Instructor: Ela Jackiewicz. Relax and good luck!
STP 231 EXAM #1 (Example) Instructor: Ela Jackiewicz Honor Statement: I have neither given nor received information regarding this exam, and I will not do so until all exams have been graded and returned.
More informationModule 2: Introduction to Quantitative Data Analysis
Module 2: Introduction to Quantitative Data Analysis Contents Antony Fielding 1 University of Birmingham & Centre for Multilevel Modelling Rebecca Pillinger Centre for Multilevel Modelling Introduction...
More informationMissing Data: Part 1 What to Do? Carol B. Thompson Johns Hopkins Biostatistics Center SON Brown Bag 3/20/13
Missing Data: Part 1 What to Do? Carol B. Thompson Johns Hopkins Biostatistics Center SON Brown Bag 3/20/13 Overview Missingness and impact on statistical analysis Missing data assumptions/mechanisms Conventional
More informationdetermining relationships among the explanatory variables, and
Chapter 4 Exploratory Data Analysis A first look at the data. As mentioned in Chapter 1, exploratory data analysis or EDA is a critical first step in analyzing the data from an experiment. Here are the
More informationDescriptive Statistics
Descriptive Statistics Descriptive statistics consist of methods for organizing and summarizing data. It includes the construction of graphs, charts and tables, as well various descriptive measures such
More informationHow Does My TI-84 Do That
How Does My TI-84 Do That A guide to using the TI-84 for statistics Austin Peay State University Clarksville, Tennessee How Does My TI-84 Do That A guide to using the TI-84 for statistics Table of Contents
More informationIntroduction to. Hypothesis Testing CHAPTER LEARNING OBJECTIVES. 1 Identify the four steps of hypothesis testing.
Introduction to Hypothesis Testing CHAPTER 8 LEARNING OBJECTIVES After reading this chapter, you should be able to: 1 Identify the four steps of hypothesis testing. 2 Define null hypothesis, alternative
More information1) Write the following as an algebraic expression using x as the variable: Triple a number subtracted from the number
1) Write the following as an algebraic expression using x as the variable: Triple a number subtracted from the number A. 3(x - x) B. x 3 x C. 3x - x D. x - 3x 2) Write the following as an algebraic expression
More informationAnalyzing and interpreting data Evaluation resources from Wilder Research
Wilder Research Analyzing and interpreting data Evaluation resources from Wilder Research Once data are collected, the next step is to analyze the data. A plan for analyzing your data should be developed
More informationc. Construct a boxplot for the data. Write a one sentence interpretation of your graph.
MBA/MIB 5315 Sample Test Problems Page 1 of 1 1. An English survey of 3000 medical records showed that smokers are more inclined to get depressed than non-smokers. Does this imply that smoking causes depression?
More informationIntroduction to Statistics for Psychology. Quantitative Methods for Human Sciences
Introduction to Statistics for Psychology and Quantitative Methods for Human Sciences Jonathan Marchini Course Information There is website devoted to the course at http://www.stats.ox.ac.uk/ marchini/phs.html
More information+ Chapter 1 Exploring Data
Chapter 1 Exploring Data Introduction: Data Analysis: Making Sense of Data 1.1 Analyzing Categorical Data 1.2 Displaying Quantitative Data with Graphs 1.3 Describing Quantitative Data with Numbers Introduction
More informationList of Examples. Examples 319
Examples 319 List of Examples DiMaggio and Mantle. 6 Weed seeds. 6, 23, 37, 38 Vole reproduction. 7, 24, 37 Wooly bear caterpillar cocoons. 7 Homophone confusion and Alzheimer s disease. 8 Gear tooth strength.
More informationGeography 4203 / 5203. GIS Modeling. Class (Block) 9: Variogram & Kriging
Geography 4203 / 5203 GIS Modeling Class (Block) 9: Variogram & Kriging Some Updates Today class + one proposal presentation Feb 22 Proposal Presentations Feb 25 Readings discussion (Interpolation) Last
More information1. How different is the t distribution from the normal?
Statistics 101 106 Lecture 7 (20 October 98) c David Pollard Page 1 Read M&M 7.1 and 7.2, ignoring starred parts. Reread M&M 3.2. The effects of estimated variances on normal approximations. t-distributions.
More informationIntroduction to Environmental Statistics. The Big Picture. Populations and Samples. Sample Data. Examples of sample data
A Few Sources for Data Examples Used Introduction to Environmental Statistics Professor Jessica Utts University of California, Irvine jutts@uci.edu 1. Statistical Methods in Water Resources by D.R. Helsel
More informationData Mining and Visualization
Data Mining and Visualization Jeremy Walton NAG Ltd, Oxford Overview Data mining components Functionality Example application Quality control Visualization Use of 3D Example application Market research
More informationGraphical Representation of Multivariate Data
Graphical Representation of Multivariate Data One difficulty with multivariate data is their visualization, in particular when p > 3. At the very least, we can construct pairwise scatter plots of variables.
More informationIntroduction to Exploratory Data Analysis
Introduction to Exploratory Data Analysis A SpaceStat Software Tutorial Copyright 2013, BioMedware, Inc. (www.biomedware.com). All rights reserved. SpaceStat and BioMedware are trademarks of BioMedware,
More informationReducing the Costs of Employee Churn with Predictive Analytics
Reducing the Costs of Employee Churn with Predictive Analytics How Talent Analytics helped a large financial services firm save more than $4 million a year Employee churn can be massively expensive, and
More information9. Sampling Distributions
9. Sampling Distributions Prerequisites none A. Introduction B. Sampling Distribution of the Mean C. Sampling Distribution of Difference Between Means D. Sampling Distribution of Pearson's r E. Sampling
More information