Displaying Data Frequency DistributionsFrequency Distributions ◦Athletic Shoe Survey Histograms ◦Capital Credit Union Joint Frequency Distributions ◦Capital Credit Union Joint Relative Frequencies ◦Capital Credit Union More Examples
Displaying Data Bar ChartsBar Charts ◦Bach, Lombard & Wilson Line Charts ◦McGregor Vineyards Scatter DiagramsScatter Diagrams ◦Personal Computers
Frequency Distribution – Athletic Shoe Survey Issue: Analyze the data from a survey of 100 college students regarding the number of Nike shoes they own. Objective: Use Excel 2010 to develop a frequency distribution for the number of Nike shoes owned by college students. Data File is SportShoes.xlsx
Frequency Distribution – Athletic Shoe Survey File contains 100 observations. Last row is 102. Column E contains the Number of Nike Shoes Owned. Open File: SportShoes.xlsx
Frequency Distribution – Athletic Shoe Survey Enter the Possible Values for the Variable: Number of Nikes Owned Select the cells to contain the Frequency values
Frequency Distribution – Athletic Shoe Survey Select the Formulas tab Select Statistical Select FREQUENCY function
Frequency Distribution – Athletic Shoe Survey Enter the range of data Enter the bin range (the cells containing the possible number of shoes) Results are shown here Press Ctrl-Shift-Enter Do not press OK!
Frequency Distribution – Athletic Shoe Survey Frequencies are shown here.
Histograms – Capital Credit Union Issue: Consider Capital Credit Union (CCU) in Mobile, Alabama, which recently began issuing a new credit card. Managers at CCU have been wondering how customers use this card, so a sample of 300 customers was selected. Objective: Use Excel 2010 to develop a histogram for the credit card balances. Use 10 class intervals. Data File is Capital.xlsx
Histograms – Capital Credit Union File contains 300 observations. Last row is 301. Column B contains balances. Open File: Capital.xlsx
Histograms – Capital Credit Union Use Excel’s MAX function to determine the largest value.
Histograms – Capital Credit Union Use Excel’s MIN function to determine the largest value.
Histograms – Capital Credit Union Compute range as Maximum - Minimum Compute class width Divide Range by 10 to construct 10 classes: 1394 / 10 = Round up to 150.0
Histograms – Capital Credit Union Set up an area on the worksheet for the bins and be sure to include a label such as “Bins”
Histograms – Capital Credit Union Select the Data tab Click on Data Analysis Select Histogram
Histograms – Capital Credit Union Input Range specifies the actual data values: Column B Bin Range: Column F Put on a New Worksheet Ply and include Chart Output
Histograms – Capital Credit Union “Bins” title was replaced by “Balances”, and “Frequency” legend was removed.. Excel’s default on a histogram is to include a More category. Remove the More category from the chart. Select the chart, right-click, Select Data, Edit Frequency. In the Edit Series dialog box, change Series Values to $B$11 rather than $B$12.
Histograms – Capital Credit Union Right-click on any of the bars in the Histogram Select Format Data Series
Histograms – Capital Credit Union Set Series Overlap and Gap Width to 0% to format the Histogram as shown
Histograms – Capital Credit Union To put border colors around the bars of the histogram, select Border Color, choose Solid line, select the Color arrow, and choose Dark Blue, Text 2 Theme Color.
Histograms – Capital Credit Union Change the bins categories to , , etc. and delete the More bins and frequency. Change the Histogram title to Credit Card Balances. See next slide for final result.
Histograms – Capital Credit Union
Joint Frequency Distributions – Capital Credit Union Issue: Consider Capital Credit Union (CCU) in Mobile, Alabama, which recently began issuing a new credit card. Managers at CCU have been wondering how customers use this card, so a sample of 300 customers was selected. Analyze the credit card balances by gender of the card holder. Objective: Use Excel 2010 to develop a joint frequency distribution for the credit card balances by gender. Data File is Capital.xlsx
Joint Frequency Distributions – Capital Credit Union File contains 300 observations. Last row is 301. Column B contains balances. Column C contains gender. Open File: Capital.xlsx
Joint Frequency Distributions – Capital Credit Union Select the Insert tab Select Pivot Table Table/Range selected automatically. Select New Worksheet Place cursor anywhere in the data
Joint Frequency Distributions – Capital Credit Union On the Options tab select Options in the Pivot Table group.
Joint Frequency Distributions – Capital Credit Union Select the Display tab and check the Classic Pivot Table layout.
Joint Frequency Distributions – Capital Credit Union Drag Credit Card Account Balance to “Drop Row Fields Here” area.
Joint Frequency Distributions – Capital Credit Union
Right-click in Credit Card Account Balance numbers and click Group.
Joint Frequency Distributions – Capital Credit Union Change: Starting at to 90 Ending at to 1589 By to 150 Drag Gender to “Drop Column Fields Here” area. Drag Credit Card Account Balance to “Drop Value Fields Here” area.
Joint Frequency Distributions – Capital Credit Union
Place cursor in the Data Item area. Right-click. Select Summarize Values By Select Count
Joint Frequency Distributions – Capital Credit Union Completed!
Joint Relative Frequencies – Capital Credit Union Issue: Consider Capital Credit Union (CCU) in Mobile, Alabama, which recently began issuing a new credit card. Managers at CCU have been wondering how customers use this card, so a sample of 300 customers was selected. Objective: Use Excel 2010 to develop a joint relative frequency distribution for the credit card balances by gender. Data File is Capital.xlsx Note: See previous example for Pivot Table Instructions.
Joint Relative Frequencies – Capital Credit Union Right-click anywhere in the values of the pivot table. Select Value Field Settings
Joint Relative Frequencies – Capital Credit Union Click on the down arrow and select % of Grand Total. Select Show values as
Joint Relative Frequencies – Capital Credit Union Data in the pivot table are represented in percentages
Bar Charts – Bach, Lombard & Wilson Issue: Consider Bach, Lombard & Wilson, a New England law firm. Recently, a firm handled a case in which a woman was suing her employer, a major elecronics firm, claiming the company gave a higher starting salaries to men than to women. Objective: Use Excel 2010 to develop bar chart for the starting salary data for males and females. Data File is Bach.xlsx
Bar Charts – Bach, Lombard & Wilson Open File: Bach.xlsx
Bar Charts – Bach, Lombard & Wilson Select the data in columns B and C Select the Insert tab Select Column Select 2-D Paired Column
Bar Charts – Bach, Lombard & Wilson Click on Select Data
Bar Charts – Bach, Lombard & Wilson To change the horizontal axis labels to Years select Edit
Bar Charts – Bach, Lombard & Wilson Select cells A2 through A8 to display years as the labels
Bar Charts – Bach, Lombard & Wilson
Line Charts – McGregor Vineyards Issue: McGregor Vineyards owns and operates a winery in the Sonoma Valley in Northern California At a recent company meeting, the financial manager presented weekly profit and sales data. Objective: Use Excel 2010 to develop line charts to analyze weekly sales and profits. Data File is McGregor.xlsx
Line Charts – McGregor Vineyards File contains 20 weeks of historic data. The last row is 21. Open File: McGregor.xlsx
Line Charts – McGregor Vineyards Select the data in column B Select the Insert tab Select Line Select 2-D Line with Markers sample line chart
Line Charts – McGregor Vineyards Change the title (click the title and replace it with Sales Trend) Delete the legend Sales (dollars) (click the legend and press Delete) Add x-axis and y-axis titles Remove the gridlines
Line Charts – McGregor Vineyards
Repeat the process for Profit
Line Charts – McGregor Vineyards Rebuild the line chart using both Sales and Profit Use Move Chart to move chart to the New sheet
Line Charts – McGregor Vineyards
Improve the scaling. Select Profit Line on graph and right-click. Select Format Data Series.
Line Charts – McGregor Vineyards Select Secondary Axis. Click on Layout and add titles as desired.
Line Charts – McGregor Vineyards
Scatter Diagrams – Personal Computers Issue: A few years ago, we examined various Web sites looking for the best prices on personal computers. We collected data about 13 personal computers prices, processor speed and other characteristics. Objective: Use Excel 2010 to develop a scatter diagram for PC price and processor speed. Data File is Personal Computers.xlsx
Scatter Diagrams – Personal Computers File contains data about 13 PCs. Processor speed is located in Column C, price – in Column G Open File: Personal Computers.xlsx
Scatter Diagrams – Personal Computers Select columns to be used for scatter diagram Select the Insert tab Click Scatter Click Scatter with only Markers
Scatter Diagrams – Personal Computers Use the Design tab to put diagram to a new sheet. Use the Layout tab to add titles and remove grid lines.