Docsity

PRACTICAL MANUAL STATISTICAL METHODS, Assignments of Design of Wood Structures

Partial preview of the text

Download PRACTICAL MANUAL STATISTICAL METHODS and more Assignments Design of Wood Structures in PDF only on Docsity!

PRACTICAL MANUAL

STATISTICAL METHODS

( UG COURSE)

Compiled by

DEPARTMENT OF MATHEMATICS AND STATISTICS

Jawaharlal Nehru Krishi Vishwa Vidyalaya,

JABALPUR 482 004

1. Graphical Representation of data

Mujahida Sayyed

Asst. professor (Maths & Stat.), College of Agriculture, JNKVV, Ganjbasoda, 464221(M.P.), India

Email id : [email protected]

Frequency Distribution: A tabular presentation of the data in which the frequencies of values of a

variable are given along with class is called a frequency distribution. Two types of frequency

distribution are available

  1. Discrete Frequency Distribution: A frequency distribution which is formed by distinct

values of a discrete variable eg. 1,2,5 etc.

  1. Continuous Frequency Distribution: A frequency distribution which is formed by distinct

values of a continuous variable eg. 0-10, 10-20, 20-30 etc.

Process: For construction of Discrete Frequency Distribution

Step I. Set the data in ascending order.

Step II. Make a blank table consisting of three columns with the title: Variable, Tally Marks and

Frequency.

Step III. Read off the observations one by one from the data given and for each one record a tally

mark against each observation. In tally marks for each variable fifth frequency is denoted by cutting

the first four frequency from top left to bottom right and then sixth frequency is again by a straight

tally marks and so on.

Step IV. In the end, count all the tally marks in a row and write their number in the frequency

column.

Step V. Write down the total frequency in the last row at the bottom.

Objective : Prepare a discrete frequency distribution from the following data

Kinds of data:

Solution : First arrange the data in ascending order

Prepare a table in the format described above in the process.

Count the numbers by tally method we get the required discrete frequency distribution:

No. of Letters, Variable (X) Tally Marks No. of Words, Frequency(f)

1 │ 1

Total 18

Exclusive Method of Class intervals:

Marks Tally Marks No. of students

Total 20

Conversion of Inclusive series to Exclusive series: To apply any statistical technique (Mean,

Median etc.) , first the inclusive classes should be converted to exclusive classes.

For this purpose we find the difference of

𝑙𝑜𝑤𝑒𝑟 𝑙𝑖𝑚𝑖𝑡 𝑜𝑓 𝑠𝑒𝑐𝑜𝑛𝑑 𝑐𝑙𝑎𝑠𝑠−𝑢𝑝𝑝𝑒𝑟 𝑙𝑖𝑚𝑖𝑡 𝑜𝑓 𝑓𝑖𝑟𝑠𝑡 𝑐𝑙𝑎𝑠𝑠

2

and add

this amount to upper limit of first class and subtract it from the lower limit of next higher class.

In the present example the conversion factor =

𝟏𝟏−𝟏𝟎

𝟐

= 0.5. So we add 0.5 to 1 0 and subtract 0.

from 1 1 and finally get the exclusive classes 1 - 10 .5, 1 0 .5- 20 .5, etc.

Graphical Representation of data:- Graphical Representation is a way of analysing

numerical data. It exhibits the relation between data, ideas, information and concepts in a diagram.

It is easy to understand and it is one of the most important learning strategies. It always depends on

the type of information in a particular domain. There are different types of graphical representation.

Some of them are as follows

  • Bar Diagram – Bar Diagram is used to display the category of data and it compares the

data using solid bars to represent the quantities.

  • Histogram – The graph that uses bars to represent the frequency of numerical data that are

organised into intervals. Since all the intervals are equal and continuous, all the bars have

the same width.

  • Pie diagram – Shows the relationships of the parts of the whole. The circle is considered

with 100% and the categories occupied is represented with that specific percentage like

15%, 56% , etc.

  • Frequency Polygon – It shows the frequency of data on a given number to curve.
  • Frequency curve - Frequency curve is a graph of frequency distribution where the line is

smooth.

Merits of Using Graphs

Some of the merits of using graphs are as follows:

  • The graph is easily understood by everyone without any prior knowledge.
  • It saves time.
  • It allows to relate and compare the data for different time periods
  • It is used in statistics to determine the mean, median and mode for different data, as well as

in interpolation and extrapolation of data.

1. Simple Bar Diagram:

Bar graph is a diagram that uses bars to show comparisons between categories of

data. The bars can be either horizontal or vertical. Bar graphs with vertical bars are sometimes

called vertical bar graphs. A bar graph will have two axes. One axis will describe the types of

categories being compared, and the other will have numerical values that represent the values of the

data. It does not matter which axis is which, but it will determine what bar graph is shown. If the

descriptions are on the horizontal axis, the bars will be oriented vertically, and if the values are

along the horizontal axis, the bars will be oriented horizontally.

Objective : Prepare a simple Bar diagram for the given data:

Kinds of data: Aggregated figures for merchandise export in India for eight years are as

Follows.

Years 1971 1972 1973 1974 1975 1976 1977 1978

Exports (million Rs.) 1962 2174 2419 3024 3852 4688 5555 5112

Solution: Fo r Simple Bar Diagram

Step I: Draw X and Y axis.

Step II: Take year on X axis.

Step III: Take scale of 1000 on Y axis which represent Exports.

Step IV: Draw the equal width bars on X axis.

Results: The above figure shows the Bar diagram.

2. Histogram :

Histogram consists of contiguous (adjoining) boxes. It has both a horizontal axis and a

vertical axis. The horizontal axis is more or less a number line, labelled with what the data

represents. The vertical axis is labelled either frequency or relative frequency (or percent frequency

or probability). The histogram (like the stemplot) can give the shape of the data, the center, and the

spread of the data. The shape of the data refers to the shape of the distribution, whether normal,

0

1000

2000

3000

4000

5000

6000

1971 1972 1973 1974 1975 1976 1977 1978

Export (million Rs.)

Year

Bar Diagram

Export

times the fraction of the data in the category, that is

Angle = (Number in category /Total number in sample (n)) × 360, or we can also express pie

diagram in %.

Objective: Draw a pie chart to display the information.

Kinds of data: A family's weekly expenditure on its house mortgage, food and fuel is as follows:

Expense Rupees

Mortage 300

Food 225

Fuel 75

Solution: Process: Step I: The total weekly expenditure = 300+225+75 = 600Rs.

Step II:

Percentage of weekly expenditure on:

Mortage =

300

600

Food =

225

600

Fuel =

75

600

Step III: To draw a pie chart, divide the circle into 100 percentage parts. Then

allocate the number of percentage parts required for each item.

Result: Above figure shows the pie diagram of the given data.

4. Frequency Polygon:

Frequency polygon are analogous to line graph, and just as line graph make continuous data

visually easy to interpret, so too do frequency polygons. It can also be obtained by joining the mid

points of the class interval on x-axis and their corresponding frequency on y-axis by a straight line.

Step I: Examine the data and decide on the number of intervals and resulting interval size, for both

the x - axis and y - axis.

Step II : The x - axis will show the lower and upper bound for each interval, containing the data

values, whereas the y - axis will represent the frequencies of the values.

Step III: Each data point represents the frequency for each interval.

Step IV: If an interval has three data values in it, the frequency polygon will show a 3 at the upper

endpoint of that interval.

Step V: After choosing the appropriate intervals, begin plotting the data points. After all the points

are plotted, draw line segments to connect them.

Objective: construction of frequency polygon from the frequency table.

Kinds of data:

Frequency Distribution for Calculus Final Test Scores

Lower Bound Upper Bound Mid Value Frequency

Solution:

Result: Above figure shows the frequency polygon diagram of the given data.

5. Frequency curve: The frequency-curve for a distribution can be obtained by drawing a smooth

and free hand curve through the mid-points of the upper sides of the rectangles forming the

histogram.

Result: Above figure shows the frequency curve diagram of the given data.

0

10

20

30

40

50

44.5 54.5 64.5 74.5 84.5 94.5 104.

Measures of Central Tendency

Umesh Singh

Assistant Professor (Statistics), College of Agriculture , Tikamgarh, 472001,India

Email id : [email protected]

According to Professor Bowley, Averages are "statistical constants which enable us to comprehend

in a single effort the significance of the whole." They give us an idea about the concentration of the

values in the central part of the distribution. Plainly speaking, an average of a statistical series is the

value of the variable which is representative of the entire distribution.

The following are the five measures of central tendency that are in common use:

(i) Arithmetic Mean

(ii) Median

(iii) Mode

(iv) Geometric Mean

(v) Harmonic Mean

Requisites for an ideal Measure of Central Tendency

The following are the characteristics to be satisfied by an ideal measure of central tendency

(i) It should be rigidly defined.

(ii) It should be readily comprehensible and easy to calculate.

(iii) It should be based on all the observations.

(iv) It should be suitable for further mathematical treatment.

(v) It should be affected as little as possible by fluctuations of sampling.

(vi) It should not be affected much by extreme values.

1. Arithmetic Mean:

Arithmetic mean of a set of observations is their sum divided by the number of observations.

Arithmetic mean for ungrouped data : The arithmetic mean X of n observations X 1 ,X 2 , X 3.. .,X

n is given by

n

X

n

X X X........... X X

n

i 1

i 1 2 3 n

=

=

Arithmetic mean for grouped data :

In case of frequency distribution, Xi/fi, i = 1, 2, 3, 4,……n, where fi is the frequency of the variable

Xi;

 

  

 = = =

= (^) 

=

=

=

= , f N N

fX

f

fX

f f f......f

fX fX fX........... fX X

n

i 1

i

n

i 1

i i

n

i 1

i

n

i 1

i i

1 2 3 n

1 1 2 2 3 3 n n

In case of grouped or continuous frequency distribution X is taken as the mid-value of the

corresponding class.

Remark. The Greek Capital letter, Σ Sigma, is used to indicate summation of elements in a set or a

sample or a population. It is usually indexed by an index to show how many elements are to be

summed.

Properties or Arithmetic Mean

Property 1. Algebraic sum of the deviations of a set of values from their arithmetic mean is zero. If

Xi / fi, i= 1, 2, ... , n is the frequency distribution, then ( ) 0 ,

1

 −^ =

=

f Xi X

n

i

i X being the mean of

distribution.

Property 2. The sum of the squares of the deviations of a set of values from their arithmetic mean

is always minimum.

Property 3. Mean of the composite series- If Xi, (i = 1, 2, ... , k) are the means of k-component

series of sizes ni ( i = 1, 2, ... , k) respectively, then the mean (^) X of the composite series obtained on

combining the component series is given by the formula:

1 2 3 k

1 1 2 2 3 3 k k

n n n..... n

nX nX nX .......nX X

Objective: Find the arithmetic mean of the following ungrouped data:

Kinds of data : Suppose the data are 10, 7, 11, 9, 9, 10, 7, 9, 12.

Solution: We know that

Arithmetic mean n

X

X

n

i 1

 i

(^) = =

10 + 7 + 11 + 9 + 9 + 10 + 7 + 9 + 12

10

84

9

Objective: Find the arithmetic mean of the following discrete frequency distribution:

Kinds of data:

Xi 2 9 16 35 32 89 95 65 55

fi 8 2 5 7 6 8 9 6 2

Solution –

Xi 2 9 16 35 32 89 95 65 55 Total

fi 8 2 5 7 6 8 9 6 2  =

=

9

i 1

fi 53

fiXi 16 18 80 245 192 712 855 390 110 2618

  1. 39 53

2618

f

fX

X (^) n

i 1

i

n

i 1

i i

= = =

=

=

Objective : Find the arithmetic mean of the following continuous grouped frequency distribution:

Kinds of data:

Xi 0 - 10 10 - 20 20 - 30 30 - 40 40 - 50 50 - 60 60 - 70 70 - 80 80 - 90

fi 8 2 5 7 6 8 9 6 2

Solution –

Class interval Xi (Mid-point) fi fiXi

Total

=

9

i 1

fi (^532355)

Objective: Find the median of the ungrouped data when the number of observations is even.

Kinds of data: The values are 8, 20, 50, 25, 15, 30

Solution – Step 1 Arrange values in ascending order of their magnitude

8, 15, 20, 25, 30, 50

Step 2 the number of observation is even i.e. 6

In case of even number of observation

term 2

n 2 term 2

n

Median

th th

term 2

term 2

Median

th th

( ) ( )

  1. 5 2

3 term 4 term Median

rd th

=

Median for grouped data

In the case of continuous frequency distribution, the class corresponding to the c.f. just greater than

N/2 is called the median class and the value of median is obtained by the following formula:

h f

C

N

Median l *

2

 −

= +

Where l is the lower limit of the median class,

f is the frequency of the median class,

h is the magnitude of the median class,

'C' is cumulative frequency preceding to the median class, and N = ∑fi

Objective: Find the Median of the following discrete grouped frequency distribution:

Kinds of data:

Xi 1 2 3 4 5 6 7 8 9 Total

fi 8 10 11 16 20 25 15 9 6 120

Solution : Here N = ∑fi = 120

→ So, N/2 = 120/2 = 60

Xi 1 2 3 4 5 6 7 8 9 Total

fi 8 10 11 16 20 25 15 9 6 120

C.f. 8 18 29 45 65 90 105 114 120

Cumulative frequency (c.f.) just greater than N/2 value i.e. 65 and the value of X Corresponding to

65 is 5. Therefore, median is 5.

Objective: Find the Median wage of the following continuous grouped frequency distribution

Kinds of data:

Wages (in Rs.) 20 - 30 30 - 40 40 - 50 50 - 60 60 - 70 70 - 80 80 - 90

No. of labours 3 5 20 10 5 7 2

Solution:

Wages (in Rs.) 20 - 30 30 - 40 40 - 50 50 - 60 60 - 70 70 - 80 80 - 90

No. of labours 3 5 20 10 5 7 2

c.f. 3 8 28 38 43 50 52

Here N/2 = 52/2=26. Cumulative frequency just greater than 26 is 28 and corresponding class is 40-50. Thus

median class is 40-50.

Now *h

f

C 2

N

Median l

 −

= +

  • 10 20

8 2

52

Median 40

 −

= +

So, Median wage is Rs 49.

3. Mode

Mode is the value which occurs most frequently in a set of observations and around which the other

items of the set cluster densely. In other words, mode is the value of the variable which is predominant in the

series. Mode is the value which occurs most frequently in a set of observations and around which the other

items of the set cluster densely. In other words, mode is the value of the variable which is predominant in the

series. Thus in the case of discrete frequency distribution mode is the value of X corresponding to maximum

frequency. For example, the mode of {4, 2, 4, 3, 2, 2, 1, and 2} is 2 because it occurs four times, which is

more than any other number. Now look at the following discrete series:

Variable 10 20 30 40 50 55 60 89 94

Frequency 2 3 12 30 25 11 9 7 3

Here, as you can see the maximum frequency is 30, the value of mode is 40. In this case, as there is

a unique value of mode, the data is unimodal. But, the mode is not necessarily unique, unlike arithmetic

mean and median. You can have data with two modes (bi-modal) or more than two modes (multi-modal). It

may be possible that there may be no mode if no value appears more frequent than any other value in the

distribution. For example, in a series 1, 1, 2, 2, 3, 3, 4, 4, there is no mode.

But in anyone (or-more) of the following cases:

(i) If the maximum frequency is repeated,

(ii) If the maximum frequency occurs in the very beginning or at the end of the distribution, and '

(iii) If there are irregularities in the distribution, the value of mode is determined by the method of

grouping. This is illustrated below by an example.

Objective: Find the mode of the following frequency distribution:

Kinds of data:

Size ( X) 1 2 3 4 5 6 7 8 9 10 11 12

Frequency (f) 3 8 15 23 35 40 32 28 20 45 14 6

Solution: Here we see that the distribution is not regular since the frequencies are increasing steadily up to

40 and then decrease but the frequency 45 after 20 does not seem to be consistent with the

distribution. Here we cannot say that since maximum frequency is 45, mode is 10. Here we shall

locate mode by the method of grouping as explained below:

Objective: Find the mode of the following continuous grouped frequency distribution:

Kinds of data:

Class interval 0 - 10 10 - 20 20 - 30 30 - 40 40 - 50 50 - 60 60 - 70 70 - 80

Frequency (f) 5 8 7 12 28 20 10 10

Solution: Here maximum frequency is 28. Thus the class 40-50 is the modal class.

So, l=40, f 1 =28, f 0 =12, f 2 =20, h=10,

*h 2f

Mode l

1 0 2

1 0 

− −

− = + f f

f f

  • 10 56 12 20

28 12 Mode (^40)  

  

− −

− = +^ =40+ 6.667= 46.

4. Geometric Mean (GM)

The Geometric mean of a set of n observation is the n

th root of their product.

Geometric mean for grouped data-

The geometric mean G of n observations xi, i=1,2,3….n is

n G = ( x 1. x 2 x 3 ....... xn

This can be written as

n G x xx xn

1 / =( 1. 2 3 ....... )

G  x x x xn ^ n

1

log =log 1 .log 2 .log 3 ..........log

Taking log in both sides

 x x x x n 

n

G log log log ................log

log = 1 + 2 + 3

=

n

i 1

logxi n

logG

=

n

i 1

logxi n

G Antilog

Geometric mean for grouped data-

In the case of grouped or continuous frequency distribution, X is taken to be the value corresponding

to the mid-point of the class-intervals.

In case of frequency distribution Xi / fi., (i = 1. 2 ...., n) geometric mean, G is given by

 ^ N

f n

f f f n G x x x x

1

1.^2. 3 ..........

1 2 3 = , where N = ∑fi.

Taking logarithm of both sides, we get

 f x f x f x fn x n 

N

G log log log ................ log

log = 1 1 + 2 2 + 3 3 +

=

n

i

fi xi N

G

1

log

log

Thus we see that logarithm of G is the arithmetic mean of the logarithms of the given values.

So 

=

n

i

fi xi N

G Anti

1

log

log

Objective: Calculate Geometric mean from the following data: 3,13,11,15,5,4,

Solution: In this example number of observation n=7, by definition of geometric mean

G= (3.13.11.15.5.4.2)

1/

x x x x nn

G log log log ................log

log = 1 + 2 + 3

 log 3 log 13 log 11 ................ log 2  7

log G = + + + +

0.4771 1. 1139 1. 0413 1. 1760 0. 6989 0. 6020 0. 3010  7

log G = + + + + + +

[ 5. 4106 ]

log G =

log G =0.

So, G = Anti log( 0.772944)=5.

Objective: Calculate Geometric mean from the following continuous grouped frequency data:

Kinds of data:

Solution: We know that in case of Grouped data

=

n

i

fi xi N

G

1

log

log

Calculations are given below in the table

Class Interval Frequency Mid Values Xi log Xi fi log Xi

0 - 10 1 5 0.69 0.

10 - 20 3 15 1.17 3.

20 - 30 4 25 1.39 5.

30 - (^40 2 35) 1.54 3.

Total (^10) 12.

After substituting the values in the formula, we get logG=

  1. 91

10

= 1.

Hence GM=Antilog(1.29)=19.

5. Harmonic Mean. Harmonic mean of a number of observations is the reciprocal of the arithmetic mean of

the reciprocals of the given values.

Mean for ungrouped data:

The, harmonic mean H, of n observations Xi, i = 1, 2,….., n is given by

=

n

ni xi

H

1

Harmonic Mean for grouped data:

In case of frequency distribution Xi / fi, i = 1, 2,….., n is

Class Interval 0 - 10 10 - 20 20 - 30 30 - 40 Total

Frequency 1 3 4 2 10