SlideShare ist ein Scribd-Unternehmen logo
1 von 62
Not Waving But Drowning Understanding Data Andrew Hingston switchsolutions.com.au
Not Waving But Drowning by Stevie Smith Nobody heard him, the dead man, But still he lay moaning: I was much further out than you thought  And not waving but drowning. Poor chap, he always loved larking And now he's dead It must have been too cold for him his	heart gave way, They said. Oh, no nono, it was too cold always (Still the dead one lay moaning) I was much too far out all my life And not waving but drowning.  Name and what you do Hobby others don’t know Waving or drowning in data?
3 Why understanddata ?
4 Sometimes we are like this
5 … and other times like this!
Memorability Anchoring and adjustment Status quo Self-serving Negative comparisons Framing BIAS 6
Sources of POWER Legitimate power Referent power Expert power Reward power Coercive power French and Raven (1959)“The bases of social power”See Wikipedia:“Power (philosophy)” 7
Persuasion Reciprocity Consistency Social proof Authority Liking Scarcity Robert Cialdini (2001)“Influence: Science and practice”See Wikipedia “Robert Cialdini” 8
Busting jargon 9
Steps … Specify problem Propose answers Identify the right tools Obtain your data Visualise it Crunch numbers Interpret, persuade, apply 10
Today 1. Visualising data 2. Measuring middle 3. Measuring spread 4. Histograms 5. Box plots 6. Bell-shaped curves 7. Exercises using R 11 Course 1. Understanding data 2. Monitoring processes 3. Exploring relationships
12 1 Visualising
Why visualise your data? For you Fast understanding Build solid ‘foundation’ Flags problems 13 For others Easier to follow Memorable Less info overload More convincing
14 GOOD CHARTS BAD CHARTS
Lots of charts … 15
Bar charts 16 Most revenueis still from ads
Column charts 17 And that storygoes back a while
Line charts 18 Go Android! Source: StatCounterGlobalStats
Scatterplot 19 When NASDAQ  So does Google!
GUI   Shoot Out 20 iOS Win Phone 7 Symbian Android BlackBerryOS Score out of 10 Form Functionality
Bubble chart 21
22
Pie chart 23
Stacked column chart 24 Check outour profits! Tax General Admin Sales & Marketing R&D Traffic acquisition& other
Radar charts 25
Compound charts (eg. Stock Chart) 26 1. Visualising data with charts
PRESENTATIONS! 5 second rule Simplicity Colour Font size Handouts Jargon Pictures 27
28 2 Middle
Mode = 1Median = 3 Mean = 4 Trimmed Mean = 3 29
Weighted average 30 = 0.25 x 0.04 + 0.50 x -0.08  + 0.25 x 0.04  = 2% Not the mean which is ZERO!
31 3 Spread
32
33 4 Histograms
34 LOOK Shape Peak Multi-peak Lumpy Long tail
FreedmanDiaconisEquation Suggests good bin width Very robust Use common sense though! 35 IQR = interquartile range, n = data points
Double - Peaked Bell - Shaped Comb Plateau Skewed Truncated Edge - Peaked Isolated - Peaked What is the story? 36
HISTOGRAMS Visualise spread Easy to interpret Indicates skewness Indicates multiple peaks 37 BAD GOOD Data points? Width of bins? Sample size?
38 5 Box plots
39 50 45 40 35 30 25 20 Outliers Upper fence Highest datainside fence 1.5 × IQR Quartile 3 BoxIQR Middle 50% Mean 99.3%if normallydistributed Median Quartile 1 1.5 × IQR Lowest datainside fence Lower fence
BOX PLOTS Mean and median Spread Symmetry Outliers 40 BAD GOOD Not intuitive Need stats package Bad for presentations
Interpreting shape 41 Right-Skewed Left-Skewed Symmetric Q Median Q Q Median Q Q Median Q 1 3 1 3 1 3 * * * Mean
Side-by-side boxplots If boxes don’t overlap then difference between groups is ‘statistically significant’ BUT THIS IS A PRETTY ROUGH TEST! 42 Boxes DON’T overlap
Why?Visualise Middle Spread Histograms Boxplots Recap 43
44 6 Bell-shapedcurves
WARNING! 45 
46 NORMALdistribution 68.2% chance 95.4% chance 99.7% chance stddev stddev Bell shaped     mean=median=mode     symmetricalGoes from - to +             Area under curve = 1
Mean return 10% Std deviation 10% Likelihood of -50% 47 ?
Different meansbut both still Normal 48 mean = 1 mean = +1
Different standard deviationsbut both still Normal 49 Stddev = 1 Stddev = 2
Calculating probability 50 stddev =1 mean = 0 X = How many stddev from the mean? This is called Z Put Z into spreadsheet = NORMSDIST ( 1 ) which gives 84% P.S.  is mean is stddev
… is the same as … 51 stddev =1 mean = 2 X = How many stddev from the mean? This is called Z Put Z into spreadsheet = NORMSDIST ( 1 ) which gives 84% P.S.  is mean is stddev
… or take a shortcut! 52 stddev =1 mean = 2 X = In OpenOfficeCalc = NORMSDIST ( 1 ) which gives 84% = NORMDIST ( 3 ; 2 ; 1; 1 ) also gives 84% P.S.  is mean is stddev   X
NEVERCALCULATE THE PROBABILITYOF ONE POINT 53 YOU CAN ONLY CALCULATE PROBABILITY OF A REGION
SPEED challenge 54
WARNING! 55 
Double - Peaked Bell - Shaped Comb Plateau Skewed Truncated Edge - Peaked Isolated - Peaked But data might not be Normal 56
Central Limit Theorem The shape of the data doesn’t matter …    if you take a large enough sample ( > 30 )    the means of the sample    will follow a Normal distribution shape    around the mean of the underlying data 57 DEMO
Use modified Z-score formula for probabilitythat mean of a sampletakes on certain values 58  is mean is stddevn is sample    size Use Z-score formulaif your data follows aNormal distribution
59 7 Exercises
PROJECT 60
Exercises in R Test Data Exercise 4 Employee Expenses Exercise 5 Toll Booth Exercise 6 Cycle World Exercise 9 Chan’s Linen Exercise 10 Stock returns For the brave! Exercise 11 Social Insight Test Exercise 13 Quality Exercise 16 Car production 61
THANKS Feedback please! 62

Weitere ähnliche Inhalte

Was ist angesagt?

Skew or kurtosis
Skew or kurtosisSkew or kurtosis
Skew or kurtosisKen Plummer
 
Normal distribution curve
Normal distribution curveNormal distribution curve
Normal distribution curveFahadi302
 
Chapter 2 understanding the normal curve distribution
Chapter 2   understanding the normal curve distributionChapter 2   understanding the normal curve distribution
Chapter 2 understanding the normal curve distributionAntonio F. Balatar Jr.
 
Exporing categorical data formatted
Exporing categorical data formattedExporing categorical data formatted
Exporing categorical data formattedUlster BOCES
 
Standard Deviation
Standard DeviationStandard Deviation
Standard Deviationpwheeles
 
The Normal Distribution Curve
The Normal Distribution CurveThe Normal Distribution Curve
The Normal Distribution CurvePaul John Argarin
 
Malimu variance and standard deviation
Malimu variance and standard deviationMalimu variance and standard deviation
Malimu variance and standard deviationMiharbi Ignasm
 
Displaying quantitative data 1.1
Displaying quantitative data 1.1Displaying quantitative data 1.1
Displaying quantitative data 1.1thomasonp
 
Normal Probabilty Distribution and its Problems
Normal Probabilty Distribution and its ProblemsNormal Probabilty Distribution and its Problems
Normal Probabilty Distribution and its ProblemsAli Raza
 
M.Ed Tcs 2 seminar ppt npc to submit
M.Ed Tcs 2 seminar ppt npc   to submitM.Ed Tcs 2 seminar ppt npc   to submit
M.Ed Tcs 2 seminar ppt npc to submitBINCYKMATHEW
 

Was ist angesagt? (17)

Skew or kurtosis
Skew or kurtosisSkew or kurtosis
Skew or kurtosis
 
Fractions
FractionsFractions
Fractions
 
Fractions
FractionsFractions
Fractions
 
Normal distribution curve
Normal distribution curveNormal distribution curve
Normal distribution curve
 
Skewness of random variable
Skewness of random variableSkewness of random variable
Skewness of random variable
 
Chapter 2 understanding the normal curve distribution
Chapter 2   understanding the normal curve distributionChapter 2   understanding the normal curve distribution
Chapter 2 understanding the normal curve distribution
 
Z scores
Z scoresZ scores
Z scores
 
Exporing categorical data formatted
Exporing categorical data formattedExporing categorical data formatted
Exporing categorical data formatted
 
The Normal Distribution
The Normal DistributionThe Normal Distribution
The Normal Distribution
 
Standard Deviation
Standard DeviationStandard Deviation
Standard Deviation
 
Statistics
StatisticsStatistics
Statistics
 
The Normal Distribution Curve
The Normal Distribution CurveThe Normal Distribution Curve
The Normal Distribution Curve
 
Normal distribution
Normal distributionNormal distribution
Normal distribution
 
Malimu variance and standard deviation
Malimu variance and standard deviationMalimu variance and standard deviation
Malimu variance and standard deviation
 
Displaying quantitative data 1.1
Displaying quantitative data 1.1Displaying quantitative data 1.1
Displaying quantitative data 1.1
 
Normal Probabilty Distribution and its Problems
Normal Probabilty Distribution and its ProblemsNormal Probabilty Distribution and its Problems
Normal Probabilty Distribution and its Problems
 
M.Ed Tcs 2 seminar ppt npc to submit
M.Ed Tcs 2 seminar ppt npc   to submitM.Ed Tcs 2 seminar ppt npc   to submit
M.Ed Tcs 2 seminar ppt npc to submit
 

Ähnlich wie Understanding Data

best for normal distribution.ppt
best for normal distribution.pptbest for normal distribution.ppt
best for normal distribution.pptDejeneDay
 
statical-data-1 to know how to measure.ppt
statical-data-1 to know how to measure.pptstatical-data-1 to know how to measure.ppt
statical-data-1 to know how to measure.pptNazarudinManik1
 
Quantitative Methods for Lawyers - Class #6 - Basic Statistics + Probability ...
Quantitative Methods for Lawyers - Class #6 - Basic Statistics + Probability ...Quantitative Methods for Lawyers - Class #6 - Basic Statistics + Probability ...
Quantitative Methods for Lawyers - Class #6 - Basic Statistics + Probability ...Daniel Katz
 
Sriram seminar on introduction to statistics
Sriram seminar on introduction to statisticsSriram seminar on introduction to statistics
Sriram seminar on introduction to statisticsSriram Chakravarthy
 
asDescriptive_Statistics2.ppt
asDescriptive_Statistics2.pptasDescriptive_Statistics2.ppt
asDescriptive_Statistics2.pptradha91354
 
Descriptive Statistics - Thiyagu K
Descriptive Statistics - Thiyagu KDescriptive Statistics - Thiyagu K
Descriptive Statistics - Thiyagu KThiyagu K
 
Lect 3 background mathematics for Data Mining
Lect 3 background mathematics for Data MiningLect 3 background mathematics for Data Mining
Lect 3 background mathematics for Data Mininghktripathy
 
Lect 3 background mathematics
Lect 3 background mathematicsLect 3 background mathematics
Lect 3 background mathematicshktripathy
 
Statistics (Measures of Dispersion)
Statistics (Measures of Dispersion)Statistics (Measures of Dispersion)
Statistics (Measures of Dispersion)Ron_Eick
 
Statistical thinking
Statistical thinkingStatistical thinking
Statistical thinkingmij1120
 
Basics of Descriptive biostatistics.pptx
Basics of Descriptive biostatistics.pptxBasics of Descriptive biostatistics.pptx
Basics of Descriptive biostatistics.pptxamrfleifle1
 
m2_2_variation_z_scores.pptx
m2_2_variation_z_scores.pptxm2_2_variation_z_scores.pptx
m2_2_variation_z_scores.pptxMesfinMelese4
 
Central tendency _dispersion
Central tendency _dispersionCentral tendency _dispersion
Central tendency _dispersionKirti Gupta
 
Introduction to Statistics53004300.ppt
Introduction to Statistics53004300.pptIntroduction to Statistics53004300.ppt
Introduction to Statistics53004300.pptTripthiDubey
 
Year 12 Maths A Textbook - Chapter 10
Year 12 Maths A Textbook - Chapter 10Year 12 Maths A Textbook - Chapter 10
Year 12 Maths A Textbook - Chapter 10westy67968
 

Ähnlich wie Understanding Data (20)

best for normal distribution.ppt
best for normal distribution.pptbest for normal distribution.ppt
best for normal distribution.ppt
 
statical-data-1 to know how to measure.ppt
statical-data-1 to know how to measure.pptstatical-data-1 to know how to measure.ppt
statical-data-1 to know how to measure.ppt
 
Quantitative Methods for Lawyers - Class #6 - Basic Statistics + Probability ...
Quantitative Methods for Lawyers - Class #6 - Basic Statistics + Probability ...Quantitative Methods for Lawyers - Class #6 - Basic Statistics + Probability ...
Quantitative Methods for Lawyers - Class #6 - Basic Statistics + Probability ...
 
Sriram seminar on introduction to statistics
Sriram seminar on introduction to statisticsSriram seminar on introduction to statistics
Sriram seminar on introduction to statistics
 
asDescriptive_Statistics2.ppt
asDescriptive_Statistics2.pptasDescriptive_Statistics2.ppt
asDescriptive_Statistics2.ppt
 
Descriptive Statistics - Thiyagu K
Descriptive Statistics - Thiyagu KDescriptive Statistics - Thiyagu K
Descriptive Statistics - Thiyagu K
 
Stats chapter 1
Stats chapter 1Stats chapter 1
Stats chapter 1
 
Lect 3 background mathematics for Data Mining
Lect 3 background mathematics for Data MiningLect 3 background mathematics for Data Mining
Lect 3 background mathematics for Data Mining
 
Lect 3 background mathematics
Lect 3 background mathematicsLect 3 background mathematics
Lect 3 background mathematics
 
DescriptiveStatistics.pdf
DescriptiveStatistics.pdfDescriptiveStatistics.pdf
DescriptiveStatistics.pdf
 
Chapter 11
Chapter 11Chapter 11
Chapter 11
 
Statistics (Measures of Dispersion)
Statistics (Measures of Dispersion)Statistics (Measures of Dispersion)
Statistics (Measures of Dispersion)
 
Statistical thinking
Statistical thinkingStatistical thinking
Statistical thinking
 
Basics of Descriptive biostatistics.pptx
Basics of Descriptive biostatistics.pptxBasics of Descriptive biostatistics.pptx
Basics of Descriptive biostatistics.pptx
 
m2_2_variation_z_scores.pptx
m2_2_variation_z_scores.pptxm2_2_variation_z_scores.pptx
m2_2_variation_z_scores.pptx
 
Central tendency _dispersion
Central tendency _dispersionCentral tendency _dispersion
Central tendency _dispersion
 
Introduction to Statistics53004300.ppt
Introduction to Statistics53004300.pptIntroduction to Statistics53004300.ppt
Introduction to Statistics53004300.ppt
 
Year 12 Maths A Textbook - Chapter 10
Year 12 Maths A Textbook - Chapter 10Year 12 Maths A Textbook - Chapter 10
Year 12 Maths A Textbook - Chapter 10
 
Normal Distribution.pptx
Normal Distribution.pptxNormal Distribution.pptx
Normal Distribution.pptx
 
statistics
statisticsstatistics
statistics
 

Kürzlich hochgeladen

Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 

Kürzlich hochgeladen (20)

Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 

Understanding Data

  • 1. Not Waving But Drowning Understanding Data Andrew Hingston switchsolutions.com.au
  • 2. Not Waving But Drowning by Stevie Smith Nobody heard him, the dead man, But still he lay moaning: I was much further out than you thought And not waving but drowning. Poor chap, he always loved larking And now he's dead It must have been too cold for him his heart gave way, They said. Oh, no nono, it was too cold always (Still the dead one lay moaning) I was much too far out all my life And not waving but drowning. Name and what you do Hobby others don’t know Waving or drowning in data?
  • 4. 4 Sometimes we are like this
  • 5. 5 … and other times like this!
  • 6. Memorability Anchoring and adjustment Status quo Self-serving Negative comparisons Framing BIAS 6
  • 7. Sources of POWER Legitimate power Referent power Expert power Reward power Coercive power French and Raven (1959)“The bases of social power”See Wikipedia:“Power (philosophy)” 7
  • 8. Persuasion Reciprocity Consistency Social proof Authority Liking Scarcity Robert Cialdini (2001)“Influence: Science and practice”See Wikipedia “Robert Cialdini” 8
  • 10. Steps … Specify problem Propose answers Identify the right tools Obtain your data Visualise it Crunch numbers Interpret, persuade, apply 10
  • 11. Today 1. Visualising data 2. Measuring middle 3. Measuring spread 4. Histograms 5. Box plots 6. Bell-shaped curves 7. Exercises using R 11 Course 1. Understanding data 2. Monitoring processes 3. Exploring relationships
  • 13. Why visualise your data? For you Fast understanding Build solid ‘foundation’ Flags problems 13 For others Easier to follow Memorable Less info overload More convincing
  • 14. 14 GOOD CHARTS BAD CHARTS
  • 15. Lots of charts … 15
  • 16. Bar charts 16 Most revenueis still from ads
  • 17. Column charts 17 And that storygoes back a while
  • 18. Line charts 18 Go Android! Source: StatCounterGlobalStats
  • 19. Scatterplot 19 When NASDAQ  So does Google!
  • 20. GUI Shoot Out 20 iOS Win Phone 7 Symbian Android BlackBerryOS Score out of 10 Form Functionality
  • 22. 22
  • 24. Stacked column chart 24 Check outour profits! Tax General Admin Sales & Marketing R&D Traffic acquisition& other
  • 26. Compound charts (eg. Stock Chart) 26 1. Visualising data with charts
  • 27. PRESENTATIONS! 5 second rule Simplicity Colour Font size Handouts Jargon Pictures 27
  • 29. Mode = 1Median = 3 Mean = 4 Trimmed Mean = 3 29
  • 30. Weighted average 30 = 0.25 x 0.04 + 0.50 x -0.08 + 0.25 x 0.04 = 2% Not the mean which is ZERO!
  • 32. 32
  • 34. 34 LOOK Shape Peak Multi-peak Lumpy Long tail
  • 35. FreedmanDiaconisEquation Suggests good bin width Very robust Use common sense though! 35 IQR = interquartile range, n = data points
  • 36. Double - Peaked Bell - Shaped Comb Plateau Skewed Truncated Edge - Peaked Isolated - Peaked What is the story? 36
  • 37. HISTOGRAMS Visualise spread Easy to interpret Indicates skewness Indicates multiple peaks 37 BAD GOOD Data points? Width of bins? Sample size?
  • 38. 38 5 Box plots
  • 39. 39 50 45 40 35 30 25 20 Outliers Upper fence Highest datainside fence 1.5 × IQR Quartile 3 BoxIQR Middle 50% Mean 99.3%if normallydistributed Median Quartile 1 1.5 × IQR Lowest datainside fence Lower fence
  • 40. BOX PLOTS Mean and median Spread Symmetry Outliers 40 BAD GOOD Not intuitive Need stats package Bad for presentations
  • 41. Interpreting shape 41 Right-Skewed Left-Skewed Symmetric Q Median Q Q Median Q Q Median Q 1 3 1 3 1 3 * * * Mean
  • 42. Side-by-side boxplots If boxes don’t overlap then difference between groups is ‘statistically significant’ BUT THIS IS A PRETTY ROUGH TEST! 42 Boxes DON’T overlap
  • 43. Why?Visualise Middle Spread Histograms Boxplots Recap 43
  • 46. 46 NORMALdistribution 68.2% chance 95.4% chance 99.7% chance stddev stddev Bell shaped mean=median=mode symmetricalGoes from - to + Area under curve = 1
  • 47. Mean return 10% Std deviation 10% Likelihood of -50% 47 ?
  • 48. Different meansbut both still Normal 48 mean = 1 mean = +1
  • 49. Different standard deviationsbut both still Normal 49 Stddev = 1 Stddev = 2
  • 50. Calculating probability 50 stddev =1 mean = 0 X = How many stddev from the mean? This is called Z Put Z into spreadsheet = NORMSDIST ( 1 ) which gives 84% P.S.  is mean is stddev
  • 51. … is the same as … 51 stddev =1 mean = 2 X = How many stddev from the mean? This is called Z Put Z into spreadsheet = NORMSDIST ( 1 ) which gives 84% P.S.  is mean is stddev
  • 52. … or take a shortcut! 52 stddev =1 mean = 2 X = In OpenOfficeCalc = NORMSDIST ( 1 ) which gives 84% = NORMDIST ( 3 ; 2 ; 1; 1 ) also gives 84% P.S.  is mean is stddev   X
  • 53. NEVERCALCULATE THE PROBABILITYOF ONE POINT 53 YOU CAN ONLY CALCULATE PROBABILITY OF A REGION
  • 56. Double - Peaked Bell - Shaped Comb Plateau Skewed Truncated Edge - Peaked Isolated - Peaked But data might not be Normal 56
  • 57. Central Limit Theorem The shape of the data doesn’t matter … if you take a large enough sample ( > 30 ) the means of the sample will follow a Normal distribution shape around the mean of the underlying data 57 DEMO
  • 58. Use modified Z-score formula for probabilitythat mean of a sampletakes on certain values 58  is mean is stddevn is sample size Use Z-score formulaif your data follows aNormal distribution
  • 61. Exercises in R Test Data Exercise 4 Employee Expenses Exercise 5 Toll Booth Exercise 6 Cycle World Exercise 9 Chan’s Linen Exercise 10 Stock returns For the brave! Exercise 11 Social Insight Test Exercise 13 Quality Exercise 16 Car production 61