Lesson 2
Lesson 2
2.2 TYPES OF DATA To do this, we use Excel’s Sort function, as shown in the
following steps.
Population and Sample Data
Step 1. Select cells A1:F21
- Data can be categorized in several ways based on how they are Step 2. Click the Data tab in the Ribbon
collected and the type collected. In many cases, it is not feasible to Step 3. Click Sort in the Sort & Filter group
collect data from the population of all elements of interest. In such Step 4. Select the check box for My data has headers
instances, we collect data from a subset of the population known as
Step 5. In the first Sort by dropdown menu, select Sales
a sample.
(March 2010)
- A representative sample can be gathered by random Step 6. In the Order dropdown menu, select Largest to
sampling from the population data. Smallest (see Figure 2.4)
Step 7. Click OK
Quantitative and Categorical Data
Now let’s suppose that we are interested only in seeing the
- Data are considered quantitative data if numeric and sales of models made by Toyota. We can do this using
arithmetic operations, such as addition, subtraction, Excel’s Filter function:
multiplication, and division, can be performed on them
Step 1. Select cells A1:F21
- If arithmetic operations cannot be performed on the data, Step 2. Click the Data tab in the Ribbon
they are considered categorical data; Step 3. Click Filter in the Sort & Filter group
Step 4. Click on the Filter Arrow in column B, next to
- We can summarize categorical data by counting the number Manufacturer
of observations or computing the proportions of observations Step 5. If all choices are checked, you can easily deselect all
in each category choices by unchecking (Select All). Then select only the
check box for Toyota.
Cross-Sectional and Time Series Data
Step 6. Click OK
- Cross-sectional data are collected from several entities at
the same, or approximately the same, point in time. We can make all data visible again by clicking on the down
- The data in Table 2.1 are cross-sectional because they describe the 30 arrow in column B and checking (Select All) and clicking OK,
companies that comprise the Dow at the same point in time (July or by clicking Filter in the Sort & Filter Group again from the
2015). Data tab.
Conditional Formatting of Data in Excel
- The result of using the Blue Data Bar Gradient Fill option is
shown in Figure 2.8. Data bars are essentially a bar chart
input into the cells that shows the magnitude of the cell
values.