Statistics 100 Lecture Set 6. Re-cap Last day, looked at a variety of plots For categorical variables, most useful plots were bar charts and pie charts.

Slides:



Advertisements
Similar presentations
Describing Quantitative Variables
Advertisements

DESCRIBING DISTRIBUTION NUMERICALLY
Descriptive Measures MARE 250 Dr. Jason Turner.
CHAPTER 1 Exploring Data
MEASURES OF SPREAD – VARIABILITY- DIVERSITY- VARIATION-DISPERSION
Statistics Lecture 2. Last class began Chapter 1 (Section 1.1) Introduced main types of data: Quantitative and Qualitative (or Categorical) Discussed.
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.
CHAPTER 2: Describing Distributions with Numbers
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.
© 2005 The McGraw-Hill Companies, Inc., All Rights Reserved. Chapter 12 Describing Data.
Programming in R Describing Univariate and Multivariate data.
Descriptive Statistics  Summarizing, Simplifying  Useful for comprehending data, and thus making meaningful interpretations, particularly in medium to.
CHAPTER 2: Describing Distributions with Numbers ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
1 Excursions in Modern Mathematics Sixth Edition Peter Tannenbaum.
1 Laugh, and the world laughs with you. Weep and you weep alone.~Shakespeare~
+ Chapter 1: Exploring Data Section 1.3 Describing Quantitative Data with Numbers The Practice of Statistics, 4 th edition - For AP* STARNES, YATES, MOORE.
Chapter 2 Describing Data.
Skewness & Kurtosis: Reference
Categorical vs. Quantitative…
Displaying Quantitative Data Graphically and Describing It Numerically AP Statistics Chapters 4 & 5.
To be given to you next time: Short Project, What do students drive? AP Problems.
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.
Statistics Lecture 3. Last class: types of quantitative variable, histograms, measures of center, percentiles and measures of spread…well, we shall.
+ Chapter 1: Exploring Data Section 1.3 Describing Quantitative Data with Numbers The Practice of Statistics, 4 th edition - For AP* STARNES, YATES, MOORE.
+ Chapter 1: Exploring Data Section 1.3 Describing Quantitative Data with Numbers The Practice of Statistics, 4 th edition - For AP* STARNES, YATES, MOORE.
Plan for Today: Chapter 11: Displaying Distributions with Graphs Chapter 12: Describing Distributions with Numbers.
+ Chapter 1: Exploring Data Section 1.3 Describing Quantitative Data with Numbers The Practice of Statistics, 4 th edition - For AP* STARNES, YATES, MOORE.
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,
Interpreting Categorical and Quantitative Data. Center, Shape, Spread, and unusual occurrences When describing graphs of data, we use central tendencies.
AP Statistics. Chapter 1 Think – Where are you going, and why? Show – Calculate and display. Tell – What have you learned? Without this step, you’re never.
Statistics 270– Lecture 26.
Chapter 1: Exploring Data
Laugh, and the world laughs with you. Weep and you weep alone
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
DAY 3 Sections 1.2 and 1.3.
Topic 5: Exploring Quantitative data
Displaying and Summarizing Quantitative Data
CHAPTER 1 Exploring Data
Chapter 1: Exploring Data
Chapter 1: Exploring Data
Chapter 1: Exploring Data
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
Chapter 1: Exploring Data
CHAPTER 1 Exploring Data
Chapter 1: Exploring Data
Chapter 1: Exploring Data
Chapter 1: Exploring Data
Chapter 1: Exploring Data
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
Chapter 1: Exploring Data
The Five-Number Summary
Probability and Statistics
CHAPTER 1 Exploring Data
Chapter 1: Exploring Data
Chapter 1: Exploring Data
CHAPTER 1 Exploring Data
Advanced Algebra Unit 1 Vocabulary
CHAPTER 1 Exploring Data
Chapter 1: Exploring Data
Chapter 1: Exploring Data
CHAPTER 1 Exploring Data
Chapter 1: Exploring Data
Chapter 1: Exploring Data
Biostatistics Lecture (2).
Presentation transcript:

Statistics 100 Lecture Set 6

Re-cap Last day, looked at a variety of plots For categorical variables, most useful plots were bar charts and pie charts Looked at time plots for quantitative variables Key thing is to be able to quickly make a point using graphical techniques

Re-cap Recall: –A distribution of a variable tells us what values it takes on and how often it takes these values.

Histograms Similar to a bar chart, would like to display main features of an empirical distribution (or data set) Histogram –Essentially a bar chart of values of data –Usually grouped to reduce “jitteriness” of picture –Groups are sometimes called “bins”

Histogram Uses rectangles to show number (or percentage) of values in intervals Y-axis usually displays counts or percentages X-Axis usually shows intervals Rectangles are all the same width

Example (discrete data) In a study of productivity, a large number of authors were classified according to the number of articles they published during a particular period of time.

Example (discrete data)

Example (continuous data) Experiment was conducted to investigate the muzzle velocity of a anti-personnel weapon (King, 1992) Sample of size 16 was taken and the muzzle velocity (MPH) recorded

Constructing a Histogram – continuous data Find minimum and maximum values of the data Divide range of data into non-overlapping intervals of equal length Count number of observations in each interval Height of rectangle is number (or percentage) of observations falling in the interval How many categories?

Example Experiment was conducted to investigate the muzzle velocity of a anti-personnel weapon (King, 1992) Sample of size 16 was taken and the muzzle velocity (MPH) recorded

What are the minimum and maximum values? How do we divide up the range of data? What happens if have too many intervals? Too Few intervals? Suppose have intervals from and In which interval is the data point 250 included?

Histogram of Muzzle Velocity

Interpreting histograms Gives an idea of: –Location of centre of the distribution –How spread are the data –Shape of the distribution Symmetric Skewed left Skewed right Unimodal Bimodal Multimodal –Outliers Striking deviations from the overall pattern

Example – mid-term 1 grades (2011) Was out of 34 + a bonus question (n=344)

Example – mid-term 1 grades (2011) Too many bins?

Example – mid-term 1 grades (2011) Too few bins

Example – mid-term 1 grades (2011) Potential outlier?

Example

Example

Numerical Summaries (Chapter 12) Graphic procedures visually describe data Numerical summaries can quickly capture main features

Measures of Center Have sample of size n from some population, An important feature of a sample is its central value Most common measures of center - Mean & Median

Sample Mean The sample mean is the average of a set of measurements The sample mean:

Sample Median Have a set of n measurements, Median (M) is point in the data that divides the data in half Viewed as the mid-point of the data To compute the median: 1.For sample size “n”, compute position = (n+1)/2 1.If position is a whole number, then M is the value at this position of the sorted data 2.If position falls between two numbers, then M is the value halfway between those two positions in the sorted data

Example Finding the Median, M, when n is odd Example: Data = 7, 19, 4, 23, 18

Muzzle Velocity Example Data (n=16)

Muzzle Velocity Example Mean:

Muzzle Velocity Example Median:

Sample Mean vs. Sample Median Sometimes sample median is better measure of center Sample median less sensitive to unusually large or small values called For symmetric distributions the relative location of the sample mean and median is For skewed distributions the relative locations are

Other Measures of interest Maximum Minimum

Percentiles –A percentile of a distribution is a value that cuts off the stated part of the distribution at or below that value, with the rest at or above that value. 5 th percentile: 5% of distribution is at or below this value and 95% is at or above this value. 25 th percentile: 25% at or below, 75% at or above 50 th percentile: 50% at or below, 50% at or above 75 th percentile: 75% at or below, 25% at or above 90 th percentile: 90% at or below, 10% at or above 99 th percentile: ___% at or below, ___% at or above

Percentiles –Can be applied to a population or to a sample Usually don’t know population –Use sample percentiles to estimate pop. percentiles –Standardized tests often measured in percentiles –Birth statistics often measured in percentiles First daughter –10 th percentile weight –25 th percentile length –95 th percentile head circumference

Important Percentiles First Quartile Second Quartile Third Quartile

Computing the quartiles You know how to compute the median Q 1 = Q 3 =

Example Finding the other quartiles 1.For Q 1, find the median of all values below M. 2.For Q 3, find the median of all values above M. Example: 4, 7, 18, 19, 23, M=18 –Q 1 : –Q 3 : Example: 4, 7, 12, 18, 19, 23, M=15 –Q 1 : –Q 3 :

5 number summary often reported: –Min, Q 1, Q 2 (Median), Q 3, and Max –Summarizes both center and spread –What proportion of data lie between Q 1 and Q 3 ?

Box-Plot Displays 5-number summary graphically Box drawn spanning quartiles Line drawn in box for median Lines extend from box to max. and min values. Some programs draw whiskers only to 1.5*IQR above and below the quartiles

Can compare distributions using side-by-side box-plots What can you see from the plot?

Example - Moisture Uptake There is a need to understand degradation of 3013 containers during long term storage Moisture uptake is considered a key factor in degradation due to corrosion Calcination removes moisture Calcination temperature requirements were written with very pure materials in mind, but the situation has evolved to include less pure materials, e.g. high in salts (Cl salts of particular concern) Calcination temperature may need to be reduced to accommodate salts. An experiment is to be conducted to see how the calcination temperature impacts the mean moisture uptake

Working Example - Moisture Uptake Experiment Procedure: –Two calcination temperatures…wish to compare the mean uptake for each temperature –Have 10 measurements per temperature treatment –The temperature treatments are randomly assigned to canisters Response: Rate of change in moisture uptake in a 48 hour period (maximum time to complete packaging)

Box-Plot

Other Common Measure of Spread: Sample Variance Sample variance of n observations: Units are in squared units of data

Sample Standard Deviation Sample standard deviation of n observations: Has same units as data

Exercise Compute the sample standard deviation and variance for the Muzzle Velocity Example

Comments Variance and standard deviation are most useful when measure of center is As observations become more spread out, s : increases or decreases? Both measures sensitive to outliers 5 number summary is better than the mean and standard deviation for describing (i) skewed distributions; (ii) distributions with outliers

Comments Standard deviation is zero when Measures spread relative to

Empirical Rule –If a distribution is bell-shaped and roughly symmetric, then About 2/3 of data will lie within ±1s of About 95% of data will lie within ±2s of Usually all data will lie within ±3s of –So you can reconstruct a rough picture of the histogram from just two numbers More interpretation of s

Example Mid-term:

Example Empirical rule tells us