Tuesday, October 9

Introduction to Statistics Examples


The study of data is called Statistics.  Collections of observation of an individual or a number of individuals is called data.

Collection of data:  There are two types of data namely Primary data and Secondary data.

Primary Data:  The data which is collected by the investigator with a definite object for his own purpose is called Primary Data.

Secondary Data:  The data which is collected by someone other than the investigator is called Secondary Data.

Statistics Examples: Measures of Central Tendency

Measures of Central Tendency:

A numerical value which represents approximately the entire statistical data is called Measures of Central Tendency of the given data.

The different ways of measuring central tendency of a statistical data are

Mean,  Median  and  Mode.

Statistics Examples: Mean

Mean :

The mean of a set of data is the same as finding average.

Mean = `(Sum of all observations )/(Total Number of Observations)`

`Mean of ungrouped data:`

` Mean = ``sum_(i = 1)^n` `f_(i)` `x_(i)`
                ------------------------------
                   `sum_(i = 1)^n` `f_(i)`

Ex :

Find the mean of the following data:

x f
25 25
35 20
45 15
55 15
75 10

Solution:

Construct another tabe:

x f fx
25 25 625
35 20 700
45 15 675
55 15 825
75 10 750
85 3575

` Mean = ``sum_(i = 1)^n` `f_(i)` `x_(i)`
                 ---------------------------------
                    `sum_(i = 1)^n` `f_(i)`

Mean =  `sum`fx /  `sum`f
=3575 / 85
=42.06

Statistics Examples: Median

Median for Raw data:

Arrange the set of datas in ascending or descending order.  The middle most value is the Median.

Rule 1:  If n is odd, the median = `(n + 1)/(2)` th term

Rule 2 :  If n is even, there are two middle terms ie `(n)/(2)`  th term and  `(n)/(2)` + 1 th term.

In this case , the arithmetic mean of these two terms is the median.

Median =     `(n)/(2)`  th term  +  `(n)/(2)` + 1 th term
                        ----------------------------------------
                                                  2

Ex 1:
Find the median of 6, 7, 2, 5 and 10

Sol:
Arrange the given datas in ascending or descending order:
2, 5, 6, 7, 10
Here n= 5 ( odd number)
Median =  `(n + 1)/(2)` th term =  `(5 + 1)/(2)` th term
=   `(6)/(2)` th term
=  3 rd term
=   6

Ex 2:
Find the median of : 6, 11, 15, 7, 19, 8, 4, 10

Sol :
Arrange the given datas in ascending or descending order:
4, 6, 7, 8, 10, 11, 15, 19
Here n = 8 ( even)
Median =    `(n)/(2)`  th term  +  `(n)/(2)` + 1 th term
                     ----------------------------------------
                                              2

Median  =   `(8)/(2)`  th term  +  `(8)/(2)` + 1 th term
                     ----------------------------------------
                                             2

Median  =   `(4th term + 5th term)/(2)`
 = ``(8 + 10)/(2)`
= 18 / 2
= 9

Statistics Examples : Mode

Mode:  Mode is the repeated value of the given data

Ex: Find the mode for the given data:  34, 56, 21, 56, 71, 98, 22, 56

Sol: In the given data 56 is repeated thrice.  So the mode is 56.
Mode for tabulated data:

Number  7 8 9 10 11 12 13 14 15
Frequency 3 7 11 14 13 17 12 8 6

Sol:  Since the frequency of number 12 is maximum
Mode = 12

Friday, October 5

Continuity of a function


Limit of a function can be found from the graph of that function, besides other methods. Some of the graphs are continuous. So what is continuity?  That means they can be drawn without lifting pencil from the paper. See some examples below:

The functions that all the above graphs represent are continuous. Now look at the following graphs:




 All the above graphs are not continuous or discontinuous as they cannot be drawn without lifting the pencil from the paper. With this understanding now let us try to define continuity.

Definition of continuity:
If the domain of a real function f contains an interval containing a and if lim (x->a) f(x) exists and lim (x->a) f(x) = f(a), then we say that f is continuous at x = a.

Thus, if lim (x->a+) f(x), lim (x->a-) f(x) and f(a) all exist and are equal, the f is said to be continuous at x = a.

If f is not continuous at x = a, we say that it is discontinuous at x = a.

(1) In the following picture, x is not defined at x = 2. Therefore f is discontinuous at x = 2.

(2) In the following picture, f(-1) is defined, but the left hand limit and the right hand limit at x = -1 are not equal. So the function is discontinuous at x = -1


(3) The above picture, at x = 1, both left and right hand limits exist and are equal but the limit of the function is not equal to f(1) so the function is again discontinuous at the point x = 1.
In simple words we can state continuity as follows:
A function is said to be continuous at any point x = a if the following three conditions are met:
(a) f(a) exists
(b) lim (x->a-) f(x) = lim (x->a+) f(x) = lim(x->a) f(x)
(c) quantities in (a) and (b) are equal.
If any of the above conditions is not met, we say that the function is discontinuous at the point x = a.

Wednesday, October 3

Mean median and mode


What is mean, median and mode?
In many statistical situations, like the distribution of weight, height, marks, profit, wages and so on, it has been noted that starting with rather low frequency, the class frequency gradually increases till it reaches its maximum somewhere near the central part of the distribution and after which the class frequency steadily falls to its minimum value towards the end. Thus, the central tendency may be defined as the tendency of a given set of observations to cluster around a single central or middle value and the single value that best represents the given set of observations is called the measure of central tendency.  Mean, median and mode are all measures of central tendency.

Define mean, median and mode:
Mean: The average value of a set of data is called the mean. If x1,x2, x3, …. Xn are n values of a given variable then the mean value, represented by μ, would be sum of these x values divided by n.
Median: The middle value of a data set is called the median. It is represented by ‘Me’.
Mode: In a data set of various values of a variable, the number that occurs maximum number of times is called the mode. In other words the value with maximum frequency is called the mode.

How do you do mean median and mode?
Mean median and mode problems usually involve calculating mean median and mode. That can be done using the following formulas:
Mean = μ = [∑xi]/n
Median = Me = middle value obtained after arranging the values in ascending order.
Mode = Mo = the value that occurs most number of times or the value with maximum frequency.

Solved example: Find the mean, median and mode of the following numbers: 5, 4, 5, 5, 6, 7, 8, 9, 6, 8
Solution:
Mean = μ = [∑xi]/n = [5+4+5+5+6+7+8+9+6+8]/10 = 63/10 = 6.3
Median: Firs arrange the data in ascending order. So we have:
4, 5, 5, 5, 6, 6, 7, 8, 8, 9. The two middle numbers are 6 and 6. The average of these numbers is (6+6)/2 = 6. Therefore,
Me = 6
Mode: The number that occurs most number of times is 5. Therefore,
Mo = 5