Presentation is loading. Please wait.

Presentation is loading. Please wait.

Categorical Data! Frequency Table –Records the totals (counts or percentage of observations) for each category. If percentages are shown, it is a relative.

Similar presentations


Presentation on theme: "Categorical Data! Frequency Table –Records the totals (counts or percentage of observations) for each category. If percentages are shown, it is a relative."— Presentation transcript:

1 Categorical Data! Frequency Table –Records the totals (counts or percentage of observations) for each category. If percentages are shown, it is a relative frequency table. Distribution –Shows the possible values of the variable and the relative frequency of each value

2 Types of Graphs Picture –Remember… Bar Chart – counts for comparison

3 Pie Chart – pieces for proportion

4 Segmented Bar Chart

5 Contingency Table Displays counts and sometimes percentages of individuals falling into named categories on two or more variables. Shows how individuals are distributed along each variable contingent on the value of another variable. –Marginal distribution: distribution of either variable by itself (last row or column) –Conditional Distribution: distribution of 1 variable for those individuals satisfying a condition on another variable. Considers a smaller group isolated from the whole.

6 Independence??? Independence…think impact! –Variables are independent (one variable does not influence the value of the other variable) if the conditional distribution of 1 variable is the same for each category of the other.

7 Python Eggs ColdNeutralHot Number of Eggs 2756104 Number hatched 163875 1)What percent of cold eggs hatched? 2)Neutral eggs hatched represent what percent of the total? 3)Are temperature and eggs hatched independent?

8 Smoking by Students & Parents Neither Parent Smokes One Parent Smokes Both Parents Smoke Student Does Not Smoke 116818231380 Student Smokes 188416400

9 Neither Parent Smokes One Parent Smokes Both Parents Smoke Student Does Not Smoke 116818231380 Student Smokes 188416400 4371 1004 1356223917805375 The Marginal Distribution

10 What percent of children have no parent that smokes? Students and both parents that smoke compose what percent of the total? Of 1 parent smokers, what is the percentage of children who smoke?

11 Is student smoking preference independent of parent choice? Neither Parent Smokes One Parent Smokes Both Parents Smoke Student Does Not Smoke 1168 26.72% 1823 41.71% 1380 31.57% Student Smokes 188 18.73% 416 41.4% 400 39.84% 4371 1004 1356223917805375

12 Year Response of families19912001 Both work full time142131 1 full time, 1 part time274244 1 full time, 1 work from home152173 1 full time, 1 homemaker396416 No Opinion51 Is there evidence of a change in working patterns in families???

13 Simpson’s Paradox When averages “pooled” together AND taken across different groups appear to be contradictory. Example: Baseball PlayerOverallvs LHPvs RHP A33/103 (.320)28/81 (.346)5/22 (.227) B45/151 (.298)12/32 (.375)33/119 (.277)

14 #14 StudentStaffTotals American107105 European3312 Asian5547 Totals

15 #15 WhiteMinorityTotals 4-yr college19844 2-yr college366 Military41 Employment143 Other163 Totals


Download ppt "Categorical Data! Frequency Table –Records the totals (counts or percentage of observations) for each category. If percentages are shown, it is a relative."

Similar presentations


Ads by Google