1 / 33

Welcome to MATH171!

Welcome to MATH171!. Overview of Syllabus Technology Overview Basic Skills Quiz Start Chapter 1!. Displaying data with graphs. BPS chapter 1. © 2006 W. H. Freeman and Company With Modifications by Dr. M. Leigh Lunsford. What is Statistics?. The Collection and Analysis of Data.

lawrence
Télécharger la présentation

Welcome to MATH171!

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Welcome to MATH171! • Overview of Syllabus • Technology Overview • Basic Skills Quiz • Start Chapter 1!

  2. Displaying data with graphs BPS chapter 1 © 2006 W. H. Freeman and Company With Modifications by Dr. M. Leigh Lunsford

  3. What is Statistics? The Collection and Analysis of Data Statistics is the Science of Learning from Data Sampling and Experimental Design Chapters 8 & 9 Descriptive Statistics (Data Exploration) Chapters 1 - 5 Probability & Sampling Distributions Chapters 10 & 11 Inferential Statistics Chapters 14 - 21

  4. Objectives for Chapter 1 Picturing Distributions with Graphs • Individuals and variables • Two types of data: categorical and quantitative • Ways to chart categorical data: bar graphs and pie charts • Ways to chart quantitative data: histograms and stemplots • Interpreting histograms • Time plots

  5. Individuals and variables (page 3) Individuals are the objects described by a set of data. Individuals may be people, but they may also be animals or things. • Example: Freshmen, 6-week-old babies, golden retrievers, fields of corn, cells A variable is any characteristic of an individual. A variable can take different values for different individuals. • Example: Age, height, blood pressure, ethnicity, leaf length, first language

  6. Two types of variables (page 4) A variable can be either • quantitative • Something that can be counted or measured for each individual and then added, subtracted, averaged, etc., across individuals in the population. • Example: How tall you are, your age, your blood cholesterol level, the number of credit cards you own. OR • categorical • Something that falls into one of several categories. What can be counted is the count or proportion of individuals in each category. • Example: Your blood type (A, B, AB, O), your hair color, your ethnicity, whether you paid income tax last tax year or not.

  7. Example 1.1 (page 4-5) • How do you determine if a variable is categorical or quantitative? • Identify individuals, variables and types of variables.

  8. Ways to graph categorical data Because the variable is categorical, the data in the graph can be ordered any way we want (alphabetical, by increasing value, by year, by personal preference, etc.). • Bar graphsEach category isrepresented by a bar. • Pie chartsUse when you want to emphasize each category’s relation to the whole. Variable Values Variable

  9. Example: Top 10 causes of death in the United States, 2001 How did they get these numbers? For each individual who died in the United States in 2001, we record what was the cause of death. The table above is a summary of that information.

  10. The number of individuals who died of an accident in 2001 is approximately 100,000. Bar graphs Each “value” of the categorical variable is represented by one bar. The bar’s height shows the count (or sometimes the percentage) for that particular category. Top 10 causes of death in the U.S., 2001

  11. Top 10 causes of death in the U.S., 2001 Bar graph sorted by rank  Easy to analyze Sorted alphabetically  Much less useful

  12. Pie charts Each slice represents a piece of one whole. The size of a slice depends on what percent of the whole this category represents. Percent of people dying from top 10 causes of death in the U.S., 2000

  13. Make sure your labels match the data! Make sure all percents add up to 100!! Percent of deaths from top 10 causes Percent of deaths from all causes

  14. Apply Your Knowledge Problem 1.4 • Let’s work Problem 1.4 (page 10) together! • Bar graph (in count & percent) • Pie chart? Number of Babies Born on Each Day of the Week in 2003

  15. Ways to chart quantitative data • Histograms and stemplots These are summary graphs for a single variable. They are very useful to understand the pattern of variability in the data. • Line graphs: time plots Use when there is a meaningful sequence, like time. The line connecting the points helps emphasize any change over time. • Other graphs to reflect numerical summaries (see Chapter 2)

  16. An Example • Suppose we want to determine the following: • What percent of all fifth grade students in our district have an IQ score of at least 120? • What is the average IQ score of all fifth grade students in our district? • It is too expensive to give an IQ test to all fifth grade students in our district. • Below are the IQ test scores from 60 randomly chosen fifth graders in our district. (Individuals (subjects)?, Variable(s)?)

  17. Previews of Coming Attractions! • We are interested in questions about a population (all fifth grade students in our district). • We want to know the percent (or proportion) of the population in a particular category (IQ score of at least 120) and the average value of a variable for the population (average IQ score). • We have taken a random sample from the population. • Eventually we will use the data from the sample to infer about the population. (Inferential Statistics) • For now we will describe the data in the sample. (Descriptive Statistics) • We will graphically represent the IQ scores for our sample (histogram & stem and leaf) • We will find the percent of students in our sample with an average IQ score of at least 120 and understand how that percent relates to the graph. • Later (Chapter 2) we will also be able to describe the data with numerical summaries and other types of plots (boxplots)

  18. STEM LEAVES Stemplots (page 19) How to make a stemplot: • Separate each observation into a stem, consisting of all but the final (rightmost) digit, and a leaf, which is that remaining final digit. Stems may have as many digits as needed, but each leaf contains only a single digit. • Write the stems in a vertical column with the smallest value at the top, and draw a vertical line at the right of this column. • Write each leaf in the row to the right of its stem, in increasing order out from the stem. Let’s try it with this data: 9, 9, 22, 32, 33, 39, 39, 42, 49, 52, 58, 70

  19. Now Let’s Make a Stemplot for Our IQ Data

  20. Stem & Leaf Plot for IQ Data • IQ Test Scores for 60 Randomly Chosen 5th Grade Students

  21. Variable: X = IQ score Frequency Table: BinsFrequencyPercent 80£X<90 3 5.0% 90£X<100 4 6.7% 100£X<110 14 23.3% 110£X<120 17 28.3% 120£X<130 11 18.3% 130£X<140 9 15.0% 140£X<150 2 3.3% totals: 60 99.9% Now Let’s Make a Histogram (pages 10-12) • Use the Same IQ Data • We will start by hand….using class (bin) widths of 10 starting at 80… • Make a Frequency Table for the data:

  22. What is the meaning of this bar? 28.3 Percent of What? 23.3 18.3 15.0 6.7 5.0 3.3 Now Let’s Make a Histogram (pages 10-12) • Use the Same IQ Data • We will start by hand….using class (bin) widths of 10 starting at 80… • Make a Frequency Table for the data:

  23. 18.3%+15%+3.3%=36.6% (11+9+2)/60=.367 or 36.7% Grey Shaded Region corresponds to the 36.6% of students Back to Our Question: • What percent of the 60 randomly chosen fifth grade students have an IQ score of at least 120? • Numerically? • How to Represent Graphically?

  24. Another Histogram of the IQ Data! What is Different From the Histogram we Generated In Class?

  25. How to create a histogram It is an iterative process—try and try again. What bin (class) size should you use? • Not too many bins with either 0 or 1 counts • Not overly summarized that you lose all the information • Not so detailed that it is no longer summary  Rule of thumb: Start with 5 to10 bins. Look at the distribution and refine your bins. (There isn’t a unique or “perfect” solution.)

  26. Not summarized enough Too summarized Same data set GOAL: Capture Overall Pattern

  27. Apply Your Knowledge • Let’s try problem 1.7 (page 14) • What is the difference between a histogram and a bar chart? • See pages 12-13

  28. Interpreting histograms When describing a quantitative variable, we look for the overall pattern and for striking deviations from that pattern. We can describe the overall pattern of a histogram by its shape, center, and spread. Histogram with a line connecting each column  too detailed Histogram with a smoothed curve highlighting the overall pattern of the distribution

  29. Symmetric distribution • A distribution is skewed to the right if the right side of the histogram (side with larger values) extends much farther out than the left side. It is skewed to the left if the left side of the histogram extends much farther out than the right side. Skewed distribution Complex, multimodal distribution • Not all distributions have a simple overall shape, especially when there are few observations. Most common distribution shapes • A distribution is symmetric if the right and left sides of the histogram are approximately mirror images of each other.

  30. Outliers An important kind of deviation is an outlier. Outliersare observations that lie outside the overall pattern of a distribution. Always look for outliers and try to explain them. The overall pattern is fairly symmetric except for two states clearly not belonging to the main trend. Alaska and Florida have unusual representation of the elderly in their population. A large gap in the distribution is typically a sign of an outlier. Alaska Florida

  31. IMPORTANT NOTE:Your data are the way they are. Do not try to force them into a particular shape. It is a common misconception that if you have a large enough data set, the data will eventually turn out nice and symmetrical.

  32. Line graphs: time plots Time always goes on the horizontal, or x, axis. The variable of interest— here “retail price of fresh oranges”—goes on the vertical, or y, axis. This time plot shows a regular pattern of yearly variations. These are seasonal variations in fresh orange pricing most likely due to similar seasonal variations in the production of fresh oranges. There is also an overall upward trend in pricing over time. It could simply be reflecting inflation trends or a more fundamental change in this industry. Let’s Start Problem 1.41 on Page 35….

  33. Scales matter How you stretch the axes and choose your scales can give a different impression. A picture is worth a thousand words, BUTthere is nothing like hard numbers. Look at the scales.

More Related