Presentation is loading. Please wait.

Presentation is loading. Please wait.

Welcome to MDM4U (Mathematics of Data Management, University Preparation)

Similar presentations


Presentation on theme: "Welcome to MDM4U (Mathematics of Data Management, University Preparation)"— Presentation transcript:

1 Welcome to MDM4U (Mathematics of Data Management, University Preparation) http://www.wordle.net/

2 1.1 Displaying Data Visually Learning goal:Classify data by type Create appropriate graphs MSIP / Home Learning: p. 11 #2, 3ab, 4, 7, 8

3 Why do we collect data? We learn by observing Collecting data is a systematic method of making observations  Allows others to repeat our observations Good definitions for this chapter at:  http://www.stats.gla.ac.uk/steps/glossary/alphabet.html

4 Types of Data 1) Quantitative – can be represented by a number  a) Discrete Data Data where a fraction/decimal is impossible E.g., Age, Number of siblings, Shoe size  b) Continuous Data Data where fractions/decimals are possible E.g., Weight, Height, Academic average 2) Qualitative – cannot be measured numerically  E.g. Eye colour, Surname, Favourite band

5 Who do we collect data from? Population - the entire group from which we can collect data / draw conclusions  Data does NOT have to be collected from every member! Census – data collected from every member of the pop’n  Data is representative of the population  Can be time-consuming and/or expensive Sample - data collected from some members of the pop’n (min. 10%)  A good sample will be representative of the pop’n  Sampling methods in Ch 2

6 Organizing Data A frequency table is often used to display data, listing the variable and the frequency. What type of data does this table contain? Intervals can’t overlap Use from 3-12 intervals / categories DayNumber of absences Monday 5 Tuesday 4 Wednesday 2 Thursday 0 Friday 8

7 Organizing Data (cont’d) Another useful organizer is a stem and leaf plot. This table represents the following data: 101 103 107 112 114 115 115 121 123 125 127 127 133 134 134 136 137 138 141 144 146 146 146 152 152 154 159 165 167 168 Stem (first 2 digits) Leaf (last digit) 101 3 7 112 4 5 5 121 3 5 7 7 133 4 4 6 7 8 141 4 6 6 6 152 2 4 9 165 7 8

8 Organizing Data (cont’d) What type of data is this? The class interval is the size of the grouping, and is 10 units here  100-109, 110-119, 120-129, etc.  No decimals req’d Stem can have as many numbers as needed A leaf must be recorded each time the number occurs StemLeaf 101 3 7 112 4 5 5 121 3 5 7 7 133 4 4 6 7 8 141 4 6 6 6 152 2 4 9 165 7 8

9 Measures of Central Tendency Used to indicate one value that best represents a group of values Mean (Average)  Add all numbers and divide by the number of values  Affected greatly by outliers (values that are significantly different from the rest) Median  Middle value  Place all values in order and choose middle number  For an even # of values, average the 2 middle ones  Not affected as much by outliers Mode  Most common number  There can be none, one or many modes  Only choice for Qualitative data

10 Displaying Data – Bar Graphs Typically used for qualitative/discrete data Shows how certain categories compare Why are the bars separated? Would it be incorrect if you didn’t separate them? Number of police officers in Crimeville, 1993 to 2001

11 Bar graphs (cont’d) Double bar graph  Compares 2 sets of data Internet use at Redwood Secondary School, by sex, 1995 to 2002 Stacked bar graph  Compares 2 variables  Can be scaled to 100%

12 Displaying Data - Histograms Typically used for Continuous data The bars are attached because the x-axis represents intervals Choice of class interval size (bin width) is important. Why? Want 5-6 intervals

13 Displaying Data –Pie / Circle Graphs A circle divided up to represent the data Shows each category as a % of the whole See p. 8 of the text for an example of creating these by hand

14 Scatter Plot Shows the relationship (correlation) between two numeric variables May show a positive, negative or no correlation Can be modeled by a line or curve of best fit (regression)

15 Line Graph Shows long-term trends over time  e.g. stock price, price of goods, currency

16 Box and Whisker Plot Shows the spread of data Divided into 4 quartiles  Each shows 25% of the data  Do not have to be the same size Based on medians of entire data set, lower and upper half See p. 9 for instructions

17 MSIP / Home Learning p. 11 #2, 3ab, 4, 7, 8

18 Mystery Data Gas prices in the GTA

19 An example… these are prices for Internet service packages find the mean, median and mode State the type of data create a suitable frequency table, stem and leaf plot and graph 13.60 15.60 17.20 16.00 17.50 18.60 18.70 12.20 18.60 15.70 15.30 13.00 16.40 14.30 18.10 18.60 17.60 18.40 19.30 15.60 17.10 18.30 15.20 15.70 17.20 18.10 18.40 12.00 16.40 15.60

20 Answers… Mean = 494.30/30 = 16.48 Median = average of 15 th and 16 th numbers Median = (16.40 + 17.10)/2 = 16.75 Mode = 15.60 and 18.60 Decimals so quantitative and continuous. Given this, a histogram is appropriate

21 1.2 Conclusions and Issues in Two Variable Data Learning goal: Draw conclusions from two-variable graphs Due now: p. 11 #2, 3ab, 4, 7, 8 MSIP / Home Learning Read pp. 16–19 Complete p. 20–24 #1, 4, 9, 11, 14 “Having the data is not enough. [You] have to show it in ways people both enjoy and understand.” - Hans Rosling

22 What conclusions are possible? To draw a conclusion, a number of conditions must apply  Data must address the question  Data must represent the population Census, or representative sample

23 Types of statistical relationships Correlation  two variables appear to be related  i.e., a change in one variable is associated with a change in the other  e.g., salary increases as age increases Causation  a change in one variable is PROVEN to cause a change in the other  requires an in-depth study  e.g., incidence of cancer among smokers  WE WILL NOT DO THIS IN THIS COURSE!!!

24 Case Study – Opinions of school 1 046 students were surveyed The variables were gender, attitude towards school and performance at school.

25 Example 1 – Do female students like school more than male students do?

26 Example 1 – cont’d The majority of females responded that they like school “quite a bit” or “very much” Around half the males responded that they like school “a bit” or less 3 times as many males as females responded that they hate school Since they responded more favorably, the females in this study like school more than males do

27 Example 2 – Is there a correlation between attitude and performance? Larger version on next slide…

28

29 Example 2 – cont’d Most students answered “Very well” when asked how well they were doing in school. There is only one student who selected “Poorly” when asked how well she was doing in school. Of the four students who answered “I hate school,” one claimed he was doing well. It appears that performance correlates with attitude Is 27 out of 1 046 students enough to make a valid inference?

30 Example 3 – Examine all 1046 students

31 Example 3 - cont’d From the data, the following conclusions can be made: All students who responded “Very poorly” also responded “I hate school” or “I don’t like school very much.” A larger proportion of students who responded “Poorly” also responded “I hate school” or “I don’t like school very much. It appears that there is a relationship between attitude and performance. It CANNOT be said that attitude CAUSES performance, or performance CAUSES attitude without an in-depth study.

32 Drawing Conclusions Do females seem more likely to be interested in student government? Does gender appear to have an effect on interest in student government? Is this a correlation? Is it likely that being female causes interest?


Download ppt "Welcome to MDM4U (Mathematics of Data Management, University Preparation)"

Similar presentations


Ads by Google