AGB Unit
AGB Unit
1
TABULATION OF DATA
The data generated in most of the studies are voluminous and massive and it becomes
necessary for the researcher to arrange the same in some kind of concise and logical order for the
viewers to draw some inferences. This process is called as tabulation Tabulation is a process of
presenting the collected and classified data in a comprehensive way containing all the desired
information about the data. There are essentially seven parts for a scientific table. They are as
follows
1
4. The headings and stubs should be clear
5. Groups must be tabulated either in descending or ascending order of magnitude
6. If certain observations are not included, the reasons for the same must be given
7. If rates or proportions are presented the actual number should be provided in
parenthesis
8. The range of classes should contain entire data and the classes should be continuous
Example No.1
In a survey of 45 families, the number of cows per family was recorded
8,1,0,2,3,4,5,6,7,2,3,4,0,2,5,8,4,5,10,6,3,2,7,6,5,3,3,7,8,9,7,9,4,5,4,3,1,1,4,4,4,4,5,5,6
Represent the above data in the form of a discrete frequency distribution
Example No.2
Classify the following data of daily milk production of 30 cows in a continuous frequency
distribution with equal class intervals of 10 using exclusive method:
11 27 30 14 30 04 25 16 18 33 47 37 18 14 20
25 10 18 09 39 14 29 20 25 29 15 22 20 29 29
Example No.3
The body weights of 100 Gir calves of 10 months of age are recorded as follows. Prepare a
frequency distribution considering the variable as continuous. Form less than and greater than
cumulative frequencies.
233 208 206 300 271 304 207 254 262 231 279 228 287 223 247 292 209 273 194 268 263 262
234 277 291 277 256 271 255 299 278 290 259 251 265 316 318 252 216 221 249 204 241 249
289 211 273 241 215 264 216 271 216 196 269 231 272 236 219 212 320 245 263 244 239 227
275 255 292 246 245 255 229 240 262 291 275 272 218 317 251 257 227 222 266 227 255 251
208 255 266 255 214 204 272 230 224 250 255 284
2
PRACTICAL No. 2
Arithmetic mean
Median
Find out N / 2
Find out N / 2
Where,
3
f is the frequency of median class and
Mode
Grouped frequency distribution = Determine the modal class as the class with maximum
frequency.
Where,
Geometric mean
Harmonic mean
4
Relationship between measures
Example No.1
Calculate the arithmetic mean, median, mode, geometric mean and harmonic mean of the rectal
temperature of 10 Jaffarabadi buffaloes provided
99.4 99.6 98.8 99.4 99.3 99.4 99.7 99.2 99.3 99.2
Example No.2
Calculate the arithmetic mean, mode and median of the following body weights of Patanwadi
sheep (kg): 60 50 40 80 90 80 60 70 60 30 80 90 60 50 70 20 51 25 42 52
Example No.3
Calculate the arithmetic mean, median, mode, geometric mean and harmonic mean of body
weights of Jersey cows in a farm
Frequency 10 14 17 24 21 14
Example No.4
Given the mean and median wages of employees of two companies are Rs.500 and 496
rupees Find the mode value of the wages.
*************
5
PRACTICAL No. 3
MEASURES OF DISPERSION
The averages are representatives of a frequency distribution. But they fail to give a
complete picture of the distribution. They do not tell anything about the scatterness of observations
within the distribution
In general two types of measures of dispersion are present. Those which are measured in
units of the observation are known as absolute measures of dispersion and those which are
expressed as ratios or percentages are known as relative measures of dispersion.
Range: The difference between the largest and the smallest scores/values in the data set
Relative measure of range is known as coefficient of range and is given by the formula
Mean deviation: The mean deviation is the sum of the absolute values of the deviations from the
mean divided by the number of items, (i.e., the sum of the frequencies).
6
Standard deviation: If we take the positive square root of the variance, we obtain the root mean
square deviation or simply called standard deviation.
Variance: If we square the deviations from the mean and then take their sum. If we divide this
sum by the number of observations (i.e., the sum of the frequencies), we obtain the average of
deviations, which is called variance. Variance is usually denoted by …….2.
Data Variance
Coefficient of variation
7
If we want to compare the variability of two or more series, we can use C.V. The series
or groups of data for which the C.V. is greater indicate that the group is more variable, less stable,
less uniform, less consistent or less homogeneous. If the C.V. is less, it indicates that the group is
less variable or more stable or more uniform or more consistent or more homogeneous
Standard error
Where l is the lower limit of ith quartile class, ∑f is the total frequency, h is the magnitude of ith
quartile class, f is the frequency of ith quartile class and C is the cumulative frequency of class
preceding ith quartile class.
Example No. 1
Calculate Mean deviation and Standard deviation from the following discrete series
Marks (X) 20 30 40 50 60 70
Frequencies (Y) 8 12 20 10 6 4
8
Example No. 2
A survey was conducted on commercial farms of Gujarat in twelve districts. The numbers of farms
with more than 500 breedable cows are enlisted below. Find out range, quartile deviation, mean
deviation, standard deviation, variance, standard error and coefficient of variation of the data.
Name of
TVM KLM APY KTM IDI PTH EKM TCR PGT KOZ MLP KAN
District
Number 7 6 5 5 6 4 8 7 9 4 3 2
of farms
Example No.3
A study was conducted in Anand district to study the adult body weight of does. The information
is compiled and provided below. Find out range, quartile deviation, mean deviation, standard
deviation, variance, standard error and coefficient of variation of the data.
25-30 26
30-35 23
35-40 13
40-45 8
Example No. 4
The body weight of 20 calves is given below. Calculate the different measures of dispersion from
the available data.
260 260 230 280 290 280 260 270 260 300 280 290 260 250 270 320 320 250 320 220
Example No. 5
The number of eggs laid per month in a sample of 40 hens are shown below:
30 23 26 27 29 25 27 24 28 26 26 26 30 26 25 29 26 23 26 30 25 28 24 26 27 25 25 28 27 28 26
30 26 25 28 28 24 27 27 29
********
9
PRACTICAL No. 4
Graphical representation can be used for both the educated section and uneducated
section of the society. Furthermore, any hidden trend present in the given data can be
noticed only in this mode of representation. In all the diagrams and graphs, the groups or
classes are represented on the x-axis and the volumes or frequencies are represented in the
y-axis. There are many different graph types to choose from and a critical issue is to ensure
that the graph type selected is the most appropriate for the data.. Some important types of
graphs are as follows :
Histogram:
Histograms are a special form of bar chart where the data represent continuous rather than
discrete categories. A histogram is a graphical display of data using bars of different heights
it is a set of vertical bars drawn over each class interval whose areas are proportional to the
frequencies.
Construction of a Histogram Instructions for drawing a histogram can be listed in several
steps:
1. Calculate the range: (Range = maximum – minimum value)
2. Divide the range into five to 20 classes, depending on the number of observations. The
class width is obtained by rounding the result up to an integer number. The lowest class
boundary must be defined below the minimum value, the highest class boundary must be
defined above the maximum value.
3. For each class, count the number of observations belonging to that class. This is the true
frequency.
10
4. The relative frequency is calculated by dividing the true frequency by the total number
of observations: (Relative frequency = true frequency / total number of observations).
5. The histogram is a column (or bar) graph with class boundaries defined on one axis and
frequencies on the other axis.
Example No.1
The units of cows in a dairy farm for 2002, 2003, 2004, 2005, 2006, 2007 and 2008 are 5,
8, 9, 6, 12, 15 and 24 respectively. Represent these data using a suitable diagram.
Example No 2:
Construct a histogram for the 14 -month weights (kg) of 100 Gir calves:
233 208 306 300 271 304 207 254 262 231 279 228 287 223 247 292 209 303 194 268 263
262 234 277 291 277 256 271 255 299 278 290 259 251 265 316 318 252 316 221 249 304
241 249 289 211 273 241 215 264 216 271 296 196 269 231 272 236 219 312 320 245 263
244 239 227 275 255 292 246 245 255 329 240 262 291 275 272 218 317 251 257 327 222
266 227 255 251 298 255 266 255 214 304 272 230 224 250 255 284
Example No.3
Draw the frequency polygon for the following data
Class Interval 10-20 20-30 30-40 40-50 50-60 60-70 70-80 80-90
Frequency 4 6 8 10 12 14 7 5
********
11
PRACTICAL No. 5
CORRELATION AND REGRESSION
When comparing two different variables, two questions come to mind: “Is there a
relationship between two variables?” and “How strong is that relationship?” These questions can
be answered using regression and correlation. Regression answers whether there is a relationship
(again this book will explore linear only) and correlation answers how strong the linear relationship
is.
Correlation
Two variables are said to be correlated if change in one variable is accompanied by change
in the other variable.
The coefficient of correlation measures the strength of the linear relationship between two
variables.
A positive r means that larger values of X are associated with, on average, larger values
of Y. A negative r means that large X values and small Y values tend to appear together.
r XY = Cov XY / ( σ X σ Y )
12
Where X and Y are the values for the two variables and N is the number of pairs of observations
Rank Correlation
Regression
Linear regression uses a line to predict a response numerical variable (Y) from a numerical
explanatory variable (X)
The regression line will take the form Y = a + b X. a is the intercept (where the line crosses
the axis at X = 0), and b is the slope of this regression line.
b Y.X = Cov XY / ( σ2 X )
13
Where,
Y is the dependent variable,
X is the independent variable and
Regression coefficient is ‘b Y.X’.
Once the coefficient of regression is known the dependent variable can be
expressed as a function of independent variable
Where Y is the dependent variable, X is the independent variable and the regression
coefficient is ‘b’.
Example No.1
Is there a linear association between weight and heart girth in this herd of cows? Weight was
measured in kg and heart girth in cm on 10 cows.
Weight (y): 641 620 633 651 640 666 650 688 680 670
Heart girth (x) 205 212 213 216 216 217 218 219 221 226
Example No.2
Calculate the coefficient of correlation from the data on 10 farm families ranked according to their
size of holding and standard of living as given below.
Rank of farm 1 2 3 4 5 6 7 8 9 10
size
Rank of living 5 6 4 8 9 10 2 3 4 1
standard
Example No. 3
Calculate the coefficient of correlation using the methods of concurrent deviation between supply
and demand of a commodity from the following data for past ten years
Year 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007
Supply 125 160 164 174 155 170 165 162 172 175
Demand 115 125 192 10 165 174 124 127 152 169
14
Example No. 4
From a farm, 36 sheep were selected at random. The weight of sheep (x) and the length of wool
fibre (y) of the selected animal were recorded. The results are given in the Table. Fit a regression
line of Y on X. Estimate the length of wool for the sheep weighing 30 kgs.
The weight of sheep in kgs (x) and the length of wool fibre in cm (y) of farm as follows:
y x y x y x
*******
15
PRACTICAL NO. 6
PROBABILITY
The word probability is used to indicate the likelihood that some event will happen. For
example, ‘there is high probability that it will rain tonight’. We can conclude this according to some
signs, observations or measurements
Probability of an event is defined as the ratio of number of favorable cases for that event
to the total number of equally likely cases. For example, we throw a die once and observe the result.
If there are ‘N’ equally likely ways in which an event can occur and if ‘n’ is the number of
ways in which the desired event can occur, and then probability of occurrence of the desired event
is n / N.
Permutations
Each different arrangement that can be made from a given number of things by taking part
or all of them at a time is called permutations
From a set of n elements, the number of ways those n elements can be rearranged, i.e., put in
different orders, is the permutations of n elements:
Pn = n!
The symbol n! (Factorial of n) denotes the product of all natural numbers from 1 to n:
Illustration: In how many ways can three animals, x, y and z, be arranged in triplets?
The six possible triplets: xyz xzy yxz yzx zxy zyx
More generally, we can define permutations of n elements taken r at a time in particular order as
n
Pr = n! / ( n-r)!
16
Combinations
Each different arrangement that can be made from a given number of things by taking part
or all of them without regard to order of arrangement is called combination.
n
Cr = r!* nPr = n! / r! ( n-r)!
Theorems of probability
1. Addition theorem
2. The addition principle says that the probability of either of two mutually exclusive events
is the probability of the first event plus the probability of the second event:
Pr[A or B] = Pr[A] + Pr[B] .
3. Multiplication theorem
The multiplication principle says that the probability of two events both occurring - if the two
events are independent -- is the probability of the first times the probability of the second: Pr[A and
B] = Pr[A] Pr[B].
If ‘p’ is the probability of occurrence of an event, the probability that it will occur in exactly x out
of n cases is nCr*qn-x px .
4. Baye’s theorem
Where P ( B/A) is the probability of occurenceof B if A has occurred, P (BA) is the probability
of occurrence of A and B together and P (A) is the probability of occurrence of A.
Example No.1
One card is drawn from a standard pack of 52 cards. What is the probability that it is either king
or queen?
17
Example No. 2
Two card are drawn from a deck of well shuffled cards. What is probability that both the extracted
cards are aces when i)the first card drawn is not replaced ii) when the first card drawn is replaced
Example No. 3
A bag contains 5 white and 3 black balls. Two balls are drawn at random one after the other without
replacement. Find the probability that both balls drawn are black.
Example No. 4
A farmer got the information that two of his cow had calved. What is the probability that (1) both
calves are females
Example No. 5
A farmer has 2 Soviet Chinchilla (SC) and 4 Newzealand White (NW) rabbits in one cage and 3
Newzealand White and 5 Soviet Chinchilla rabbits in another cage. If one rabbit is selected at
random from each cage, what is the probability that
Example No. 6
In a pen there are 10 calves: 2 black, 3 red and 5 spotted. They are let out one at the tim
in completely random order. Find the following probabilities: a) the first calf is spotted,
b) the first calf is either black or red, c) the second calf is black if the first was spotted, d)
the first calf is spotted and the second black, e) the first two calves are spotted and black,
regardless of order.
*****
18
PRACTICAL NO. 7
Theoretical Distributions
The following are some popular theoretical distributions
1. Binomial 2. Poisson 3. Normal
Normal distribution
The normal distribution was given by Abraham Demovre in 1733 and aletr by laplace in
1812. It is limiting form of binomial distribution when n is very large and neither p nor q
is very small.
Characteristics of the Normal distribution
1. It is Continuous Symmetric, bell shape
2. The maximum point of the normal curve occurs at mean. Hence the mean, median
and mode coincide
3. Since there is only one maximum point, the normal curve is unimodal
4. The areas under curve is distributed as follows
The interval µ ± 1σ covers the middle ∼ 68% of the distribution.
The interval µ ± 2σ covers the middle ∼ 95% of the distribution.
The interval µ ± 3σ covers the middle ∼ 100% of the distribution.
Example 1:
The heights of persons are normally distributed with mean 6.14 feet and standard
deviation 0.025 feet. Determine the percentage of height
a) Between 6.10 and 6.18 feet
b) Greater than 6.17 feet
c) Less than 6.08 feet
Example 2:
In a normal distribution 31 percent of the items are under 45 and 8 percent are over 64.
Find the mean and standard deviation of the distribution.
*******
19
PRACTICAL NO. 8
TESTS OF SIGNIFICANCE- Z TEST and ‘t’ TEST
The data collected from studies or experiments are to be analyzed. In animal experimental
data, the results of experimentation like mean, and proportions obtained may vary from sample to
sample or from sample to population. The significance of these differences or variations is to be
tested. Hence some assumptions are formed from the information collected. The assumption about
a phenomenon in a population is known as hypothesis. Tests of significance are the battery of
statistical methods used to test a hypothesis. A test of significance is a formal procedure for
comparing observed data with a claim (also called a hypothesis), the truth of which is being
assessed.
The null hypothesis is usually an assumption of unchanged state. For example, the H0 states
that there is no difference between some characteristics, for example means or variances of two
populations. This is denoted by H0. The alternative hypothesis, H1, describes a changed state or
existence of a difference. The alternative is one-sided if it states that a parameter is larger or
smaller than the null hypothesis value. It is two-sided if it states that the parameter is different
from the null value (it could be either smaller or larger). The research hypothesis can be
postulated as two possibilities: there is a difference or there is no difference if null hypothesis is
rejected, alternate hypothesis will be accepted. In other words a procedure is adopted to choose
between the null hypothesis and alternate hypothesis by applying appropriate statistical technique.
In general statistical tests can be divided into parametric tests which depends on parameters
of population and non parametric which require fewer assumptions about a population or
probability distribution and are applicable to wider range of situations.
Examples for parametric tests are Z test. T test, regression, correlation etc. Examples for
nonparametric tests are chi-square test, Spearman’s’ rank correlation coefficient etc. In general
parametric tests are more flexible and more powerful than non parametric tests.
Though there is no demarcation between large and small samples, it is normally assumed that a
sample which exceed 30 is considered a large sample
20
Z test
The Z test is other wise known as large sample test and is used for samples of sizes more than
30. Six conditions have to be satisfied for using z test.
Step 4. Compare the computed value with the critical values from the table. If calculated value is
more than table value reject the null hypothesis and accept the alternate hypothesis. Other wise
accept the null hypothesis.
Comparison of a sample mean and population mean is a common problem of concern. In order to
test whether the sample can be regarded as drawn from a normal population, the procedure of test
of significance of difference between sample mean and population mean is considered
21
The numerator is the difference between sample mean and population mean and the denominator
is the standard error of population. If the standard deviation of the population is not known, the
sample standard deviation is taken as the population standard deviation with the assumption that
random sample and population is likely to have same standard deviation.
Example No.1
Mean weight of a sample of 400 pigs was found to be 69.76 kg. Can it be concluded that the sample
is from a pig breeding station with a population average of 71.21 kg and standard deviation 1.6 kg?
Example No. 2
Given a sample of 50 cows with an arithmetic mean for lactation milk yield of 4000 kg,
does this herd belong to a population with a mean µ0 = 3600 kg and a standard deviation σ
= 1000 kg?
Case II. Test of significance for difference between two sample means
In order to test whether two samples can be regarded as drawn from the same normal population
the procedure of test of significance of difference between two sample means is considered below
The numerator is the difference between the two sample means and the denominator is the square
root of sum of the ratios of variances with respective number of observations.
Example No.3:
In a comparative study on body weights of Saannen X Malabari and Alpine X Malabari crosses,
the body weights at 6 months of age were recorded as 16.22 kg for Saanen X Malabari crosses with
variance 2.13 and 14.16 kg with a variance of 1.62 for Alpine X Malabari crosses. If number of
animals recorded were 82 and 61 respectively find out if there is any significant difference between
the body weights of kids with reference to their genetic group.
22
Example No.4:
From the following data of ear heads of Pusa 4 wheat on two samples of 400 each taken
in two seasons, test the significance of difference of means of two samples
Year Number of ear heads Mean(X) length SD (sigma) of length
(N) of ear heads of ear heads (cm)
(cm)
The numerator is the difference between the two sample means and the denominator is the sum of
standard errors of the two samples.
Example No.5:
If 30% morbidity is expected for sunstroke in pigs exposed to direct sunlight and it was found that
out of 160 sows fed with an anti-stress agent and exposed to sunlight 43 of them had the disease.
Find out if there is any significant effect of the drug on sunstroke.
The numerator is the difference between the two proportions and the denominator is the sum of
ratios of product of proportions with respective number of observations
23
Example No.6:
In a study conducted to find out the presence of tassels in Surti goats, 52 animals of a flock of
129 showed the tassels in Surat panchayath where as in Baroda, it was 46 out of 116. Find out
if there is any difference between the proportions goats with tassels in Surat and Baroda.
‘t’- test
If number of observations is small in a sample, the standard errors estimated from sample
standard deviation will be subjected to sampling variation. Estimation of standard error will be
inconsistent from sample to sample and will both be accurate. Hence probability based on normal
distribution will not be correct.
In 1908 Student derived a new distribution and test statistic calculated based on this
distribution are known as‘t’. The‘t’ statistics is calculated as the ratio of difference between two
means to standard error of the difference.
Step 4. Compare the computed value with the critical values from the table. If calculated
value is more than table value reject the null hypothesis and accept the alternate hypothesis. Other
wise accept the null hypothesis.
24
Case I. Test of significance for a sample mean
The numerator is the difference between sample mean and population mean and the denominator
is the standard error of population. If the standard deviation of the population is not known, the
sample standard deviation is taken as the population standard deviation with the assumption that
random sample and population is likely to have same standard deviation.
Example No. 1:
The data are lactation milk yields of 10 cows. Is the arithmetic mean of the sample, 3800kg
significantly different from 4000 kg? The sample standard deviation is 500 kg.
Example No.2:
A random sample of size 16 has mean 53 and sum of squares of the deviation from mean as 135.
Can this sample be regarded as drawn from the population having mean =56? Obtain the 95%
confidence limits of the population mean (Given t0.05=2.13 for 15 df)
Example No.3
A random sample of 10 cows, selected from a large population gave the following data on life time
milk production. The population mean is 4 kg
Si No 1 2 3 4 5 6 7 8 9 10
Production 4.2 4.6 3.9 4.1 5.2 3.8 3.9 4.3 4.4 5.6
(0000 lt)
Case II. Test of significance for difference between two sample means
25
The numerator is the difference between the two sample means and in the denominator, s2 is the
variance of the population, n1 & n2 number of observations of the two samples. If the two samples
are from different populations,
s12 & s22 are standard deviations of the two samples with number of observations n1 & n2
Example No.4
Peak yields of 11 cows from shed number 1 and 10 cows of shed number 2 of University Livestock
Farm, Junagadh are given below. Test whether there is any significant difference between peak
yields of cows of Shed no 1 and Shed no 2.
Shed 1 11 12 7 9 8 7 8 10 9 11 12
Shed 2 10 10 7 8 8 9 7 8 10 11
Example No. 5: Five cows of Gir breed were given type A fodder and 7 cows were given type B
fodder respectively. Their daily milk production were recorded as follows
Fodder A 10 12 13 11 14
Fodder B 8 9 12 14 15 10 9
Case III. Paired ‘t’ test of significance for difference between two sample means
26
The numerator is the average of difference between the paired observations and in the
denominator s is the variance of difference between the paired observations, n is number of
pairs of observations.
2
s = ∑ ( d –(∑d /n)) / ( n-1)
Example No.6
The litter sizes of 10 sows in two successive litters are provided below. Find out if there is any
significant difference between first and second litter sizes.
Sow No 1 2 3 4 5 6 7 8 9 10
First 8 9 12 13 14 12 15 13 12 9
Second 8 8 11 14 15 13 12 12 12 9
Example No. 7 Ten students were given a test in statistics. They were given a month’s coaching
and another test as held at the end of it .Can we conclude that the student have been benefitted by
the extra coaching
Sr. No. 1 2 3 4 5 6 7 8 9 10
1st test 10 13 15 10 18 17 8 7 12 9
2nd test 12 12 17 12 14 16 16 12 12 18
Case IV. Test of significance for difference between two sample means of two populations
The numerator is the difference between the two sample means and the denominator is the square
root of sum of the ratios of variances with respective number of observations.
27
t tab =
Where t1 & t2 are the table values of‘t’ for samples variances s12 and s22 with n1 & n2 number of
Example No.8
If the first lactation milk yield of Gir cows at CBF farm Junagadh was 2876 kg with standard
deviation 196 kg (21) and that of Cattle farm at Porbandar was 2756 with standard deviation of 213
kg (27). Find out if there is any significant differences between the first lactation milk yields of Gir
cows at Junagadh and Porbandar farm.
*******
28
PRACTICAL NO. 9
χ2 test
χ2 is pronounced as Kye squared. Unlike z test and t-test, chi-square test is a nonparametric
test and is not based on any assumption of distribution of any variable; χ2 test is used when data
consists of nominal or ordinal variables rather than quantitative variables.
Application
Two important aspects of chi-square test are that it must be calculated on actual number and not on
proportions or percentages. It is only a test of significance and is not a measure of association.
Hence larger χ2 values does not be interpreted as greater association.
Procedure
Step 4. Compare the computed value with the critical values from the table. If calculated value is
more than table value reject the null hypothesis and accept the alternate hypothesis. Other wise
accept the null hypothesis.
29
Example No. 1
In a flock of goats there were 100 male and 120 female kids, of them 90 females and 40 males
were polled. Check whether sex of the kid influences the horns.
Example No. 2
The expected ratio of red, roan and white Shorthorns if red and white short horns are mated is 1: 2:
1. If a herd of red Shorthorn cows where inseminated with semen of a white short horn bull, and if
there were 39 white, 18 red and 52 roan calves, check whether there is any deviation from expected
ratio.
Example No. 3
Five hundred one digit numbers were chosen at random from a set of random tables and their
frequencies are given below:
Digits 0 1 2 3 4 5 6 7 8 9
Frequency 43 47 53 45 57 52 39 58 50 56
Test whether the digits were equally distributed in the tables from which they were chosen
Example No. 4
The distribution of number of inseminations per cow in a sample of 330 cows in a farm
follows Poisson distribution as given below:
No of inseminations 0 1 2 3 4 5 6 7 8 9 10
F test
F-tests are statistical tests using F distribution under a null hypothesis through the
comparison of the ratio of two variances .Comparisons of sample variances are done through
variance ratio rest.. The higher variance is taken on numerator and the lower variance is taken on
denominator. The F-test was devised as an extension to the Z-test: F is equal to the squared
value of t (t2 = F).
30
Assumptions
Where s12 and s22 are variances of two sample populations of with n1 & n2 observations respectively.
Step 4. Compare the computed value with the critical values from the F table for with n1-1 & n2-
1 degrees of freedom at the required level of significance. If calculated value is more than table
value reject the null hypothesis and accept the alternate hypothesis. Other wise accept the null
hypothesis.
Example No. 1
The variances of the body weight of two samples of pigs of 19 and 25 numbers were estimated as
46.3 and 59.1. Test whether there is any significant difference between the variances.
Example No. 2
Two random samples of 9 Gir and 11 Kankeraj cows drawn from two normal populations have the
following milk yield in a week
Gir 66 67 75 76 82 84 88 90 92 - -
Kankeraj 64 66 74 78 82 85 87 92 93 95 97
31
Example No. 3
In one sample of 8 observations the sum of the squares of deviations of the sample values from the
sample mean was 84.4 and in the other sample of 10 observation it was 102. 6. Test whether this
difference is significant at 5 % level.
*******
32
PRACTICAL NO. 10
ANALYSIS OF VARIANCE
We have seen how to test for a difference in two means, using a 2 sample t-test. But what if we
want to test to see if there are differences in a set of more than two means? The tool for doing this
is called ANOVA. The basics principles of analysis of variance (ANOVA) is to partition the total
variation present in a set of observations to a number of non negative components attributable to
different independent causes. With ANOVA, we compare average “between group” variance to
average “within group” variance. f the average amount of variation between the groups is
substantially larger than the average amount of variation within the groups, then the true group
means likely differ. If not, then we cannot rule out that they are equal.
Assumptions
1. The observations are that of whole population or a randomly selected sample and are
continuous.
2. Distribution is normal
3. The groups are independent of one another
4. Variance in different groups are similar
5. Sample sizes should be equal in two way classification and should not differ widely in one
way classification
6. The experimental errors are normally and independently distributed with mean zero
7. Effectors of different factors are additive
Applications
33
6. Find out sum squares due to blocks for two way analysis BSS = ∑Bi2/ n2- CF
7. Estimate error sum of squares ESS = CTSS- SST For one way classification
ESS = CTSS- (SST+ BSS) For two way classification
Source of Degrees of
Sum of squares Mean sum of squares F value
variation (S.V.) freedom
EMSS = ESS /
Error (m-1) ( n-1) ESS
(m-1) ( n-1)
Compare the computed value with the critical values from the ‘F’ table. If calculated value is more
than table value reject the null hypothesis and accept the alternate hypothesis. Other wise accept
the null hypothesis.
Example No.1
The birth weight of calves of Gir, Tharparkar, and Dangi cattle are provided below. Test whether
there is any significant difference between birth weights of these calves.
34
1 2 3 4 5 6 7 8 9 10 11 12
Gir 8.9 9.2 11.2 8.8 8.4 9.1 6.3 9.3 7.8 8.8 10 9.7
Tharparkar 11.6 10.3 10 11.5 11.8 11.8 12.1 10.8 11.9 10.7 11.5
Dangi 9.8 9.7 11.5 11.6 10.8 9.1 10.5 10 12.4 10.7
Example No.2 The type of birth of kids and their body weights at the time of weaning of three
genetic groups of goats were recorded. Find out if there is any significant effect of genetic groups
or type of birth on weaning weight of kids.
*******
35
PRACTICAL NO. 11
DESIGN OF EXPERIMENTS
Introduction
Treatment
What we apply on the subject of investigation is called treatment. e.g. Application of feed to
animals ,application of fertilizer to agricultural plot, etc.
The individual or group of individuals that will be subjected to a treatment is called the
experimental unit and the collection of such units will be experimental material.
Response
Outcome of an experiment. i.e. the treatment effect available from the experimental units.
Experimental error
It is the unit-to-unit variation within the same treatment group. This is a measure of variation due
to uncontrollable causes. It describes the failure of two identically treated experimental units to
yield identical results.
In completely randomized design (CRD), there is no local control applied, while in randomized
block design (RBD) local control is applied in one direction with one criterion and in Latin square
design (LSD) in two directions with two criteria.
This is simplest of all experimental designs. This is the design in which the treatments are assigned
completely at random to the experimental units or vice versa. i.e. it imposes no restrictions on the
allocation of treatments to the experimental units. CRD is preferred when all the experimental units
considered for the experiment are known to be homogeneous. As the design is highly flexible and
simple, the CRD is widely used. Analysis is simple, even if certain values are missing.
Stepwise Procedure
36
Step 1
Step 2
Step 3
TrSS = TrMS/(t-
Treatments (t-1) Tr SS Tr MS/EMS
1)
Step 4
Interpretation
• If calculated F< table value of F for (t-1), (N-1)d.f. at 5% level, F is not significant. H0 is
accepted. All the treatments are alike.
• If calculated F> tab F for (t-1), (N-1)d.f. at 5% level F is significant.F=( )*. Ho is rejected.
37
• Iif calculated F> tab F for (t-1), (N-1) d.f at 1% level F is highly significant. F=( )**. Ho is
rejected.
• If F is significant or highly significant, critical difference between treatment means is to be
worked out.
Critical difference between any two treatment means is defined as the least significant difference
between any two treatments means; to be exceeded by the difference between two treatments
means to declare them as significantly different.
Critical difference between any two = Standard error of the difference between the
treatment means at 5% level treatment means x table value of ‘t’ for error
d.f. at 5% level.
Critical difference between any two = Standard error of the difference between the
treatment means at 1% level treatment means x table value of ‘t’ for error
d.f. at 1% level.
• After this, write treatment means Tr1,Tr2….Trn in the ascending order of magnitude. Bar
chart representation will be done to show the significant differences among the
treatments.
Note
38
• Critical difference between any two x table 't' for error d.f. at 5% or 1% level treatment
means at 5% or 1% level
Example No.1:
The 4 diets were fed to 5 chickens each and weight gains are given below. Analyze the data and
test the difference of diets.
• In this design, we make use of the principle of local control with the idea of reducing the
variability due to experimental error.
• First we arrange the experimental units into homogeneous blocks such that within the
blocks, the experimental units are as far as possible homogeneous and between the blocks
there is variability.
• This design can be made use of when the experimenter finds that the available experimental
units can be grouped into different homogeneous blocks each containing units as many as
the number of treatments or as a multiple of the number of treatments.
• The blocking has to be done on the basis of any observable character, which is likely to
have influence over the factor under study.
• For e.g. in the study of comparative effects on weight gain in chicks, the chicks may be
grouped according to strains. If we are to conduct a Randomised Block Design to try ‘t’
treatments, we need `bt' number of experimental units, where b = number of blocks and t
= number of treatments.
• Each block is a replication by itself and number of replication = number of blocks = b. This
is the restriction in the case of RBD. RBD is an equi-replicated design.
RBD is a better design than CRD, as this will have greater precision of the estimates and greater
efficiency of the designs.
39
Stepwise Procedure
Step 2
Step 3
40
Step 4
Interpretation
• If calculated F< table value of F for (t-1),(b-1)(t-1) d.f. at 5% level, F is not significant. H0 is
accepted. All the treatments are alike.
• If calculated F> tab F for (t-1),(b-1)(t-1) d.f. at 5% level F is significant=( )*. Ho is
rejected.
• If calculated F> tab F for (t-1),(b-1)(t-1) d.f at 1% level F is highly significant =( )**. Ho is
rejected.
Example No.2
In an experiment to study the effect of 4 rations A,B,C,D on daily milk yield of cows, 20 cows
under 1st lactation and belonging to 5 different breeds were taken and allotted to 4 rations in RBD
with breeds as block. The increase in milk yield in a 2 months period is given below:
Breed/Diet A B C D
Kangayam 20 15 10 25
Sindhi 45 50 65 35
Tharparker 40 45 40 42
Sahiwal 60 65 80 55
Ongole 25 30 35 20
Carry out analysis of variance and judge whether the ration are significantly different in
increasing daily milk yield of cow.
*******
41
PRACTICAL NO. 12
COMPUTER: BASICS AND COMPONENTS
The internal architectural design of computers differs from one system model to another. However,
the basic organization remains the same for all computer systems. The basic components of
computer are as follows:
✓ Input Unit
✓ Output Unit
✓ Storage Unit
✓ Central Processing Unit (CPU)
✓ Arithmetic and Logic Unit (ALU)
✓ Control Unit
Input Unit: Data and instructions must enter the computer system before any computation can be
performed on the supplied data. The input unit that links the external environment with the
computer system performs this task. Data and instructions enter input units in forms that depend
upon the particular device used. For example, data is entered from a keyboard in a manner similar
to typing, and this differs from the way in which data is entered through a mouse, which is another
type of input device. All input devices must provide a computer with data that are transformed into
the binary codes that the primary memory of the computer is designed to accept. Input devices
include key board and mouse.
• Key board
The keyboards are having usually 104 keys and the important functions of different keys are as
follows
Key Function
Alpha numeric Regular typing, some functions can also be assigned to them
keys
42
Tab Move cursor normally 5 characters at a time along a line
Shift If pressed simultaneously with a key upper case symbols are produced
Ctrl,Alt Input special specific messages when used with other keys
Pg Up, Pg Dn Move the cursor half page up or half page down respectively
Home, End Used to move the cursor to beginning of page or end of page
• Mouse
The motion of mouse sends signal and it moves the cursor.
The other input devices include scanner, light pen, tracker, Joysticks, voice etc
Storage Unit:
The data and instructions that are entered into the computer system through input units
have to be stored inside the computer before the actual processing starts. Similarly, the
results produced by the computer after processing must also be kept somewhere inside the
computer system before being passed on to the output units. Moreover, the intermediate
results produced by the computer must also be preserved for ongoing processing.
The Storage Unit or the primary / main storage of a computer system is designed to do
43
all these things. It provides space for storing data and instructions, space for intermediate
results and also space for the final results.
44
multiplication, division over data received from memory and capable to compare numbers
(less than, equal to, or greater than).
Control Unit:
The control unit directs and controls the activities of the internal and external devices. It
interprets the instructions fetched into the computer, determines what data, if any,
are needed, where it is stored, where to store the results of the operation, and sends the
control signals to the devices involved in the execution of the instructions.
Output Unit:
The job of an output unit is just the reverse of that of an input unit. It supplied information
and results of computation to the outside world. Thus it links the computer with the external
environment. As computers work with binary code, the results produced are also in the
binary form. Hence, before supplying the results to the outside world, it must be converted
to human acceptable (readable) form. This task is accomplished by units called output
interfaces. They include the visual display unit, printers etc.
*******
45
PRACTICAL NO. 13
:: MICROSOFT –WORD ::
A set of instructions for the computer is known as computer programme. Software is the
collection of such related programmes.
The different software used for the computer include the operating softwares, compiler soft wares
and application softwares.
Earlier versions of computer used the Microsoft Disk Operating System (MS-DOS). But
for using this software, the user need to type the commands using the keyboard and hence it is
known as Character User Interface Software (CUI)
But the current versions of computers are using Graphic User Interface Operating System
software. These include Windows-95, Windows-98, Windows-2000, Windows-ME and Windows-
XP. These programmes are comparatively easy.
❖ MS Word operations
46
a. Click on ‘file’ to get the pull down menu
b. Click on ‘Save as ’ of the pull down menu
c. Give the file name in the dialogue box of ‘Save as’ in the appropriate box.
d. Click on ‘Save’ to save the new file
4. Creating a folder in windows
a. On the desk top screen press the right button of mouse
b. Click on the option ‘New ’ of the context menu
c. Click on the option ‘Folder ’ of the context menu
d. Give the file name in the appropriate box and click the mouse after moving the
cursor outside.
5. Saving a file in the folder created in the desktop
a. Click on ‘file’ to get the pull down menu
b. Click on ‘Save as ’ of the pull down menu
c. Select ‘Desktop’ in the ‘Save in ’ option.
d. Select the appropriate folder name on the desktop and click the mouse
e. Give the file name in the appropriate box and click on ‘Save
6. Formatting a floppy
a. Double click ‘my computer’ icon the desktop
b. Select the floppy to be formatted and click the right button of the mouse
c. Select the ‘Format’ option from the list and click it.
d. Select ‘Start’ option and click it.
7. Creating a file in the folder
a. Move the cursor in the folder and double click it
b. Click on ‘file’ to get the pull down menu
c. Click on the option ‘New ’ of the pull down menu
d. Select ‘Microsoft word document’ option and click it.
e. Give the file name in the appropriate box and click the mouse after moving the
cursor outside.
8. Opening a file from the folder
a. Open the folder on the desktop by double clicking on it
b. Select the file you want to open
c. Click on the option ‘File ’ of the file menu
d. Click on the option ‘open ’ of the file menu
9. Transferring a file from one folder to another folder
47
a. Double click the folder on which the file of interest is present
b. Select the file you want transfer and right click the mouse
c. Choose ‘Copy’ option and click it
d. Close the folder
e. Select the folder to which the file has to be transferred and right click the mouse
f. Choose ‘Paste’ option and click it
10. Saving a file in the floppy
a. Open / create the file you want to save in the floppy
b. Click on ‘Save as ’ of the pull down menu
c. Select ‘3 ½ Floppy (A:) ’ in the ‘Save in ’ option.
d. Give the file name in the appropriate box and click on ‘Save’
11. Switch over from MS-DOS to Windows and vice versa
a. Click the “Start’ button at the left hand bottom corner of the screen
b. Move the cursor to the ‘Programmes’ and then to ‘MS-DOS’ and double click it
c. ‘MS-DOS’ Prompt comes on the screen
d. Type ‘EXIT’ and press <Enter>
e. Windows desktop appears on the screen
12. Use calculator in the windows
a. Click the “Start’ button at the left hand bottom corner of the screen
b. Move the cursor to the ‘Programmes’ and then to ‘Accessories’ and double click
it
c. Select ‘Calculator’ and click it
13. Changing the wall paper
a. Place the cursor in the desktop and right click the mouse
b. Select ‘Properties’ and click it
c. Select ‘Desktop’ and click it
d. Select the wallpaper from the ‘background’ or from ‘Browse’ option
e. Click ‘OK’ to get the new wallpaper
14. Changing the Screen saver
a. Place the cursor in the desktop and right click the mouse
b. Select ‘Properties’ and click it
c. Select ‘Screen saver’ and click it
d. Select the screen savor from the ‘Screen saver’
e. Click ‘OK’ to get the new screen saver
48
15. Inserting a table in MS Word
a. Open the ‘MS-WORD’
b. Select ‘Table’ from the top menu and click it
c. Select ‘Insert’ and click it
d. Select ‘Table’ and click it
e. Specify the table properties and click ‘OK’
16. Inserting a picture in MS Word
a. Open the ‘MS-WORD’
b. Select ‘Insert’ from the top menu and click it
c. Select ‘Picture’ and click it
d. Select the appropriate source of picture and click it
e. Select the appropriate picture and click ‘Insert’
17. Printing a document
a. Open the document.
b. Select ‘File’ and click it
c. Select ‘Print’ and click it
d. Specify ‘Page range’, ‘Number of copies’ and ‘Zoom’ options.
e. Click ‘OK’
18. Existing MS Word
a. Close all the documents
b. Select ‘File’ and click it
c. Select ‘Exit’ and click it
19. Underlining a sentence
a. Select the sentence to be underlined
b. Select ‘Format’ from the top menu and click it
c. Select ‘Fond’ and click it
d. Select the appropriate underline style
e. Click ‘OK’
20. Shutting down the computer
a. Close all the programmes to get the windows desktop
b. Click the “Start’ button at the left hand bottom corner of the screen
c. Select ‘Shutdown’ option and click it
d. Select ‘Yes’ option for shutting down the computer and click it
49
e. Wait for some time till the message ‘It is safe to turn off your computer’ comes
on the screen and then turnoff the electric supply.
Class work
*******
50
PRACTICAL NO. 14
1. LAN – Local Area Network is a collection of computers which spans relatively small area.
2. MAN Metropolitan Area Network is a collection of computers which usually spans a city
area
3. WAN Wide Area Network is a collection of computers of a large area.
The computers of a network collection are known as nodes. For a networking the following are
needed
1. Network cards
2. Physical connection between the computers
3. Software to interface between the networking system and operating system
Internet consists of a network of computers which is not controlled by a central authority. It
provides the user a network of networks which shares resources, services and communicates with
each other so as to the benefit of the end user. World Wide Web (WWW) is the large collection of
web documents that can be accessed through internet. It is supported by a protocol called Hyper
Text Transfer Protocol (HTTP).
Modem is a communications device that allows us to communicate with another computer through
telephone lines. It is abbreviation of modulator/demodulator.
Some of Frequently Asked Questions (FAQs) and their answers about internet
The Videsh Sanchar Nigam (VSNL), Bharath Sanchar Nigam (BSNL), Dishnet, Sathyam
online, Asianet online, National Informatics Centre ( NIC).
51
2. What is a web browser?
Web browser is a program that allows one to browse through the World Wide Web. They
translate the HTML codes to assemble a web page for presentation to the server. Example for
browsers are Netscape.
The domain name also include the country code in two letters (‘in’ for India)
4. What is an IP address?
The Numerical Internet Protocol Address (IP address) is an addressing system recognised by
internet. IP address has four numbers separated by three dots. This number is allotted by the
local network agencies as per the guide lines of internet NIC .
52
*****
In the address bar of the browser enter the address of the website or enter the address of
the any search engine.
If the address entered is a website then the corresponding webpage will get displayed.
If the address entered is of a search engine (For example Google) then the
webpage of the corresponding search engine will get displayed.
In the search tab enter the information about your search. For example if you want to
browse about computers enter the computers in the search tab.
Then click Search tab.
A set of pages with the links to the webpages which contain information about computer
is displayed.
Clicking the links desired by you will be taking you to those webpages.
53
E-MAIL (SHORT FOR ELECTRONIC MAIL)
It is a fast and convenient way to communicate with others.
• Forward messages.
• An Internet connection.
• An e-mail address.
Here's how to fill out the message window in most e-mail program
In the ‘to’ box, type the e-mail address of at least one recipient.
If you're sending the message to multiple recipients, type a semicolon (;) between e-mail addresses.
In the Cc box, you can type the e-mail addresses of any secondary recipients—people who should
know about the message but don't need to act on it. They'll receive the same message as the people
in the ‘to’ box.
If there are no secondary recipients, leave this box blank. Some e-mail programs also have a Bcc
field, which allows you to send a message to people while hiding certain names and e-mail
addresses from other recipients.
2. In the Subject box, type a title for your message.
3. In the large blank area, type your message. To attach a file to the message, click the Attach File
button on the toolbar (located just below the menu bar). Locate the file, select it, and then click
Open. The file now appears in the Attach box in the message header.
*******
54
PRACTICAL NO. 15
PRODUCTION OF GRAPHICS
Data produced is many times voluminous and need be presented in a comprehensible form.
There are different ways to represent the data. Computers are very useful in production of graphs
and diagrammatic representations of the data. Chart wizard is one of the software in “MS-Excel”
programme which can be used for the purpose.
1. Drawing graphs
55
d. Select the ‘Series’ and click ‘Next>’
e. Select ‘Legend’ and fill the appropriate cells.
5. Customizing the graphs
b. Select the option for changes namely ‘pattern’, ‘Font’ and ‘Properties’
c. Click ‘OK’
Class work
******
56
PRACTICAL NO. 16
MICROSOFT POWERPOINT
Ms-excel is a windows based application package, which is also the member of ms-office
family. It can be used to automate accounting, scientific calculation related tasks such as
calculations and analysis of data. Ms-excel is easily customizable. It provides a very comfortable
environment and assists the user in several ways. When excel starts, worksheet opens
automatically. The major elements of the excel screens are toolbars, worksheet and status bar
Menu bar has several menus which can be invoked by simply clicking on them, by using
a mouse or by using a hot key combination from the keyboard. These menus provide access to
different commands of power point. These commands are grouped together in menus. Menu bar
displays the list of all these menu groups
What is presentation?
Power point is a good way to communicate ideas simply and effectively. For complex topics that
are rich with details, such as a scientific paper or an annual report. Each presentation consists of
one more pages or slides, which can contain text, bulleted lists, graphics, charts and other data
types.
57
• Insert a new slide
1. Insert a slide, go to insert menu and choose slide.
4. If power point is already open, pull down the file menu. Choose new, select blank
presentation from the general tab, and click ok.
• Duplicate a slide
To duplicate a slide make that slide current slide and choose duplicate slide from the edit
menu
Presentation graphics is an application software available for designing charts. You can perform
any of the following tasks.
1. Design characters.
58
• Saving a presentation
Click the save button on the standard or choose save option or save as option from the
file menu.
✓ Option save is to save the file with current name and save as the command to save
file with some other name.
1. Click on the slide button. At the bottom of the slide to begin the slide show.
2. Select slide show from the view menu to display a dialog box.
3. One slide is displayed at a time each slide fills the entire screen.
4. Click on the left mouse button or press enter or press page down to move one slide forward.
5. When we reach the last slide in the presentation, power point brings us back to the slide view,
or any other view that we are in.
• Printing a presentation
1. Choose file menu print to open the print dialog box.
3. In the print what drop – down list, select whether to print slides, handouts, notes pages, or an
outline?
******
59
PRACTICAL NO. 17
BIOLOGICAL DATA ENTRY:
:: MICROSOFT EXCEL ::
There are different commercial softwares available for biological data entry. Most
of them are tailor made for specific applications. They include soft wares for farms,
hospitals and laboratories. MS EXCEL is part of MS OFFICE software and can be used
for routine data entry and is suitable for smaller and medium establishments. Most of the
operations and commands are similar to MS WORD and hence it is very easy to operate.
Concepts
✓ Spreadsheets are commonly referred to as workbook in Excel and have many
worksheets.
✓ Each worksheet is made up of
➢ columns
➢ rows
➢ intersections of row and columns called cells.
60
Standard Toolbar
The Standard toolbar, located beneath the menu bar, has buttons for commonly
performed tasks like adding a column of numbers, printing, sorting, and other operations.
Excel let's you customize the toolbar or even display multiple toolbars at the same time.
The Standard Excel XP toolbar appears in the figure below.
Formatting toolbar
The Formatting toolbar, located beneath the Standard toolbar bar, has buttons for
various formatting operations like changing text size or style, formatting numbers and
placing borders around c
ells.
61
MS EXCEL operations
62
7. Freezing the pans
a. Place the cursor on appropriate place
b. Click on ‘Window’
c. Select the ‘Freeze pans’ and click on it
8. Statistical operations
a. Select the data to used
b. Double click ‘∑’icon on the top menu
c. Select the appropriate function and click
d. Fill appropriate information
e. Click ‘OK’.
9. Calculations using formula
a. Select the cell on which the formula result is to be placed
b. Type ‘=’ followed by formula in the ƒx cell
c. Click <Enter>
10. Printing a document
a. Open the document.
b. Select ‘File’ and click it
c. Select ‘Print’ and click it
d. Specify ‘Page range’, ‘Number of copies’ and ‘Print what’ options.
e. Click ‘OK’
******
63