graphs & diagrams

35
Graphs & Diagrams

Upload: rohit-janardanan

Post on 18-Jul-2016

17 views

Category:

Documents


0 download

DESCRIPTION

Statistical graphs & diagrams

TRANSCRIPT

Page 1: Graphs & Diagrams

Graphs & Diagrams

Page 2: Graphs & Diagrams

Graphs V/S DiagramsGraphs Diagram

Used for studying the relationship between variable

Used for comparison only

Drawn to a particular scale and proportion using lines and points

Represented using bars rectangles ,squares etc

They are more obvious precise and gives more information about the data

They give only approximate information

They are useful in depicting time series and frequency distribution

Can be used only for depicting categorical variables

Page 3: Graphs & Diagrams

Different Types of diagrams

• Line Diagram

• Bar Diagram• Pie Diagram

Page 4: Graphs & Diagrams

Line diagram

• Simplest of all diagrams

• It Consists of drawing vertical lines, each vertical line being equal to frequency

• ‘X’ values are presented on a suitable scale along the ‘X’ axis, corresponding frequencies are presented along the ‘Y’ axis

Page 5: Graphs & Diagrams

Line diagram

Page 6: Graphs & Diagrams

Bar Diagram• Most commonly used devices of presenting most of

the business and economic data. • Especially satisfactory for categorical data or series.

They consist of a group of rectangles, one for each group or category of the data in which the values or the magnitudes are represented by the length or height of the rectangles, the width of the rectangles being arbitrary and immaterial. These diagrams are one-dimensional because in such diagrams only one

• dimension viz.; height (or length) of the rectangles is taken into account to present the given values.

Page 7: Graphs & Diagrams

Simple Bar Diagram

Page 8: Graphs & Diagrams

Component Bar Diagram

• Subdivided bar-diagrams are useful not only for presenting several items of a variable or a category graphically

• Enables us to make comparative study of different parts or components among themselves and also to study the relationship between each component and the whole.

Page 9: Graphs & Diagrams

Represent the following data by a suitable diagram

Page 10: Graphs & Diagrams

Percentage Bar Diagram• Percentage bar diagram is used to highlight the

relative importance of the various component parts to• whole. The total for each bar is taken as 100 and the

value of each component or part is expressed, percentage of the respective totals. • In a percentage bar diagram, all the bars will be of the

same height, viz., 100, while the various segments of the bar representing the different components will vary

in height depending on their percentage values to the total.

• Percentage bars are quite convenient and useful while comparing two or more sets of data.

Page 11: Graphs & Diagrams

Example:-Percentage Bar Diagram

Page 12: Graphs & Diagrams

Draw a percentage bar diagram torepresent the following data??

Page 13: Graphs & Diagrams

Pie Diagram• The circle representing the total magnitude

may be divided into various segments • Each sectors representing certain proportion

or percentage of the various component parts to the total. Such a sub-divided circle diagram is known as an angular or pie diagram.

• Named so because the various segments resemble slices cut from a pie.

Page 14: Graphs & Diagrams

Pie Diagram

• Draw a circle of appropriate radius.• Draw any radius preferably horizontal one.• Degree of any component part is given by

• Draw a line segment from the centre of the circle at an angle given by the component part.

• Different sectors are represented by different shades and colours.

Page 15: Graphs & Diagrams

Example:-Pie Chart

Page 16: Graphs & Diagrams

Draw a Pie chart for the following three five year plans and compare the

results

Page 17: Graphs & Diagrams

Histogram

• One of the most popular and commonly used graphs for charting continuous frequency distribution.

• It consists in erecting a series of adjacent vertical rectangles on the sections of the horizontal axis (X-axis), with bases (sections) equal to the width of the corresponding class intervals and heights are taken in such a way that it equals to frequencies of the corresponding classes.

Page 18: Graphs & Diagrams

HistogramVariable Frequency

10-20 12

20-30 30

30-40 35

40-50 65

50-60 45

60-70 25

70-80 18

Page 19: Graphs & Diagrams

Histograms with Unequal Class Width

• If all the classes are not uniform throughout; as in case the different classes are represented on the X-axis by sections or bases which are equal the magnitudes of the corresponding classes and the heights of the corresponding rectangles are to be adjusted so that the area of the rectangle is equal to the frequency density of the corresponding class

Page 20: Graphs & Diagrams

Bars are different in width

Page 21: Graphs & Diagrams

Histograms with unequal class interval

• This adjustment can be done by taking the height of each rectangle proportional (equal) to the corresponding frequency density of each class which is obtained on dividing the frequency of the class by its magnitude

FREQUENCY DENSITY = Frequency Class width

Page 22: Graphs & Diagrams

Question:-The frequency distribution of the speeds maintained by vehicles in the

highways are given below..

Speed, kph 0< v ≤40 40< v ≤50 50< v ≤60 60< v ≤90 90< v ≤110

Frequency 80 15 25 90 30

Classes

Draw a histogram for the following data

Page 23: Graphs & Diagrams

Speed, kph 0< v ≤40 40< v ≤50 50< v ≤60 60< v ≤90 90< v ≤110

Frequency 80 15 25 90 30

Frequency Density

Class width 40 10 10 30 20

2.0 1.5 2.5 3.0 1.5

Frequency Densities

Page 24: Graphs & Diagrams

0 4020 60 80 100 120

3.0

2.0

1.0

Freq

Den

s

Speed (kph)

Frequency = Width x Height

Frequency = 40 x 2.0 = 80

Page 25: Graphs & Diagrams

Bar Graph HistogramOne dimensional graph Two dimensional graph

Frequencies represented by the height of the bar

Frequency density given by area of the bars.

Spacing b/w the graphs, discrete

Bars are adjacent to each other, continuous

Can be used only for depicting categorical variables

They are useful in depicting time series and frequency distribution

Difference b/w histograms & bar diagrams

Page 26: Graphs & Diagrams

Frequency Polygon

• Frequency polygon is another method to graphically represent a frequency distribution.

• They can be drawn directly by taking frequencies on Y-axis and midpoints of corresponding classes against X-axis and joining the points by straight lines.

• They can be also draw from histograms by joining the midpoints of each bars of the histogram.

Page 27: Graphs & Diagrams

Discrete Variables Continuous Variables

Frequency Polygon

Page 28: Graphs & Diagrams

Ogive or Cumulative Frequency Curve

• It is a graphical representation of cumulative frequency curve.

• It consists in plotting the c.f (along the Y-axis) against class boundaries (along X-axis).

• we have two types of ogives, (i) 'Less than' ogive. (ii) 'More than' ogive.

Page 29: Graphs & Diagrams

Example: Convert the following less than frequency distribution to more than frequency distribution and draw

both the ogives

Page 30: Graphs & Diagrams

Assignment:- Construct a frequency distribution of the data taking class width of 10 and draw a histogram, frequency polygon and construct both the ogive

curves

6732583765

Page 31: Graphs & Diagrams

Stemplot (Stem-and-Leaf Plot)

• A stem and leaf diagram is a good way to obtain an informative visual display of a data set of numbers which consists of atleast two digits.

• Divide each number into two parts, a stem consisting of one or more of the leading digits, and a leaf, consisting of the remaining digit.

• List the stem values in a vertical column• Write each leaf in the row to the right of its

stem, in increasing order out from the stem.

Page 32: Graphs & Diagrams

Example:-The following data set contains the midtermexam scores of STAT 101.

74 76 78 88 87 87 53 95 82 79 79 78 62 80 77 70 60 60 84 95 85 93 79 84 71 85 100 77 72 95 79 83 97 87 73 84 74 83 85 95 62 50 86 83 86 36

Page 33: Graphs & Diagrams

Stem and leaf diagramA stem-and-leaf display is follows:

3: 64 :5 : 036 : 00227 : 0123446778899998 : 023334445556677789 : 35555710 : 0

Page 34: Graphs & Diagrams

Draw a stem and leaf plot for the following data

Page 35: Graphs & Diagrams

Stem and leaf diagram