STA 309 Chapter 2.1 - 2.2: 2.1 - 2.2 Introduction to Categorical Variables
Document Summary
2. 1 - 2. 2 introduction to categorical variables: source: a variable that records where each visitor for an online website comes from, direct: indicates that the customer typed in keen"s web address (url) directly into the browser. Frequency table: records the counts for each of the categories of the variable. Sometimes if the percentages of the categories are added, the total will not be exactly 100%. This discrepancy is due to individual percentages being rounded. The area principle: the area occupies by a part of the graph should correspond to the magnitude of the value it represents. Although the length of each sandal corresponds to the correct number, the impression consumers get is wrong because the entire area of the sandal is perceived, not just the length. The best data displays observes the area principle. Bar chart: displays the distribution of a categorical variable, showing the counts for each category next to each other for easy comparison.