+? Mean +? No change -? Mean -? No Change. *? Mean *? Std *? Transformations & Data Cleaning. Transformations

Similar documents
+? Mean +? No change -? Mean -? No Change. *? Mean *? Std *? Transformations & Data Cleaning. Transformations

The Dummy s Guide to Data Analysis Using SPSS

The SPSS Sample Problem To demonstrate these concepts, we will work the sample problem for logistic regression in SPSS Professional Statistics 7.5, pa

Unit 6: Simple Linear Regression Lecture 2: Outliers and inference

Sociology 7704: Regression Models for Categorical Data Instructor: Natasha Sarkisian. Preliminary Data Screening

Chapter 9. Regression Wisdom. Copyright 2010 Pearson Education, Inc.

Chapter 4: Foundations for inference. OpenIntro Statistics, 2nd Edition

Daily Optimization Project

Using SPSS for Linear Regression

Introduction to Statistics. Measures of Central Tendency

Correlation and Simple. Linear Regression. Scenario. Defining Correlation

CS 147: Computer Systems Performance Analysis

Business Analytics & Data Mining Modeling Using R Dr. Gaurav Dixit Department of Management Studies Indian Institute of Technology, Roorkee

Outliers and Their Effect on Distribution Assessment

Chapter 3. Basic Statistical Concepts: II. Data Preparation and Screening. Overview. Data preparation. Data screening. Score reliability and validity

Introduction to Statistics. Measures of Central Tendency and Dispersion

AP Statistics Scope & Sequence

Thus, there are two points to keep in mind when analyzing risk:

Capability on Aggregate Processes

results. We hope this allows others to better interpret and replicate our findings.

Kristin Gustavson * and Ingrid Borren

How to Use Excel for Regression Analysis MtRoyal Version 2016RevA *

Online Student Guide Scatter Diagrams

CHAPTER 4. Labeling Methods for Identifying Outliers

Chapter Six- Selecting the Best Innovation Model by Using Multiple Regression

Crucial that our data is not only correct but up to date if we will be using our data in this way.

customized based on a ranking system. Facebook wants you to see more stuff from people. As a result, you will see fewer posts from pages.

Risk Analysis Overview

Multiple Regression. Dr. Tom Pierce Department of Psychology Radford University

LECTURE 17: MULTIVARIABLE REGRESSIONS I

Statistical Observations on Mass Appraisal. by Josh Myers Josh Myers Valuation Solutions, LLC.

GETTING READY FOR DATA COLLECTION

Midterm Exam. Friday the 29th of October, 2010

MATH STUDENT BOOK. 7th Grade Unit 2

MULTIPLE IMPUTATION. Adrienne D. Woods Methods Hour Brown Bag April 14, 2017

When Did You Last Grow Profits by 61%? Here s 5 Ways to Do So Today

A01 325: #1 VERSION 2 SOLUTIONS

ISSN (Online)

Improving the validity and quality of our research Daniël Lakens Eindhoven University of

VIII. STATISTICS. Part I

Clovis Community College Class Assessment

Statistics is the area of Math that is all about 1: collecting, 2: analysing and 3: reporting about data.

Getting Started with Machine Learning

Learning from using the Volunteer Impact Assessment Toolkit in NHS Scotland Guidance and Tips for new users March 2009

Chapter 8 Script. Welcome to Chapter 8, Are Your Curves Normal? Probability and Why It Counts.

Watson-Glaser III Critical Thinking Appraisal (US)

Econometric Analysis Dr. Sobel

Basic Statistics, Sampling Error, and Confidence Intervals

Who Are My Best Customers?

Content & Contentment

Learning from using the Volunteer Impact Assessment Toolkit in NHS Scotland. Guidance and Tips for new users March 2009

Thinking Inside the Box

Introduction. We ll be going through some key notions in paid advertising through the four chapters of our guide.

CHAPTER 5 RESULTS AND ANALYSIS

ANALYSING QUANTITATIVE DATA

Draft Poof - Do not copy, post, or distribute

Model Selection, Evaluation, Diagnosis

Unit QUAN Session 6. Introduction to Acceptance Sampling

Watson Glaser III (US)

Section 9: Presenting and describing quantitative data

Chapter 12 Module 3. AMIS 310 Foundations of Accounting

Test 6D (cumulative) AP Statistics Name:

3 Ways to Improve Your Targeted Marketing with Analytics

y x where x age and y height r = 0.994

Attachment 1. Categorical Summary of BMP Performance Data for Solids (TSS, TDS, and Turbidity) Contained in the International Stormwater BMP Database

The combination of factors and their levels describe the battlespace conditions.

Marginal Costing Q.8

1. Contingency Table (Cross Tabulation Table)

DAY 2 Advanced comparison of methods of measurements

WELCOA WELLNESS COUNCILS OF AMERICA ABSOLUTE ADVANTAGE 5

Survive Your Alberta Transportation Audit:

Three steps to joining and participating in unions

Chapter 2 Part 1B. Measures of Location. September 4, 2008

Untangling Correlated Predictors with Principle Components

Summary Statistics Using Frequency

Gasoline Consumption Analysis

Page 1. Reddico Manifesto. Reddico, Moat Farm Oast, Five Oak Green, Tonbridge, Kent TN12 6RR

Binary Classification Modeling Final Deliverable. Using Logistic Regression to Build Credit Scores. Dagny Taggart

Shape and Velocity Management. Stu Schmidt

Chapter 3. Displaying and Summarizing Quantitative Data. 1 of 66 05/21/ :00 AM

Customer Satisfaction Survey Report Guide

AP Stats ~ Lesson 8A: Confidence Intervals OBJECTIVES:

Holding Accountability Conversations

Descriptive Statistics

Chapter 19. Confidence Intervals for Proportions. Copyright 2012, 2008, 2005 Pearson Education, Inc.

5 top questions for finding the best construction accounting software BY FOUNDATION SOFTWARE

EFFICACY OF ROBUST REGRESSION APPLIED TO FRACTIONAL FACTORIAL TREATMENT STRUCTURES MICHAEL MCCANTS

Statistics Chapter Measures of Position LAB

Biostatistics 208 Data Exploration

8 Tips to Help You Improve

Regression Analysis of Beijing Hotels Customer Satisfaction Based upon Data from TripAdvisor

Applying Regression Techniques For Predictive Analytics Paviya George Chemparathy

A is used to answer questions about the quantity of what is being measured. A quantitative variable is comprised of numeric values.

How to Get More Value from Your Survey Data

RECRUIT TALENT IN TODAY S MARKET. Behavioral Interviewing Questions and Templates

Project Management, SMART Goals and Action Plans

WORKING WITH TEST DOCUMENTATION

The Multivariate Dustbin

Small Business advice seeking behaviour technical report. An analysis of the 2018 small business legal need survey July 2018

Equating and Scaling for Examination Programs

Transcription:

Transformations Transformations & Data Cleaning Linear & non-linear transformations 2-kinds of Z-scores Identifying Outliers & Influential Cases Univariate Outlier Analyses -- trimming vs. Winsorizing Outlier Analyses for r & ANOVA Outlier Analyses for Multiple Regression Linear Transformations transformations that involve only +, -, * and / used to re-express data to enhance communication e.g., using % correct instead of # correct do not causes changes in NHST, CI or Effect Size results r, t & F results will be same before and after transformation but if doing t/f, be sure to transform all scores around the overall mean, not to transform each group s scores around their own mean Nonlinear Transformations transformations involving other operations (e.g., ^2, & log) used to symmetrize data distributions to improve their fit to assumptions of statistical analysis (i.e., Normal Distribution assumption of r, t & F) may change r, t & F results -- hope is that transformed results will be more accurate, because data will better fit assumptions Effect of Linear Transformations on the Mean and Std We can anticipate the effect on the mean and std of adding, subtracting, multiplying or dividing each value in a data set by a constant. operation effect on mean effect on std +? Mean +? No change -? Mean -? No Change *? Mean *? Std *? /? Mean /? Std /?

Commonly Used Linear Transformations & one to watch for... x - mean Z-score Z = --------------- (m = 0, s = 1) linear std T-score T = (Z * 10) + 50 (m = 50, s = 10) linear Standard Test S = (Z * 100) + 500 (m = 500, s = 100) linear y y = (b * x) + a (m=m of y, s s of y) linear % p_y = (y / max) * 100 linear change score Δ = post score - pre score nonlinear A quick word about Z-scores There are two kinds based on... mean and std of that sample (M s) mean and std of the represented population (μ σ) X - M Z sample = ---------------- s mean of Z-scores always 0 std of Z-scores always 1 translates relative scores into easily interpreted values X - μ Z pop = ---------------- σ mean > 0 if sample better than pop mean < 0 if sample poorer than pop std < 1 if sample s < σ std > 1 if sample s > σ provides ready comparison of sample mean and std to population values Similarly, you can compose T and Standard scores using μ and σ to get sample-population comparisons using these score-types. Non-linear transformations -- to symmetrize data distributions the transformation needed is related to the extent & direction of skewing Skewness Suggested Transformation < +/-.80 unlikely to disrupt common statistical analyses Most transformations are directly applied to positively skewed distributions. +.8 to +1.5 square root transformation (0 & positive values only) +1.5 to +3.0 log 10 transformation (positive values only) +3.0 or greater inverse transformation 1 / # (positive values only) Transformation of negatively skewed distributions first require reflection, which involves subtracting all values from the largest value+1. -.80 to - 1.5 reflect & square root transformation -1.5 to -3.0 reflect & log 10 transformation (positive values only) -3.0 or greater reflect & inverse transformation 1 / # (positive values only)

How symmetrizing works 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 1 2 3 Applying transformation 4 = 2 9= 3 16 = 4 25 = 5 36 = 6 gives... 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 1 2 3 Influential Cases & Outlier Analysis The purpose of a sample is to represent a specific population the better the sample represents the population, the more accurate will be the inferential statistics and the results of any inferential statistical tests sample members are useful only to the extent that they aid the representation influential cases are sample members with extreme or non-representative scores that influence the inferential stats outliers are cases with values that are too extreme to have come from the same population as the rest of the cases e.g., the ages of the college sample were 21, 62, 22, 19 & 20 the 62 is an influential case -- will radically increase the mean and std of this sample -- is too large to have come from the same pop as rest How outliers influence univariate statistics outliers can lead to too-high, too-low or nearly correct estimates of the population mean, depending upon the number and location of the outliers (asymmetrical vs. symmetrical patterns) outliers always lead to overestimates of the population std Mean estimate is too high & std is Mean estimate is too low & std is Mean estimate is right & std is

Identifying Outliers for removal The preferred technique is to be able to identify participants who are not likely to be members of the population of interest. However, often the only indication we have that a participant doesn t come from the population of interest is that they have an outlying score. So, we will operate under the assumption that outlying scores mean that: 1) a participant is probably not a member of the target population (or that something bad happened to their score) 2) if included the data as is would produce a biased estimate of the population value (e.g., mean, std, r, F, etc.) and so, should not be included in the data analysis. Key -- application of the approach must be hypothesis blind Statistical Identification of Outliers One common procedure was to identify as outliers any data point with a Z-value greater than 2.0 (2.5 & 3.0 were also common suggestions) this means that some values that really do belong to the distribution were incorrectly identified as outliers, but simulation and real-data research suggested that statistical estimates were better and more replicable when these procedures were used. one problem with this approach is that outliers influence the std (making it larger than it should be) leading us to miss outliers (yep outliers can hide themselves when this approach is used) The most common approach used currently is to base outlier analyses on rank-order statistics, which are much less influenced by the outliers they are trying to identify. Outlier Identification formulas The formula is very simple (easier using SPSS) Lower bound value = Lower hinge 1.5 (hinge spread) Upper bound value = Upper hinge + 1.5 (hinge spread) Any data value smaller than the lower bound or larger than the upper bound is deemed an outlier a value that probably doesn t come from the same population as the other values in the sample. What we do with identified outliers Trimming eliminating the data value from the analyses leads to loss of data, statistical power, etc.) Winsorizing recode the data value to the nearest acceptable value (upper or lower bound value) large/small values are still present, but won t unduly influence statistical estimates & maintains sample size

Outlier Analysis & Nonlinear Transformations What Order? are both used to help prepare data to more closely conform to the assumptions of the statistical models we ll use so a natural question is which to do first??? not surprising it depends... These data would have outliers and substantial + skewing the skewing probably produced the outliers -- so transform first & recheck for outliers Applying outlier analyses to correlation & regression univariate outliers can lead to over- or underestimates of r & b there are also bivariate outliers data points that are outliers for neither X nor Y, but change the shape of the envelope, and so the estimate of r, b and/or a this applies when the predictor is binary, as well dual univariate outlier -- doesn t bias b or a, but r is bivarite outlier -- biases a, but not b and r is underestimated These data would also have outliers and substantial + skewing the outliers probably produced the skewing -- so remove outliers first & recheck for skewness Certainly it isn t always this clear, but usually one order works better than the other -- nicer distribution and fewer outliers. Applying outlier analyses to binary predictors outliers can lead to too-high or too-low estimates of each group mean and so, can lead to poor estimations of r, b and a it is important to do outlier analysis of Y for each value of predictor An extreme example the sort that results from miscoding of the binary variable Both of these are bivariate outliers neither would be revealed by univariate outlier analyses

Applying outlier analyses to multiple regression remember that R and the bs are influenced by the criterionpredictor correlations (sometimes called validities ) and the predictor-predictor correlations (collinearities) so, any outlier that influences any correlation can influence the multiple regression model in addition to univariate & bivariate outlier analyses (including all the predictor-predictor variables) there are also multivariate outlier analyses, including leverage influence a case can have upon the position of the regression line (distance from centroid along line) discrepancy position relative to the envelope (distance from line at perpendicular) influence the combination of leverage & discrepancy Now that you have cleaned data Remember the purpose of cleaning is to improve the representativeness of the sample stats to the population the fit of the sample distributions to the assumptions of the statistical analysis models used Need to tell readers about what you ve done, why, the result, etc. Reporting formats vary greatly look at work where you intend to publish or present. Be sure to present criteria for identification & procedure used Skewness tell original skew, the transformation and resulting skew Outliers 1.5 +/- Tukey s Hinge & trim or Winsorize Bivariate outliers scatterplot identification & trim MR influence specific stat, criterion (1.0), & trim Rarely do you present the pre- and post-cleaning statistical results (even univariate) usually only the post