200 likes | 306 Views
Chapter 5 The Lure of Statistics: Data Mining Using Familiar Tools. Note: Included in this Slide Set is a subset of Chapter 5 material and additional material from the instructor. Why a Manager (or you) Needs to Know Some Basics about Statistics. To know how to properly present information
E N D
Chapter 5The Lure of Statistics:Data Mining Using Familiar Tools Note: Included in this Slide Set is a subset of Chapter 5 material and additional material from the instructor.
Why a Manager (or you) Needs to Know Some Basics about Statistics • To know how to properly present information • To know how to draw conclusions about populations based on sample information • To know how to improve processes • To know how to obtain reliable forecasts
Statistics vs Data Mining • For statisticians, data mining has a negative connotation – one of searching for data to support preconceived ideas • Statistics don’t lie but liars use statistics! • Statistics developed as a discipline to help scientists make sense of observations and experiments, hence the scientific method • Problem has often been too little data for statisticians • DM is faced with too much data • Many of the techniques & algorithms used are shared by both statisticians and data miners
Some Definitions • Population (universe) is the collection of things under consideration • Sample is a portion of the population selected for analysis • Statisticis a summary measure computed to describe a characteristic of the sample
Some Definitions* • Mean (average) is the sum of the values divided by the number of values • Median is the midpoint of the values (50% above; 50% below) after they have been ordered from the smallest to the largest, or the largest to the smallest • Modeis the value among all the values observed that appears most frequently • Rangeis the difference between the smallest and largest observation in the sample * laymen’s
Population and Sample Population Sample Use statistics to summarize features Use parameters to summarize features Inference on the population from the sample
Occam’s Razor – “Kiss” • William of Occam, Franciscan monk, 1280-1349 – prior to modern statistics, the Renaissance and the printing press. • Influential philosopher, theologian, professor with a very simple idea: • Latin: Entia non sunt multiplicanda sine necessitate • English: The simpler explanation is the preferable one or “Keep it simple, stupid!”
The Null Hypothesis • The NH assumes that differences among observations are due simply to chance • Bush vs Kerry – poll’s margin of error ~ 3% - 4% • Layperson asks, “Are these %’s different?” • Statistician asks, “What is the probability that these two values are really the same?”
Skepticism • Is good for both statisticians and DMiners • Goal for both is to demonstrate results that work, hence discounting the null hypothesis • The less reliance on chance the better
P-Values and Q-Values • The null hypothesis can be quantified • The p-value is the probability that the null hypothesis is true • When the null hypothesis is true, nothing is really happening; differences are due to chance • Confidence, the reverse of a p-value, is called the q-value. p-value = 5% then the q-value (confidence) is 95%. • Example: Bush/Kerry…p-value 60% or 5%
Data Visualization • Discrete data, such as products, channels, regions, and descriptions is the main focus of data mining • Histogram – bars show number of times different values occur
Data Visualization • Histograms describe a single moment in time • Data mining is often concerned with what is happening over time. • Time Series Analysis – choosing an appropriate time frame to consider the data
Standardized Values • Time Series charts are useful, but have limitations also; cannot tell whether the changes over time are expected or unexpected • We could look at a segment of the data, say a day at a time asking: “Is it possible that the differences seen on each day are strictly due to chance?” (null hypothesis) • Answer: calculate the p-value for a day
Central Limit Theorem • As more and more samples are taken from a population, the distribution of the averages of the samples follows the normal distribution. The average of the samples comes arbitrarily close to the average of the entire population. • Normal distribution is described by the mean (average count) and the standard deviation (clustering around the mean)
Variance and Standard Deviation • Varianceis a measure of the dispersion of a sample (or how closely the observations cluster around the mean [average]) • Standard Deviation, the square root of the variance, is the measure of variation in the observed values (or variation in the clustering around the mean)
84 65 74 72 85 65 96 30 Sort the data from highest to lowest and assign grades Find the Mean, Median, Mode, and Standard Deviation Create a histogram for the grades Example: Sample Scores/Grades • 78 • 72 • 85 • 64 • 65 • 96 • 15 • 72 • 73 • 85 .
Using MS Excel… B C D E F G H I