1 Never let time idle away aimlessly.. 2 Chapters 1, 2: Turning Data into Information Types of data Displaying distributions Describing distributions.

Slides:



Advertisements
Similar presentations
Describing Quantitative Variables
Advertisements

EXPLORING DATA WITH GRAPHS AND NUMERICAL SUMMARIES
1 Chapter 1: Sampling and Descriptive 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.
BPS - 5th Ed. Chapter 21 Describing Distributions with Numbers.
Basic Practice of Statistics - 3rd Edition
Experimental Statistics I.  We use data to answer research questions  What evidence does data provide?  How do I make sense of these numbers without.
CHAPTER 1: Picturing Distributions with Graphs
AP Statistics Day One Syllabus AP Content Outline Estimating Populations and Subpopulations.
Descriptive Statistics  Summarizing, Simplifying  Useful for comprehending data, and thus making meaningful interpretations, particularly in medium to.
Agresti/Franklin Statistics, 1 of 63 Chapter 2 Exploring Data with Graphs and Numerical Summaries Learn …. The Different Types of Data The Use of Graphs.
AP Statistics Chapters 0 & 1 Review. Variables fall into two main categories: A categorical, or qualitative, variable places an individual into one of.
Describing distributions with numbers
Descriptive Statistics  Summarizing, Simplifying  Useful for comprehending data, and thus making meaningful interpretations, particularly in medium to.
Let’s Review for… AP Statistics!!! Chapter 1 Review Frank Cerros Xinlei Du Claire Dubois Ryan Hoshi.
Chapter 1 – Exploring Data YMS Displaying Distributions with Graphs xii-7.
1.1 Displaying Distributions with Graphs
1 Stat 1510 Statistical Thinking & Concepts Describing Distributions with Numbers.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
1 Laugh, and the world laughs with you. Weep and you weep alone.~Shakespeare~
Chapter 2 Describing Data.
1 Chapter 3 Looking at Data: Distributions Introduction 3.1 Displaying Distributions with Graphs Chapter Three Looking At Data: Distributions.
Categorical vs. Quantitative…
Chapter 5: Exploring Data: Distributions Lesson Plan Exploring Data Displaying Distributions: Histograms Interpreting Histograms Displaying Distributions:
BPS - 5th Ed. Chapter 11 Picturing Distributions with Graphs.
1 Picturing Distributions with Graphs Stat 1510 Statistical Thinking & Concepts.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Essential Statistics Chapter 11 Picturing Distributions with Graphs.
Displaying Distributions with Graphs. the science of collecting, analyzing, and drawing conclusions from data.
Chapter 3 Looking at Data: Distributions Chapter Three
1 Chapter 2: Exploring Data with Graphs and Numerical Summaries Section 2.1: What Are the Types of Data?
Essential Statistics Chapter 21 Describing Distributions with Numbers.
Review BPS chapter 1 Picturing Distributions with Graphs What is Statistics ? Individuals and variables Two types of data: categorical and quantitative.
Chapter 2 Describing Distributions with Numbers. Numerical Summaries u Center of the data –mean –median u Variation –range –quartiles (interquartile range)
BPS - 5th Ed. Chapter 21 Describing Distributions with Numbers.
CHAPTER 1 Picturing Distributions with Graphs BPS - 5TH ED. CHAPTER 1 1.
Notes Unit 1 Chapters 2-5 Univariate Data. Statistics is the science of data. A set of data includes information about individuals. This information is.
Chapter 4 Histograms Stem-and-Leaf Dot Plots Measures of Central Tendency Measures of Variation Measures of Position.
+ Chapter 1: Exploring Data Section 1.3 Describing Quantitative Data with Numbers The Practice of Statistics, 4 th edition - For AP* STARNES, YATES, MOORE.
More Univariate Data Quantitative Graphs & Describing Distributions with Numbers.
Descriptive Statistics Unit 6. Variable Any characteristic (data) recorded for the subjects of a study ex. blood pressure, nesting orientation, phytoplankton.
BPS - 5th Ed.Chapter 21 Describing Distributions with Numbers.
1 Take a challenge with time; never let time idles away aimlessly.
Picturing Distributions with Graphs BPS - 5th Ed. 1 Chapter 1.
Class Two Before Class Two Chapter 8: 34, 36, 38, 44, 46 Chapter 9: 28, 48 Chapter 10: 32, 36 Read Chapters 1 & 2 For Class Three: Chapter 1: 24, 30, 32,
1 By maintaining a good heart at every moment, every day is a good day. If we always have good thoughts, then any time, any thing or any location is auspicious.
Chapter 4 Histograms Stem-and-Leaf Dot Plots Measures of Central Tendency Measures of Variation Measures of Position.
UNIT ONE REVIEW Exploring Data.
The rise of statistics Statistics is the science of collecting, organizing and interpreting data. The goal of statistics is to gain understanding from.
Exploratory Data Analysis
Description of Data (Summary and Variability measures)
Laugh, and the world laughs with you. Weep and you weep alone
CHAPTER 1: Picturing Distributions with Graphs
CHAPTER 1: Picturing Distributions with Graphs
DAY 3 Sections 1.2 and 1.3.
Describing Distributions of Data
Displaying Distributions with Graphs
Displaying and Summarizing Quantitative Data
Basic Practice of Statistics - 3rd Edition
Chapter 1: Exploring Data
Basic Practice of Statistics - 3rd Edition
Basic Practice of Statistics - 3rd Edition
CHAPTER 1: Picturing Distributions with Graphs
Honors Statistics Review Chapters 4 - 5
Essential Statistics Describing Distributions with Numbers
Basic Practice of Statistics - 3rd Edition
Chapter 1: Exploring Data
Basic Practice of Statistics - 3rd Edition
Chapter 1: Exploring Data
Chapter 1: Exploring Data
Presentation transcript:

1 Never let time idle away aimlessly.

2 Chapters 1, 2: Turning Data into Information Types of data Displaying distributions Describing distributions

3 What are Data? Any set of data contains information about some group of individuals. The information is organized in variables. Individuals are the objects described by a set of data. Could be animals, people, or things. A variable is any characteristic of an individual. A variable can take different values for different individuals.

4 Population/Sample/Raw Data A population is a collection of all individuals about which information is desired. A sample is a subset of a population. Raw data: information collected but not been processed.

5 Example: A College’s Student Dataset The data set includes data about all currently enrolled students such as their ages, genders, heights, grades, and choices of major. Population/sample/raw data of study? Who? What individuals do the data describe? What? How many variables do the data describe? Give an example of variables.

6 Types of Variables A categorical variable places an individual into one of several groups or categories. A quantitative variable takes numerical values for which arithmetic operations such as adding and averaging make sense. Q. Which variable is categorical ? Quantitative?

7 A variable Categorical/ Qualitative Nominal variable Ordinal variable Numerical/ Quantitative Discrete variable Continuous variable Q: Does “average” make sense? Yes No Yes Q: Is there any natural ordering among categories?Q: Can all possible values be listed down?

8 Two Basic Strategies to Explore Data Begin by examining each variable by itself. Then move on to study the relationship among the variables. Begin with a graph or graphs. Then add numerical summaries of specific aspects of the data.

9 Summarizing Data Goal: to study or estimate the distributions of variables The distribution of a variable tells us what values/categories it takes and how often it takes those values/categories. Displaying distributions of data with graphs Describing distributions of data with numbers

10 A Dataset of CSUEB Students GenderHeight (inches) Weight (pounds) College M Bsns F61.299Bsns F Arts M Arts F Arts F Bsns M Arts M--188Bsns

11 Displaying Distributions of Categorical Variables Calculating these first: Frequency/counts Relative frequency/percentage

12 Displaying Distributions of Categorical Variables Pie charts: good for one variable Bar graphs: good for one or two variables and better than pie charts for ordinal variables Example 1.3 (page 9)

13 YearCountPercent Freshman1841.9% Sophomore1023.3% Junior614.0% Senior920.9% Total % Class Make-up on First Day

14 Pie Chart Class Make-up on First Day

15 Class Make-up on First Day Bar Graph

16 Displaying Distributions of Quantitative Variables Stem-and-leaf plots: good for small to medium datasets Histograms: Similar to bar charts; good for medium to large datasets

17 How to Make a Histogram 1. Break the range of values of a variable into equal-width intervals. Make sure to specify the classes precisely so that each individuals falls into exactly one class. 2. Count the # of individuals in each interval. These counts are called frequencies and the corresponding %’s are called relative frequencies. 3. Draw the histogram: the variable on the horizontal axis and the count (or %) on the vertical axis. *** work on blackboard for height ***

18 Histograms: Class Intervals How many intervals? – One rule is to calculate the square root of the sample size, and round up. Size of intervals? – Divide range of data (max  min) by number of intervals desired, and round to convenient number Pick intervals so each observation can only fall in exactly one interval (no overlap)

19 How to Make a Stemplot 1. Separate each observation into a stem consisting of all but the final (rightmost) digit and a leaf, the final digit. Stems may have as many digits as needed, but each leaf contains only a single digit. Example: height of 68.5  leaf = “5” and the other digit “68” will be the stem

20 How to Make a Stemplot 2. Write the stems in a vertical column with the smallest at the top, and draw a vertical line at the right of this column. 3. Write each leaf in the row to the right of its stem, in increasing order out from the stem.

21 Weight Data: Stemplot (Stem & Leaf Plot) Key 20 | 3 means 203 pounds Stems = 10’s Leaves = 1’s

22 Extended Stem-and-Leaf Plots If there are very few stems (when the data cover only a very small range of values), then we may want to create more stems by splitting the original stems.

23 Extended Stem-and-Leaf Plots Example: if all of the data values were between 150 and 179, then we may choose to use the following stems: Leaves 0-4 would go on each upper stem (first “15”), and leaves 5-9 would go on each lower stem (second “15”).

24 What do We See from the Graphs? Important features we should look for: Overall pattern – Shape – Center (the location data tend to cluster to) – Spread (the spread level of data) Outliers, the values that fall far outside the overall pattern (for quantitative variables only)

25 Overall Pattern—Shape How many peaks, called modes? A distribution with one major peak is called unimodal. Symmetric or skewed? – Symmetric if the large values are mirror images of small values – Skewed to the right if the right tail (large values) is much longer than the left tail (small values) – Skewed to the left if the left tail (small values) is much longer than the right tail (large values) *** Show examples on blackboard. ***

26 Numerical Summaries for Quantitative Variables (Chapter 2) To measure center (location): Mode, Mean and Median To measure spread: Range, Interquartile Range (IQR) and Standard Deviation (SD) Five-number summaries ** show height Outliers ** give a large number for the missing height

27 Mean or Average Traditional measure of center Sum the values and divide by the number of values

28 Median (M) A resistant measure of the data’s center At least half of the ordered values are less than or equal to the median value At least half of the ordered values are greater than or equal to the median value If n is odd, the median is the middle ordered value If n is even, the median is the average of the two middle ordered values

29 Median (M) Location of the median: L(M) = (n+1)/2, where n = sample size. Example: If 25 data values are recorded, the Median would be the (25+1)/2 = 13 th ordered value.

30 Median Example 1 data: Median (M) = 4 Example 2 data: Median = 5 (ave. of 4 and 6) Example 3 data: Median  2 (order the values: 2 4 6, so Median = 4)

31 Comparing the Mean & Median The mean and median of data from a symmetric distribution should be close together. The actual (true) mean and median of a symmetric distribution are exactly the same. In a skewed distribution, the mean is farther out in the long tail than is the median [the mean is ‘pulled’ in the direction of the possible outlier(s)].

32 Question A recent newspaper article in California said that the median price of single-family homes sold in the past year in the local area was $136,000 and the mean price was $149,160. Which do you think is more useful to someone considering the purchase of a home, the median or the mean?

33 Spread, or Variability If all values are the same, then they all equal the mean. There is no variability. Variability exists when some values are different from (above or below) the mean. We will discuss the following measures of spread: range, IQR, and standard deviation

34 Range One way to measure spread is to give the smallest (minimum) and largest (maximum) values in the data set; Range = max  min The range is strongly affected by outliers

35 Quartiles Three numbers which divide the ordered data into four equal sized groups. Q 1 has 25% of the data below it. Q 2 has 50% of the data below it. (Median) Q 3 has 75% of the data below it.

36 Obtaining the Quartiles Order the data. For Q 2, just find the median. For Q 1, look at the lower half of the data values, those to the left of the median location; find the median of this lower half. For Q 3, look at the upper half of the data values, those to the right of the median location; find the median of this upper half.

37 Weight Data: Sorted L(M)=(53+1)/2=27 L(Q 1 )=(26+1)/2=13.5

38 Weight Data: Quartiles Q 1 = Q 2 = 165 (Median) Q 3 = 185

39 Five-Number Summary minimum = 100 Q 1 = M = 165 Q 3 = 185 maximum = 260 Interquartile Range (IQR) = Q 3  Q 1 = 57.5 IQR gives spread of middle 50% of the data

40 Variance and Standard Deviation Recall that variability exists when some values are different from (above or below) the mean. Each data value has an associated deviation from the mean:

41 Deviations what is a typical deviation from the mean? (standard deviation) small values of this typical deviation indicate small variability in the data large values of this typical deviation indicate large variability in the data

42 Variance Find the mean Find the deviation of each value from the mean Square the deviations Sum the squared deviations Divide the sum by n-1 (gives typical squared deviation from mean)

43 Variance Formula

44 Standard Deviation Formula typical deviation from the mean [ standard deviation = square root of the variance ]

45 Variance and Standard Deviation Example from Text Metabolic rates of 7 men (cal./24hr.) :

46 Variance and Standard Deviation Example from Text ObservationsDeviationsSquared deviations  1600 = 192 (192) 2 = 36,  1600 = 66 (66) 2 = 4,  1600 = -238 (-238) 2 = 56,  1600 = 14 (14) 2 =  1600 = -140 (-140) 2 = 19,  1600 = 267 (267) 2 = 71,  1600 = -161 (-161) 2 = 25,921 sum = 0sum = 214,870

47 Variance and Standard Deviation Example from Text

48 More Graphs for Quantitative Variables Boxplots (pages ) ** to show location and spread, and identify outliers Scatterplots ** to see the relationship between two quan. var’s: height vs. weight Time plots ** a special scatterplot; time is the x-axis ** example 1.10, page 23

49 Boxplot Central box spans Q 1 and Q 3. A line in the box marks the median M. Lines extend from the box out to the minimum and maximum.

50 M Weight Data: Boxplot Q1Q1 Q3Q3 minmax Weight

51 Example from Text: Boxplots

52 Identifying Outliers The central box of a boxplot spans Q 1 and Q 3 ; recall that this distance is the Interquartile Range (IQR). We call an observation a suspected outlier if it falls more than 1.5  IQR above the third quartile or below the first quartile.

53 Time Plots A time plot shows behavior over time. Time is always on the horizontal axis, and the variable being measured is on the vertical axis. Look for an overall pattern (trend), and deviations from this trend. Connecting the data points by lines may emphasize this trend. Look for patterns that repeat at known regular intervals (seasonal variations).

54 Class Make-up on First Day (Fall Semesters: )

55 Average Tuition (Public vs. Private)

Graphs for the Relation of Two Variables 1 categorical + 1 quantitative var’s: 2 quantitative var’s: 2 categorical var’s: 56