9/28/2012HCI571 Isabelle Bichindaritz1 Working with Data Data Summarization.

Slides:



Advertisements
Similar presentations
UNIT – 1 Data Preprocessing
Advertisements

UNIT-2 Data Preprocessing LectureTopic ********************************************** Lecture-13Why preprocess the data? Lecture-14Data cleaning Lecture-15Data.
Describing Quantitative Variables
Lesson Describing Distributions with Numbers parts from Mr. Molesky’s Statmonkey website.
Descriptive Measures MARE 250 Dr. Jason Turner.
DATA PREPROCESSING Why preprocess the data?
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.
Class Session #2 Numerically Summarizing Data
Statistics 100 Lecture Set 6. Re-cap Last day, looked at a variety of plots For categorical variables, most useful plots were bar charts and pie charts.
Measures of Dispersion
IB Math Studies – Topic 6 Statistics.
Descriptive Statistics
Jan Shapes of distributions… “Statistics” for one quantitative variable… Mean and median Percentiles Standard deviations Transforming data… Rescale:
Sullivan – Statistics: Informed Decisions Using Data – 2 nd Edition – Chapter 3 Introduction – Slide 1 of 3 Topic 16 Numerically Summarizing Data- Averages.
ISE 261 PROBABILISTIC SYSTEMS. Chapter One Descriptive Statistics.
Summarising and presenting data
B a c kn e x t h o m e Classification of Variables Discrete Numerical Variable A variable that produces a response that comes from a counting process.
Descriptive Statistics  Summarizing, Simplifying  Useful for comprehending data, and thus making meaningful interpretations, particularly in medium to.
Describing Data: Numerical
AP Statistics Chapters 0 & 1 Review. Variables fall into two main categories: A categorical, or qualitative, variable places an individual into one of.
© 2005 The McGraw-Hill Companies, Inc., All Rights Reserved. Chapter 12 Describing Data.
Programming in R Describing Univariate and Multivariate data.
Describing distributions with numbers
Descriptive Statistics  Summarizing, Simplifying  Useful for comprehending data, and thus making meaningful interpretations, particularly in medium to.
Descriptive Statistics Used to describe the basic features of the data in any quantitative study. Both graphical displays and descriptive summary statistics.
September 5, 2015Data Mining: Concepts and Techniques1 Chapter 2: Data Preprocessing Why preprocess the data? Descriptive data summarization Data cleaning.
COMP5331: Knowledge Discovery and Data Minig
Exploratory Data Analysis. Computing Science, University of Aberdeen2 Introduction Applying data mining (InfoVis as well) techniques requires gaining.
1 1 Slide © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Numerical Descriptive Techniques
11/7/2012ISC471 - HCI571 Isabelle Bichindaritz 1 Data Preprocessing.
© Copyright McGraw-Hill CHAPTER 3 Data Description.
1 Laugh, and the world laughs with you. Weep and you weep alone.~Shakespeare~
M07-Numerical Summaries 1 1  Department of ISM, University of Alabama, Lesson Objectives  Learn when each measure of a “typical value” is appropriate.
Chapter 2 Describing Data.
Biostatistics Class 1 1/25/2000 Introduction Descriptive Statistics.
Skewness & Kurtosis: Reference
Data Preprocessing Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2010.
Categorical vs. Quantitative…
Dr. Serhat Eren 1 CHAPTER 6 NUMERICAL DESCRIPTORS OF DATA.
Data Mining Lecture 5. Course Syllabus Case Study 1: Working and experiencing on the properties of The Retail Banking Data Mart (Week 4 – Assignment1)
Data Preprocessing Dr. Bernard Chen Ph.D. University of Central Arkansas.
Copyright © 2011 Pearson Education, Inc. Describing Numerical Data Chapter 4.

Edpsy 511 Exploratory Data Analysis Homework 1: Due 9/19.
January 17, 2016Data Mining: Concepts and Techniques 1 What Is Data Mining? Data mining (knowledge discovery from data) Extraction of interesting ( non-trivial,
Statistics topics from both Math 1 and Math 2, both featured on the GHSGT.
LIS 570 Summarising and presenting data - Univariate analysis.
Data Preprocessing Compiled By: Umair Yaqub Lecturer Govt. Murray College Sialkot.
3/13/2016 Data Mining 1 Lecture 2-1 Data Exploration: Understanding Data Phayung Meesad, Ph.D. King Mongkut’s University of Technology North Bangkok (KMUTNB)
(Unit 6) Formulas and Definitions:. Association. A connection between data values.
1 By maintaining a good heart at every moment, every day is a good day. If we always have good thoughts, then any time, any thing or any location is auspicious.
Describing Data: Summary Measures. Identifying the Scale of Measurement Before you analyze the data, identify the measurement scale for each variable.
Data Mining: Data Prepossessing What is to be done before we get to Data Mining?
MAT 135 Introductory Statistics and Data Analysis Adjunct Instructor
Probability and Statistics for Computer Scientists Second Edition, By: Michael Baron Chapter 8: Introduction to Statistics CIS Computational Probability.
Data Mining: Concepts and Techniques
Data Mining: Concepts and Techniques
COP 6726: New Directions in Database Systems
CHAPTER 3 Data Description 9/17/2018 Kasturiarachi.
NUMERICAL DESCRIPTIVE MEASURES
Description of Data (Summary and Variability measures)
Laugh, and the world laughs with you. Weep and you weep alone
Understanding Data Characteristics
Understanding Basic Characteristics of Data
Data Mining: Concepts and Techniques — Chapter 2 —
Lecture 1: Descriptive Statistics and Exploratory
Data Mining: Characterization
Advanced Algebra Unit 1 Vocabulary
Describing Data Coordinate Algebra.
Presentation transcript:

9/28/2012HCI571 Isabelle Bichindaritz1 Working with Data Data Summarization

9/28/2012HCI571 Isabelle Bichindaritz2 Learning Objectives Why do we need to preprocess data? Descriptive data summarization

9/28/2012HCI571 Isabelle Bichindaritz3 Learning Objectives Understand motivations for cleaning the data Understand how to summarize the data

9/28/2012HCI571 Isabelle Bichindaritz4 Why Data Preprocessing? Data mining aims at discovering relationships and other forms of knowledge from data in the real world. Data map entities in the application domain to symbolic representation through a measurement function. Data in the real world is dirty –incomplete: missing data, lacking attribute values, lacking certain attributes of interest, or containing only aggregate data –noisy: containing errors, such as measurement errors, or outliers –inconsistent: containing discrepancies in codes or names –distorted: sampling distortion No quality data, no quality mining results! (GIGO) –Quality decisions must be based on quality data –Data warehouse needs consistent integration of quality data

9/28/2012HCI571 Isabelle Bichindaritz5 Multi-Dimensional Measure of Data Quality Data quality is multidimensional: –Accuracy –Preciseness (=reliability) –Completeness –Consistency –Timeliness –Believability (=validity) –Value added –Interpretability –Accessibility Broad categories: –intrinsic, contextual, representational, and accessibility.

9/28/2012HCI571 Isabelle Bichindaritz6 Major Tasks in Data Preprocessing Data cleaning –Fill in missing values, smooth noisy data, identify or remove outliers, and resolve inconsistencies and errors Data integration –Integration of multiple databases, data cubes, or files Data transformation –Normalization and aggregation Data reduction –Obtains reduced representation in volume but produces the same or similar analytical results Data discretization –Part of data reduction but with particular importance, especially for numerical data

9/28/2012HCI571 Isabelle Bichindaritz7 Forms of data preprocessing from Han & Kamber

9/28/2012HCI571 Isabelle Bichindaritz8 Learning Objectives Understand motivations for cleaning the data Understand how to summarize the data

9/28/2012HCI571 Isabelle Bichindaritz9 Mining Data Descriptive Characteristics Motivation – To better understand the data: central tendency, variation and spread Data dispersion characteristics – median, max, min, quantiles, outliers, variance, etc. Numerical dimensions correspond to sorted intervals – Data dispersion: analyzed with multiple granularities of precision – Boxplot or quantile analysis on sorted intervals Dispersion analysis on computed measures – Folding measures into numerical dimensions – Boxplot or quantile analysis on the transformed cube

9/28/2012HCI571 Isabelle Bichindaritz10 Measuring the Central Tendency Mean (algebraic measure) (sample vs. population): – Weighted arithmetic mean: – Trimmed mean: chopping extreme values Median: A holistic measure – Middle value if odd number of values, or average of the middle two values otherwise – Estimated by interpolation (for grouped data): Mode – Value that occurs most frequently in the data – Unimodal, bimodal, trimodal – Empirical formula:

9/28/2012HCI571 Isabelle Bichindaritz11 Symmetric vs. Skewed Data Median, mean and mode of symmetric, positively and negatively skewed data positively skewednegatively skewed symmetric from Han & Kamber

9/28/2012HCI571 Isabelle Bichindaritz12 Measuring the Dispersion of Data Quartiles, outliers and boxplots – Quartiles: Q 1 (25 th percentile), Q 3 (75 th percentile) – Inter-quartile range: IQR = Q 3 – Q 1 – Five number summary: min, Q 1, M, Q 3, max – Boxplot: ends of the box are the quartiles, median is marked, whiskers, and plot outlier individually – Outlier: usually, a value higher/lower than 1.5 x IQR Variance and standard deviation (sample: s, population: σ) – Variance: (algebraic, scalable computation) – Standard deviation s (or σ) is the square root of variance s 2 ( or σ 2)

9/28/2012HCI571 Isabelle Bichindaritz13 Boxplot Analysis Five-number summary of a distribution: Minimum, Q1, M, Q3, Maximum Boxplot –Data is represented with a box –The ends of the box are at the first and third quartiles, i.e., the height of the box is IQR –The median is marked by a line within the box –Whiskers: two lines outside the box extend to Minimum and Maximum

9/28/2012HCI571 Isabelle Bichindaritz14 Visualization of Data Dispersion: 3-D Boxplots

9/28/2012HCI571 Isabelle Bichindaritz15 Properties of Normal Distribution Curve The normal (distribution) curve –From μ – σ to μ+σ: contains about 68% of the measurements (μ: mean, σ: standard deviation) – From μ – 2σ to μ+2σ: contains about 95% of it –From μ – 3σ to μ+3σ: contains about 99.7% of it

9/28/2012HCI571 Isabelle Bichindaritz16 Graphic Displays of Basic Statistical Descriptions Boxplot: graphic display of five-number summary Histogram: x-axis are values, y-axis repres. frequencies Quantile plot: each value x i is paired with f i indicating that approximately 100 f i % of data are  x i Quantile-quantile (q-q) plot: graphs the quantiles of one univariant distribution against the corresponding quantiles of another Scatter plot: each pair of values is a pair of coordinates and plotted as points in the plane Loess (local regression) curve: add a smooth curve to a scatter plot to provide better perception of the pattern of dependence

9/28/2012HCI571 Isabelle Bichindaritz17 Histogram Analysis Graph displays of basic statistical class descriptions –Frequency histograms A univariate graphical method Consists of a set of rectangles that reflect the counts or frequencies of the classes present in the given data

9/28/2012HCI571 Isabelle Bichindaritz18 Histograms Often Tells More than Boxplots The two histograms shown in the left may have the same boxplot representation –The same values for: min, Q1, median, Q3, max But they have rather different data distributions

9/28/2012HCI571 Isabelle Bichindaritz19 Scatter plot Provides a first look at bivariate data to see clusters of points, outliers, etc Each pair of values is treated as a pair of coordinates and plotted as points in the plane

9/28/2012HCI571 Isabelle Bichindaritz20 Loess Curve Adds a smooth curve to a scatter plot in order to provide better perception of the pattern of dependence Loess curve is fitted by setting two parameters: a smoothing parameter, and the degree of the polynomials that are fitted by the regression

9/28/2012HCI571 Isabelle Bichindaritz21 Positively and Negatively Correlated Data The left half fragment is positively correlated The right half is negative correlated

9/28/2012HCI571 Isabelle Bichindaritz22 Not Correlated Data

9/28/2012HCI571 Isabelle Bichindaritz23 Data Visualization and Its Methods Why data visualization? –Gain insight into an information space by mapping data onto graphical primitives –Provide qualitative overview of large data sets –Search for patterns, trends, structure, irregularities, relationships among data –Help find interesting regions and suitable parameters for further quantitative analysis –Provide a visual proof of computer representations derived Typical visualization methods: –Geometric techniques –Icon-based techniques –Hierarchical techniques

9/28/2012HCI571 Isabelle Bichindaritz24 Scatterplot Matrices Matrix of scatterplots (x-y-diagrams) of the k-dim. data [total of (k2/2-k) scatterplots] Used by ermission of M. Ward, Worcester Polytechnic Institute

9/28/2012HCI571 Isabelle Bichindaritz25 news articles visualized as a landscape Used by permission of B. Wright, Visible Decisions Inc. Landscapes Visualization of the data as perspective landscape The data needs to be transformed into a (possibly artificial) 2D spatial representation which preserves the characteristics of the data

9/28/2012HCI571 Isabelle Bichindaritz26 Tree-Map Screen-filling method which uses a hierarchical partitioning of the screen into regions depending on the attribute values The x- and y-dimension of the screen are partitioned alternately according to the attribute values (classes) MSR Netscan Image from Han & Kamber

9/28/2012HCI571 Isabelle Bichindaritz27 Tree-Map of a File System (Schneiderman)

9/28/2012HCI571 Isabelle Bichindaritz28 Summary Data preparation/preprocessing: A big issue for data analysis and data mining Data description, data exploration, and summarization set the base for quality data preprocessing Data preparation includes –Data cleaning –Data integration and data transformation –Data reduction (dimensionality and numerosity reduction) A lot a methods have been developed but data preprocessing still an active area of research