Presentation is loading. Please wait.

Presentation is loading. Please wait.

BPS - 5th Ed. Chapter 11 Categorical versus Measurement Data.

Similar presentations


Presentation on theme: "BPS - 5th Ed. Chapter 11 Categorical versus Measurement Data."— Presentation transcript:

1 BPS - 5th Ed. Chapter 11 Categorical versus Measurement Data

2 BPS - 5th Ed. Chapter 12 Individuals and Variables u Individuals –the objects described by a set of data –may be people, animals, or things u Variable –any characteristic of an individual –can take different values for different individuals

3 BPS - 5th Ed. Chapter 13 Variables u Categorical (Qualitative) –Places an individual into one of several groups or categories u Quantitative (Measurement) –Takes numerical values for which arithmetic operations such as adding and averaging make sense

4 BPS - 5th Ed. Chapter 14 Case Study The Effect of Hypnosis on the Immune System reported in Science News, Sept. 4, 1993, p. 153

5 BPS - 5th Ed. Chapter 15 Case Study u 65 college students. –33 easily hypnotized –32 not easily hypnotized u white blood cell counts measured

6 BPS - 5th Ed. Chapter 16 Case Study u Students randomly assigned to one of three conditions –subjects hypnotized, given mental exercise –subjects relaxed in sensory deprivation tank –control group (no treatment)

7 A-Measurement or B-Categorical? 1. Pre-study white blood cell count 2. Group assignment 3. Easy or difficult to achieve hypnotic trance 4. Post-study white blood cell count BPS - 5th Ed. Chapter 17

8 BPS - 5th Ed. Chapter 18 Case Study Variables measured u Easy or difficult to achieve hypnotic trance u Group assignment u Pre-study white blood cell count u Post-study white blood cell count categorical quantitative

9 BPS - 5th Ed. Chapter 19 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)

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

11 BPS - 5th Ed. Chapter 111 Case Study u The cohort of women were followed for 14 years. u The number of CHD (fatal and nonfatal) cases were counted (1292 cases).

12 A-Measurement or B-Categorical? 5. Incidence (count) of coronary heart disease 6. Family history of heart disease 7. Weight in 1976 8. Smoker or nonsmoker 9. Age (in 1976) 10. Weight at age 18 BPS - 5th Ed. Chapter 112

13 BPS - 5th Ed. Chapter 113 Case Study u Age (in 1976) u Weight in 1976 u Weight at age 18 u Incidence of coronary heart disease u Smoker or nonsmoker u Family history of heart disease quantitative categorical Variables measured

14 BPS - 5th Ed. Chapter 114 Distribution u Tells what values a variable takes and how often it takes these values u Can be a table, graph, or function

15 BPS - 5th Ed. Chapter 115 Displaying Distributions u Categorical variables –Pie charts –Bar graphs u Quantitative variables –Histograms –Stemplots (stem-and-leaf plots)

16 BPS - 5th Ed. Chapter 116 YearCountPercent Freshman1841.9% Sophomore1023.3% Junior614.0% Senior920.9% Total43100.1% Data Table Class Make-up on First Day

17 BPS - 5th Ed. Chapter 117 Pie Chart 11. A-Measurement or B-Categorical?

18 BPS - 5th Ed. Chapter 118 12. A-Measurement or B-Categorical? Bar Graph

19 13. A-Measurement or B-Categorical?

20 BPS - 5th Ed. Chapter 120 14. A-Measurement or B-Categorical? Data Table MaterialWeight (million tons)Percent of total Food scraps25.911.2 % Glass12.85.5 % Metals18.07.8 % Paper, paperboard86.737.4 % Plastics24.710.7 % Rubber, leather, textiles15.86.8 % Wood12.75.5 % Yard trimmings27.711.9 % Other7.53.2 % Total231.9100.0 %

21 BPS - 5th Ed. Chapter 121 15. A-Measurement or B-Categorical? Pie Chart

22 16. A-Measurement or B-Categorical?

23 17. A-Measurement or B-Categorical?

24 18. A-Measurement or B-Categorical?

25 BPS - 5th Ed. Chapter 125 19. A-Measurement or B-Categorical? Bar Graph

26 20. A-Measurement or B-Categorical? kaitlin68.3 s70.3 michelle a70.7 Katrina71.0 megan71.0 Rachel71.3 laquanda71.7 eric72.0 katie72.7 tracy73.0 allie74.0 Q tiffany74.3 kristina74.7 christain76.7 amanda76.7 shannon77.0 latoya81.3 aona84.3 BPS - 5th Ed. Chapter 126

27 The End BPS - 5th Ed. Chapter 127

28 BPS - 5th Ed. Chapter 128 Examining the Distribution of Quantitative Data u Overall pattern of graph u Deviations from overall pattern u Shape of the data u Center of the data u Spread of the data (Variation) u Outliers

29 BPS - 5th Ed. Chapter 129 Shape of the Data u Symmetric –bell shaped –other symmetric shapes u Asymmetric –right skewed –left skewed u Unimodal, bimodal

30 BPS - 5th Ed. Chapter 130 Symmetric Bell-Shaped

31 BPS - 5th Ed. Chapter 131 Symmetric Mound-Shaped

32 BPS - 5th Ed. Chapter 132 Symmetric Uniform

33 BPS - 5th Ed. Chapter 133 Asymmetric Skewed to the Left

34 BPS - 5th Ed. Chapter 134 Asymmetric Skewed to the Right

35 BPS - 5th Ed. Chapter 135 Outliers u 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

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

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

38 BPS - 5th Ed. Chapter 138 Case Study Weight Data Introductory Statistics class Spring, 1997 Virginia Commonwealth University

39 BPS - 5th Ed. Chapter 139 Weight Data

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

41 BPS - 5th Ed. Chapter 141 Weight Data: Histogram 100120140160180200220240260280 Weight * Left endpoint is included in the group, right endpoint is not. Number of students

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

43 BPS - 5th Ed. Chapter 143 Weight Data 1212

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

45 BPS - 5th Ed. Chapter 145 Weight Data: Stemplot (Stem & Leaf Plot) 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 Key 20 | 3 means 203 pounds Stems = 10’s Leaves = 1’s

46 BPS - 5th Ed. Chapter 146 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.

47 BPS - 5th Ed. Chapter 147 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: 15 15 16 16 17 17 Leaves 0-4 would go on each upper stem (first “15”), and leaves 5-9 would go on each lower stem (second “15”).

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

49 BPS - 5th Ed. Chapter 149 Class Make-up on First Day (Fall Semesters: 1985-1993)

50 BPS - 5th Ed. Chapter 150 Average Tuition (Public vs. Private)


Download ppt "BPS - 5th Ed. Chapter 11 Categorical versus Measurement Data."

Similar presentations


Ads by Google