1 / 50

Chapter 1

Chapter 1. Categorical versus Measurement Data. Individuals and Variables. Individuals the objects described by a set of data may be people, animals, or things Variable any characteristic of an individual can take different values for different individuals. Variables.

mchaney
Télécharger la présentation

Chapter 1

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. Chapter 1 Categorical versus Measurement Data Chapter 1

  2. Individuals and Variables • Individuals • the objects described by a set of data • may be people, animals, or things • Variable • any characteristic of an individual • can take different values for different individuals Chapter 1

  3. Variables • Categorical (Qualitative) • Places an individual into one of several groups or categories • Quantitative (Measurement) • Takes numerical values for which arithmetic operations such as adding and averaging make sense Chapter 1

  4. Case Study The Effect of Hypnosis on the Immune System reported in Science News, Sept. 4, 1993, p. 153 Chapter 1

  5. Case Study • 65 college students. • 33 easily hypnotized • 32 not easily hypnotized • white blood cell counts measured Chapter 1

  6. Case Study • Students randomly assigned to one of three conditions • subjects hypnotized, given mental exercise • subjects relaxed in sensory deprivation tank • control group (no treatment) Chapter 1

  7. A-Measurement or B-Categorical? • Pre-study white blood cell count • Group assignment • Easy or difficult to achieve hypnotic trance • Post-study white blood cell count Chapter 1

  8. Easy or difficult to achieve hypnotic trance Group assignment Pre-study white blood cell count Post-study white blood cell count Case Study Variables measured categorical quantitative Chapter 1

  9. Case Study Weight Gain Spells Heart Risk for Women “Weight, weight change, and coronary heart disease in women.” W.C. Willett, et. al., vol. 273(6), Journal of the American Medical Association, Feb. 8, 1995. (Reported in Science News, Feb. 4, 1995, p. 108) Chapter 1

  10. Case Study • Study started in 1976 with 115,818 women aged 30 to 55 years and without a history of previous CHD. • Each woman’s weight (body mass) was determined. • Each woman was asked her weight at age 18. Chapter 1

  11. Case Study • The cohort of women were followed for 14 years. • The number of CHD (fatal and nonfatal) cases were counted (1292 cases). Chapter 1

  12. A-Measurement or B-Categorical? • Incidence (count) of coronary heart disease • Family history of heart disease • Weight in 1976 • Smoker or nonsmoker • Age (in 1976) • Weight at age 18 Chapter 1

  13. Age (in 1976) Weight in 1976 Weight at age 18 Incidence of coronary heart disease Smoker or nonsmoker Family history of heart disease Case Study Variables measured quantitative categorical Chapter 1

  14. Distribution • Tells what values a variable takes and how often it takes these values • Can be a table, graph, or function Chapter 1

  15. Displaying Distributions • Categorical variables • Pie charts • Bar graphs • Quantitative variables • Histograms • Stemplots (stem-and-leaf plots) Chapter 1

  16. Class Make-up on First Day Data Table Chapter 1

  17. 11. A-Measurement or B-Categorical? Pie Chart Chapter 1

  18. 12. A-Measurement or B-Categorical? Bar Graph Chapter 1

  19. 13. A-Measurement or B-Categorical?

  20. 14. A-Measurement or B-Categorical? Data Table Chapter 1

  21. 15. A-Measurement or B-Categorical? Pie Chart Chapter 1

  22. 16. A-Measurement or B-Categorical?

  23. 17. A-Measurement or B-Categorical?

  24. 18. A-Measurement or B-Categorical?

  25. 19. A-Measurement or B-Categorical? Bar Graph Chapter 1

  26. 20. A-Measurement or B-Categorical? Chapter 1

  27. The End Chapter 1

  28. Examining the Distribution of Quantitative Data • Overall pattern of graph • Deviations from overall pattern • Shape of the data • Center of the data • Spread of the data (Variation) • Outliers Chapter 1

  29. Shape of the Data • Symmetric • bell shaped • other symmetric shapes • Asymmetric • right skewed • left skewed • Unimodal, bimodal Chapter 1

  30. SymmetricBell-Shaped Chapter 1

  31. SymmetricMound-Shaped Chapter 1

  32. SymmetricUniform Chapter 1

  33. AsymmetricSkewed to the Left Chapter 1

  34. AsymmetricSkewed to the Right Chapter 1

  35. Outliers • Extreme values that fall outside the overall pattern • May occur naturally • May occur due to error in recording • May occur due to error in measuring • Observational unit may be fundamentally different Chapter 1

  36. Histograms • For quantitative variables that take many values • Divide the possible values into class intervals (we will only consider equal widths) • Count how many observations fall in each interval (may change to percents) • Draw picture representing distribution Chapter 1

  37. 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) Chapter 1

  38. Case Study Weight Data Introductory Statistics classSpring, 1997 Virginia Commonwealth University Chapter 1

  39. Weight Data Chapter 1

  40. Weight Data: Frequency Table sqrt(53) = 7.2, or 8 intervals; range (260100=160) / 8 = 20= class width Chapter 1

  41. 100 120 140 160 180 200 220 240 260 280 Weight Data: Histogram Number of students Weight * Left endpoint is included in the group, right endpoint is not. Chapter 1

  42. Stemplots(Stem-and-Leaf Plots) • For quantitative variables • Separate each observation into a stem (first part of the number) and a leaf (the remaining part of the number) • Write the stems in a vertical column; draw a vertical line to the right of the stems • Write each leaf in the row to the right of its stem; order leaves if desired Chapter 1

  43. 1 2 Weight Data Chapter 1

  44. 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 Weight Data:Stemplot(Stem & Leaf Plot) 192 5 152 2 135 Key 20|3 means203 pounds Stems = 10’sLeaves = 1’s 2 Chapter 1

  45. 10 0166 11 009 12 0034578 13 00359 14 08 15 00257 16 555 17 000255 18 000055567 19 245 20 3 21 025 22 0 23 24 25 26 0 Weight Data:Stemplot(Stem & Leaf Plot) Key 20|3 means203 pounds Stems = 10’sLeaves = 1’s Chapter 1

  46. 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. Chapter 1

  47. 151516161717 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”). Chapter 1

  48. 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). Chapter 1

  49. Class Make-up on First Day(Fall Semesters: 1985-1993) Chapter 1

  50. Average Tuition (Public vs. Private) Chapter 1

More Related