ch 2 excel tutorial

78
Chap 2: Presenting Data in Tables & Charts Excel Tutorial

Upload: zainkhalid

Post on 12-Nov-2014

6.053 views

Category:

Documents


0 download

DESCRIPTION

Chap 2: Presenting Data in Tables & ChartsExcel TutorialAnalysis Tool Pack• In order to obtain Data analysis option (which contains various statistical functions) in your Excel menu you need to install “Analysis Tool Pack” • In order to Install ITP follow the following commandsIn the main menu select Tools/Add-innsIn the Add-inns options Check the first two optionsPress ok. This will add the option of Data Analysis in the Tools menuFrequency DistributionExample 2.12

TRANSCRIPT

Page 1: Ch 2 Excel Tutorial

Chap 2: Presenting Data in Tables & Charts

Excel Tutorial

Page 2: Ch 2 Excel Tutorial

Analysis Tool Pack

• In order to obtain Data analysis option (which contains various statistical functions) in your Excel menu you need to install “Analysis Tool Pack”

• In order to Install ITP follow the following commands

Page 3: Ch 2 Excel Tutorial

In the main menu select

Tools/Add-inns

Page 4: Ch 2 Excel Tutorial

In the Add-inns options Check the first two options

Page 5: Ch 2 Excel Tutorial

Press ok. This will add the option of Data Analysis in the Tools menu

Page 6: Ch 2 Excel Tutorial
Page 7: Ch 2 Excel Tutorial

Frequency Distribution

Page 8: Ch 2 Excel Tutorial

Example 2.12 (pg # 57)• Using Excel to make

• Frequency Distribution

• Percentage Distribution

• Cumulative Percentage Distribution

• Solution:• We take the class interval as 7. Which means

that there will be 7 classes in the frequency distribution of electricity costs during the month of July for the sample of 50 one-bedroom apartments.

Page 9: Ch 2 Excel Tutorial
Page 10: Ch 2 Excel Tutorial
Page 11: Ch 2 Excel Tutorial

=f4 –f5

Page 12: Ch 2 Excel Tutorial
Page 13: Ch 2 Excel Tutorial

Class boundaries will be prepared manually using the drag option according to the interval of 19

Page 14: Ch 2 Excel Tutorial

To find the frequencies select

the frequency column.

Do not select the label !!

Then Press the functions button and choose the

option of

Frequency

Page 15: Ch 2 Excel Tutorial

Select the data array. Costs of electricity bills of 50 houses

(A2:A51)

Page 16: Ch 2 Excel Tutorial

Add the range of upper class boundaries In the bins array .

(H2:H8)

Press ctrl + Shift + Enter

DO NOT PRESS OK !!

Page 17: Ch 2 Excel Tutorial

Frequency Distribution of electricity costs of 50

one-bedroom apartments during the month of July

2001.

Page 18: Ch 2 Excel Tutorial

Calculate the midpoints of the classes by taking

the average of UCB and LCB of each

classM.P of First class= (100.5 + 81.5)/2= 91

Page 19: Ch 2 Excel Tutorial
Page 20: Ch 2 Excel Tutorial

Relative Frequency and

Percentage Distribution

Page 21: Ch 2 Excel Tutorial
Page 22: Ch 2 Excel Tutorial

To calculate the relative frequency we divide the frequency of the class with the total frequency.

For exampleR.F of first class = 4/50 (G3/G$10)We add the dollar sign so that the denominator stays the same when we drag the cursor down

Page 23: Ch 2 Excel Tutorial

Sum of the R.F’s should be equal to 1 or very close to it

Page 24: Ch 2 Excel Tutorial

To calculate the “relative percentages”

we multiply the R.F’s by 100

Page 25: Ch 2 Excel Tutorial

Sum of the Relative Percentages should be

equal to 100

Page 26: Ch 2 Excel Tutorial

Cumulative Percentage Distribution

Page 27: Ch 2 Excel Tutorial

Add another class at the bottom of the classes

Page 28: Ch 2 Excel Tutorial

C.P shows the % of values falling below a particular class. C.P for the first class is 0. For remaining classes it is obtained by adding R.P and C.P of the previous class

Page 29: Ch 2 Excel Tutorial
Page 30: Ch 2 Excel Tutorial

Graphical Presentation of Data

Page 31: Ch 2 Excel Tutorial

• Different graphs and charts are used for the graphical presentation of data. In this demonstration we shall cover

• Histogram

• Percentage Polygons

• Cumulative Percentage Polygon

• Bar Chart

• Pie Chart

• Pareto Diagram

Page 32: Ch 2 Excel Tutorial

For making

• Histogram

• Percentage Polygon

• Cumulative Percentage Polygon

Which are the graphical tools for presenting Quantitative Data

We use example 2.12 on page 57

Page 33: Ch 2 Excel Tutorial
Page 34: Ch 2 Excel Tutorial

Select Tools/data analysis from the main menu

Page 35: Ch 2 Excel Tutorial

Select Histogram from the Data analysis menu

Page 36: Ch 2 Excel Tutorial

Check the chart output check box

PRESS OK

Select the Upper class boundaries as the bin

range

Select the input range as the 50 sample values

Page 37: Ch 2 Excel Tutorial

This is the Histogram for the data but it

requires some adjustments as there

should be no gaps between the bars of the

Histogram

Page 38: Ch 2 Excel Tutorial

Right click on the bars of the Histogram and select the option of Format Data series

Page 39: Ch 2 Excel Tutorial

Select Options and reduce the gap

width to 0

Page 40: Ch 2 Excel Tutorial
Page 41: Ch 2 Excel Tutorial

There is no gap between the bars

now

Page 42: Ch 2 Excel Tutorial

Make other necessary adjustments for better

presentation

Page 43: Ch 2 Excel Tutorial
Page 44: Ch 2 Excel Tutorial

Percentage Polygon is formed by having the midpoint of each class represent the data in that class and then connecting the sequence of midpoints at their respective class percentages.

Page 45: Ch 2 Excel Tutorial

Choose the chart wizard from the main menu. Select line graphs and then select the

first option In the second rowfor making the line graphs

and then click next.

Page 46: Ch 2 Excel Tutorial

Select the relative percentages in the

data range.

Page 47: Ch 2 Excel Tutorial

Select Series option.In Category (X) axis labels enter the mid

points range. Then Click Next

Page 48: Ch 2 Excel Tutorial

Add titles for the X and Y axis series

and the chart titles. Then click finish

Page 49: Ch 2 Excel Tutorial

Enhance the diagram by removing

unwanted labels and using better

coloring.

Optionally, to remove/change

background color, select the graph – right click – select Format Plot Area

Page 50: Ch 2 Excel Tutorial
Page 51: Ch 2 Excel Tutorial

To obtain the Cumulative Percentage Polygon. We repeat the same process

by selecting C.P’s in place of R.P’s

Page 52: Ch 2 Excel Tutorial
Page 53: Ch 2 Excel Tutorial
Page 54: Ch 2 Excel Tutorial

Mid point of the additional class has

also been calculated

Page 55: Ch 2 Excel Tutorial
Page 56: Ch 2 Excel Tutorial

• For the purpose of making• Bar chart • Pie chart

(Used for presenting “Qualitative Data”)• We use the following table (Table 2.7 on page

61 of the book)

Fund Objective No of Funds % of Funds

Growth & Income 26 18.98

International 42 30.66

Mid cap 20 14.6

Small Cap 37 27.01

Technology 12 8.76

Total 137 100

Page 57: Ch 2 Excel Tutorial

From the chart wizard in the menu select the

option of bar chart then click Next

Page 58: Ch 2 Excel Tutorial

In the Data Range select the series (in this case the number of funds in each

category)Then select the Series

option on the top of the window

Page 59: Ch 2 Excel Tutorial

In the category (X) axis labels input the labels range (in this

case the fund objective column).

Then click Next

Page 60: Ch 2 Excel Tutorial

Add the suitable titles and click Next /Finish

Page 61: Ch 2 Excel Tutorial
Page 62: Ch 2 Excel Tutorial

Make necessary changes to make the

chart more presentable.

Page 63: Ch 2 Excel Tutorial

Bar chart can also be made for two or more series. By using other

options in the bar chart menu.

Page 64: Ch 2 Excel Tutorial

In order to make the pie chart select the

option of pie from the chart wizard

Page 65: Ch 2 Excel Tutorial

In the Data Range select the series (in this case percentage of funds in

each category).Then select the Series

option.

Page 66: Ch 2 Excel Tutorial

In Category labels select the label series (in this case the fund

objective). Then click Next

Page 67: Ch 2 Excel Tutorial

Add a suitable title for the chart

Page 68: Ch 2 Excel Tutorial

In the data labels check the options of category name and

percentage or whatever is suitable.

Then click Next

Page 69: Ch 2 Excel Tutorial

Color scheme and other aspects of the

chart can be changed by right clicking on

the chart.

Page 70: Ch 2 Excel Tutorial

• In order to prepare a “Pareto Chart” we use problem 2.29 in the book on page 66.

• Data table is as follows

Reasons for Failure Frequency

Physical Connection 1

Power Failure 3

Sever Software 29

Server Hardware 2

Server out of Memory 32

In adequate Bandwidth 1

Page 71: Ch 2 Excel Tutorial
Page 72: Ch 2 Excel Tutorial

Select PHStat /Descriptive Statistics /One-way

Tables & ChartsFrom the main menu of

PHStat

Page 73: Ch 2 Excel Tutorial

In the types of Data select the table of

frequencies

In the table of Cell Range select the

complete table and check the option of “first row contains

labels”

Check the option of Pareto Diagram and press ok

Page 74: Ch 2 Excel Tutorial

This adds three sheets on the menu of excel work sheet. The sheet named Pareto contains

this Pareto diagram.

Page 75: Ch 2 Excel Tutorial

The one way table shows the necessary calculations. Enhance the table & diagram for

better presentation.Delete the sheet

named “DataCopy”

Pareto diagram and this table shows that 90% of the time failures occur due to

only two reason Server out of Memory

Server Software

Page 76: Ch 2 Excel Tutorial
Page 77: Ch 2 Excel Tutorial
Page 78: Ch 2 Excel Tutorial

Using the same procedure bar chart and

pie chart can also be prepared for the

“Qualitative Data”Using the PHStat menu