CS 235: User Interface Design November 26 Class Meeting Department of Computer Science San Jose State University Fall 2014 Instructor: Ron Mak www.cs.sjsu.edu/~mak.

Slides:



Advertisements
Similar presentations
Richard M. Jacobs, OSA, Ph.D.
Advertisements

Chapter 3, Numerical Descriptive Measures
Statistics It is the science of planning studies and experiments, obtaining sample data, and then organizing, summarizing, analyzing, interpreting data,
Psychology: A Modular Approach to Mind and Behavior, Tenth Edition, Dennis Coon Appendix Appendix: Behavioral Statistics.
QUANTITATIVE DATA ANALYSIS
Chap 3-1 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 3 Describing Data: Numerical.
Descriptive Statistics A.A. Elimam College of Business San Francisco State University.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 2-1 Statistics for Business and Economics 7 th Edition Chapter 2 Describing Data:
1 Basic statistics Week 10 Lecture 1. Thursday, May 20, 2004 ISYS3015 Analytic methods for IS professionals School of IT, University of Sydney 2 Meanings.
Measures of Variability
Introduction to Educational Statistics
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.
Chap 3-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 3 Describing Data: Numerical Statistics for Business and Economics.
Summary of Quantitative Analysis Neuman and Robson Ch. 11
12.3 – Measures of Dispersion
Measures of Central Tendency
CS 235: User Interface Design December 8 Class Meeting Department of Computer Science San Jose State University Fall 2014 Instructor: Ron Mak
CS 235: User Interface Design November 24 Class Meeting Department of Computer Science San Jose State University Fall 2014 Instructor: Ron Mak
CS 235: User Interface Design November 12 Class Meeting Department of Computer Science San Jose State University Fall 2014 Instructor: Ron Mak
Correlation and Regression
© 2005 The McGraw-Hill Companies, Inc., All Rights Reserved. Chapter 12 Describing Data.
Chapter 1 Descriptive Analysis. Statistics – Making sense out of data. Gives verifiable evidence to support the answer to a question. 4 Major Parts 1.Collecting.
Descriptive Statistics  Summarizing, Simplifying  Useful for comprehending data, and thus making meaningful interpretations, particularly in medium to.
Exploratory Data Analysis. Computing Science, University of Aberdeen2 Introduction Applying data mining (InfoVis as well) techniques requires gaining.
Chapter 3 Statistical Concepts.
Statistics. Question Tell whether the following statement is true or false: Nominal measurement is the ranking of objects based on their relative standing.
Copyright © 2012 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 16 Descriptive Statistics.
Introduction to Descriptive Statistics Objectives: Determine the general purpose of correlational statistics in assessment & evaluation “Data have a story.
ITEC6310 Research Methods in Information Technology Instructor: Prof. Z. Yang Course Website: c6310.htm Office:
Variable  An item of data  Examples: –gender –test scores –weight  Value varies from one observation to another.
Instrumentation (cont.) February 28 Note: Measurement Plan Due Next Week.
Are You Smarter Than a 5 th Grader?. 1,000,000 5th Grade Topic 15th Grade Topic 24th Grade Topic 34th Grade Topic 43rd Grade Topic 53rd Grade Topic 62nd.
Introduction to Descriptive Statistics Objectives: 1.Explain the general role of statistics in assessment & evaluation 2.Explain three methods for describing.
Chapter 2 Describing Data.
CS 235: User Interface Design September 22 Class Meeting Department of Computer Science San Jose State University Fall 2014 Instructor: Ron Mak
Examining Relationships in Quantitative Research
TYPES OF STATISTICAL METHODS USED IN PSYCHOLOGY Statistics.
QUANTITATIVE RESEARCH AND BASIC STATISTICS. TODAYS AGENDA Progress, challenges and support needed Response to TAP Check-in, Warm-up responses and TAP.
INVESTIGATION 1.
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
CS 235: User Interface Design May 5 Class Meeting Department of Computer Science San Jose State University Spring 2015 Instructor: Ron Mak
Unit 2 (F): Statistics in Psychological Research: Measures of Central Tendency Mr. Debes A.P. Psychology.
CS 235: User Interface Design November 19 Class Meeting Department of Computer Science San Jose State University Fall 2014 Instructor: Ron Mak
CS 235: User Interface Design April 30 Class Meeting Department of Computer Science San Jose State University Spring 2015 Instructor: Ron Mak
Chapter 6: Analyzing and Interpreting Quantitative Data
Data Summary Using Descriptive Measures Sections 3.1 – 3.6, 3.8
Chapter 16: Correlation. So far… We’ve focused on hypothesis testing Is the relationship we observe between x and y in our sample true generally (i.e.
Why do we analyze data?  It is important to analyze data because you need to determine the extent to which the hypothesized relationship does or does.
Educational Research: Data analysis and interpretation – 1 Descriptive statistics EDU 8603 Educational Research Richard M. Jacobs, OSA, Ph.D.
Chapter 15: Correlation. Correlations: Measuring and Describing Relationships A correlation is a statistical method used to measure and describe the relationship.
Why do we analyze data?  To determine the extent to which the hypothesized relationship does or does not exist.  You need to find both the central tendency.
CS 235: User Interface Design December 10 Class Meeting Department of Computer Science San Jose State University Fall 2014 Instructor: Ron Mak
Descriptive Statistics(Summary and Variability measures)
Statistics Josée L. Jarry, Ph.D., C.Psych. Introduction to Psychology Department of Psychology University of Toronto June 9, 2003.
Psychology’s Statistics Appendix. Statistics Are a means to make data more meaningful Provide a method of organizing information so that it can be understood.
Educational Research Descriptive Statistics Chapter th edition Chapter th edition Gay and Airasian.
CS 235: User Interface Design May 12 Class Meeting Department of Computer Science San Jose State University Spring 2015 Instructor: Ron Mak
MM150 ~ Unit 9 Statistics ~ Part II. WHAT YOU WILL LEARN Mode, median, mean, and midrange Percentiles and quartiles Range and standard deviation z-scores.
Data, Tables & Graphs October 24, 2016 BIOL 260
Descriptive Statistics ( )
Different Types of Data
Business and Economics 6th Edition
MATH-138 Elementary Statistics
Data, Univariate Statistics & Statistical Inference
Correlation and Regression
BUS173: Applied Statistics
STATISTICS Topic 1 IB Biology Miss Werba.
MBA 510 Lecture 2 Spring 2013 Dr. Tonya Balan 4/20/2019.
Statistics Definitions
Business and Economics 7th Edition
Presentation transcript:

CS 235: User Interface Design November 26 Class Meeting Department of Computer Science San Jose State University Fall 2014 Instructor: Ron Mak

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Online Course Evaluations  Evaluation period closes Wednesday, Dec. 10.  If you don’t fill out the online SOTES by Dec. 10, you will have a 3-week delay in the release of your grades. 2

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Examples of Quantitative Relationships Quantitative informationRelationship Units of a product sold per geographic region Sales related to geography Revenue by quarterRevenue related to time Expenses by department and monthExpenses related to organizational structure and time A company’s market share compared to that of its competitors Market share related to companies The number of employees who received each of five possible performance ratings (1-5) during the last annual performance review Employee counts related to performance ratings 3 Show Me the Numbers, 2 nd ed. by Stephen Few Analytics Press, 2012

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Relationships within Categories  Nominal  Ordinal  Interval  Hierarchical 4

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Relationships within Categories: Nominal  Values in a category are discrete and have no intrinsic order.  Example: 5 Show Me the Numbers, 2 nd ed. by Stephen Few Analytics Press, 2012

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Relationships within Categories: Ordinal  Categorical items have a prescribed order. Meaningless to display them out of order. Except perhaps in reversed order.  Examples: First, second, third, … Small, medium, large Best, second best, … 6

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Relationships within Categories: Interval  Categorical items consist of a sequential series of numerical ranges that subdivide a larger range of quantitative values into smaller ranges.  Examples: 7 Show Me the Numbers, 2 nd ed. by Stephen Few Analytics Press, 2012

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Relationships within Categories: Hierarchical  Multiple categories that are closely associated with each other as separate levels in a series of parent-child connections.  Example: 8 Show Me the Numbers, 2 nd ed. by Stephen Few Analytics Press, 2012

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Relationships between Quantities  Ranking  Ratio  Correlation 9

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Relationships between Quantities: Ranking  The order in which categorical items are displayed is based on associated quantitative values.  Example: 10 Show Me the Numbers, 2 nd ed. by Stephen Few Analytics Press, 2012

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Relationships between Quantities: Ratio  A number that expresses the relative quantities of two values obtained by dividing one by the other.  The ratio of a part to the whole is generally expressed as a percentage.  Example: 11 Show Me the Numbers, 2 nd ed. by Stephen Few Analytics Press, 2012

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Relationships between Quantities: Correlation  A comparison of two paired sets of quantitative values to determine whether increases in one value correspond to either increases or decreases in the other.  Allows us to predict the values of one variable by knowing or controlling the values of another.  Example: Number of years employees have been doing particular jobs vs. productivity in those jobs. Does productivity increase or decrease with tenure? 12

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Numbers that Summarize  Measures of average Mean Median  Measures of variation Spread Standard deviation  Measures of ratio  Measures of correlation Linear correlation coefficient 13

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Measures of Average: Arithmetic Mean  Sum all the values and divide the sum by the number of values.  Treats every value equally, no matter now extreme.  Example: 14 Show Me the Numbers, 2 nd ed. by Stephen Few Analytics Press, 2012

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Measures of Average: Arithmetic Mean, cont’d  The arithmetic mean can be a misleading summary of a set of numbers.  Example: 15 Show Me the Numbers, 2 nd ed. by Stephen Few Analytics Press, 2012

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Measures of Average: Median  The middle value of a sorted set of values.  Not sensitive to extreme values.  Better at expressing what’s a typical value.  Example: 16 Show Me the Numbers, 2 nd ed. by Stephen Few Analytics Press, 2012

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Measures of Variation: Spread  The difference between the lowest and the highest of a set of values. 17 Show Me the Numbers, 2 nd ed. by Stephen Few Analytics Press, 2012

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Measures of Variation: Standard Deviation  Measures the variation in a set of values relative to the arithmetic mean.  Formulas: 18 For n items taken from the entire set. For the entire set of n items.

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Measures of Variation: Standard Deviation, cont’d  Percentage of values that fall within 1, 2, or 3 standard deviations from the mean in a normal distribution % of the values 95% of the values 99.7% of the values Show Me the Numbers, 2 nd ed. by Stephen Few Analytics Press, 2012

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Ways to Express Measures of Ratio  Sentence Example: Two out of five customers …  Fraction Examples: ½ ⅔ ⅞  Rate Example: 0.4  Percentage Example: 45% 20

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Types of Analyses  Time series  Part-to-Whole and Ranking  Deviation  Distribution  Correlation  Multivariate 21 Ultimate goal: Provide insight for the user.

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Correlation Analysis  Characteristics of correlation: Direction Strength Shape 22

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Linear Correlation Coefficient  All values are between -1 and +1.  0 = no correlation.  +1 = perfect positive linear correlation  -1 = perfect negative linear correlation  The closer the value is to -1 or +1, the stronger the linear correlation. 23

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Linear Correlation Coefficient, cont’d 24 Show Me the Numbers, 2 nd ed. by Stephen Few Analytics Press, 2012

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Linear Correlation Coefficient, cont’d 25 Show Me the Numbers, 2 nd ed. by Stephen Few Analytics Press, 2012

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Linear Correlation Coefficient, cont’d 26 Show Me the Numbers, 2 nd ed. by Stephen Few Analytics Press, 2012

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Logarithmic Correlation 27 Now You See It by Stephen Few Analytics Press, 2009

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Exponential Correlation 28 Now You See It by Stephen Few Analytics Press, 2009

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Polynomial Correlation 29 Show Me the Numbers, 2 nd ed. by Stephen Few Analytics Press, 2012

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Correlation Does Not Imply Causation!  A strong correlation between two variables does not imply that one causes the other.  Further statistical tests are necessary to calculate the likelihood of true causation.  See _causation _causation 30

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Correlation Does Not Imply Causation! cont’d  See _causation _causation 31 Invalid insight: Eating ice cream causes crime. (Actually, both are caused by warmer weather.)

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Correlation Does Not Imply Causation! cont’d  Highly correlated: Infants sleeping with the lights on and the development of myopia (near sightedness).  Invalid insight: Sleeping with the lights on causes a child to become near-sighted.  True causation: Parents who are near-sighted have more lights on. Children inherit near-sightedness from their parents. 32

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Beware of False Correlations!  See: /Does-sour-cream-cause-bike-accidents- No-looks-like-does-Graphs-reveal-statistics- produce-false-connections.html /Does-sour-cream-cause-bike-accidents- No-looks-like-does-Graphs-reveal-statistics- produce-false-connections.html bizarre-correlations bizarre-correlations 33

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Multivariate Analysis  Compare multiple instances of several variables at once.  Identify similarities and differences among items that are each characterized by a common set of variables. Which items are most alike? Which items are most exceptional? How can items be grouped based on similarity? What multivariate profile corresponds best to a particular outcome? 34

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Multivariate Displays  Glyphs  Whiskers and stars  Multivariate heatmaps  Parallel coordinate plots 35

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Multivariate Displays: Glyphs VariableVisual attribute Body temperatureColor Blood typeHead shape Body mass indexTorso thickness Heart ratePosition of the arms Blood sugar levelPosition of the legs 36 Now You See It by Stephen Few Analytics Press, 2009

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Multivariate Displays: Glyphs, cont’d  Chernoff faces 37

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Multivariate Displays: Whiskers and Stars  Each line represents a different variable.  The line length encodes the variable’s value. 38 Now You See It by Stephen Few Analytics Press, 2009

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Multivariate Displays: Heatmaps 39 Now You See It by Stephen Few Analytics Press, 2009

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Multivariate Displays: Parallel Plots 40 Now You See It by Stephen Few Analytics Press, 2009

Computer Science Dept. Fall 2014: November 26 CS 235: User Interface Design © R. Mak Multivariate Displays: Parallel Plots, cont’d  Look for patterns! 41 Now You See It by Stephen Few Analytics Press, 2009