Module 2 AgStat Revised
Module 2 AgStat Revised
Week 4-5
o
Agricultural
Statistics
(Stat 1e)
1
Table of Contents
Learning Module 2
REVIEW OF BASIC PRINCIPLES
OF STATISTICS
..... ii
Data ...................... 1
Probability
............................................ 28
Mid Term
Submit your outputs on time.
Submission is on the schedule of
module retrieval. (see due date in
google classroom)
0
Learning Outcomes:
At the end of the unit, the students are expected to:
1. Review some basic principles of statistics
2. Discussion on data focused on population and sample
3. Discuss and calculate the measures of Central Tendency of Position
and of Variability of Ungrouped Data
4. Discuss and calculate the measures of Central Tendency of Position
and of Variability of Grouped Data
5. Discussion and Calculation for Probability
Data
Data? – collections of
observations (such
as measurements,
genders, survey
responses)
Types of variables:
1. Qualitative variable
1
2. Quantitative variable
Qualitative variables
1. Dichotomous
Ex. Gender (male or female), emotional conditions (happy or sad)
2.Trichotomous
Ex. Opinion (yes, no or undecided)
Decisions (argee, disagree or undecided)
3. Multinomous
Ex. Mode (always, often, seldom, very seldom or never)
Size (extra small, small, medium, large, extra large)
Quantitative variables
1. Continuous variable
A variable that can theoretically assume any value between two given
values obtained through measurement.
2. Discrete variable
2
Types based on cause-and-effect relationship:
1. Dependent variable
2. Independent variable
1. Nominal level
2. Ordinal level
3. Interval level
4. Ratio level
Examples:
3
Ordinal Level of Measurement
Examples:
Honor awards (Summa Cum Laude -1; Magna Cum Laude -2; Cum
Laude -3)
Examples:
4
Ratio level of Measurement
➢ The interval level with the additional property that there is also a
natural zero starting point (where zero indicates that none of the
quantity is present); for values at this level, differences and ratios
are meaningful.
➢ Always quantitative
Examples:
Weight
Volume
Number of Children
Rounding Numbers
Rounding off
Rules:
2. When the last digit or the digit to be dropped is >5; the preceding
digit is increased by 1.
3. When the last digit or the digit to be dropped is 5; the rounding off is
governed by the “even integer convention”
5
Rounding off to the nearest even integer
Examples:
Students in CPSC
taxi drivers in CDO
cellular phones user
TV viewers
6
➢ When all values of a population are known, it is possible to describe it
without vagueness since all is known about it.
➢ However, investigation of the entire population is difficult due to
material constraints such as time, money and efforts
➢ It is often impractical if not impossible to get hold of the total population
thus, we resort to drawing and studying small part of the population, the
sample, the “representative” of the population.
➢ We compute sample estimates or statistics of population parameters.
Sampling Techniques
Sampling Technique
1. Simple Random Sampling
7
2. Stratified Random Sampling
3. Systematic Random Sampling
4. Cluster Sampling
5. Multistage Sampling
▪ Drawing of lots
▪ Use of table of random numbers
• Usually used if the population is large, hence
lottery is cumbersome
▪ Use of cards
8
▪ Divide the population size by the sample size to get the
interval of sample
▪ Say, for a population of 5,000 and the sample size desired
is 500 then divide 5,000 by 500 and the result is the
sample interval collection; that is, the sample is every 10th.
Cluster Sampling
Multistage Sampling
For example, our country is divided into 13 regions which form the stratum.
Each region consist of provinces and each province consists of
municipalities from which random samples may be collected.
Finding the sample size, n with respect to the population size N by using the
formula: N
n= 1+Ne²
9
Where:
Example:
Find the sample size the researcher should include in his study if the
population size of his respondents is 2000 at 95% accuracy?
Solution:
2000 2000
n= = = 1334 samples
1+2000 (0.05)² 1+5
10
➢ Parameter – a measurable quantity, e.g. temperature that determines
the result of a scientific experiment and can be altered to vary the
result.
➢ A general quantity that relates to an entire population as distinct from
an individual statistic that relates to a sample.
Parameter/Statistic:
Level of Confidence
L of C α = 100 – L of C
90% 10%
95% 5%
99% 1%
𝜎
𝐶. 𝐼. = 𝑥 ± 𝑍
√𝑛
Where:
X = the sample mean
n = the # of samples
Z = the critical value of z corresponding to a level of confidence
𝜎 = population standard deviation
Z = 1.96 at 95%
Z = 2.58 at 99%
12
For small sample
For sample (n< 30):
𝜎 To be used if
𝐶. 𝐼. = 𝑥 ± 𝑍
√𝑛 𝜎 𝑖𝑠 𝑘𝑛𝑜𝑤𝑛 ( 𝑡ℎ𝑎𝑡 𝑖𝑠, 𝑠 𝑖𝑠 𝑛𝑜𝑡 𝑡𝑜 𝑏𝑒 𝑠𝑢𝑏𝑠𝑡𝑖𝑡𝑢𝑡𝑒𝑑)
𝑠
𝐶. 𝐼. = 𝑥 ± 𝑡
√𝑛 To be used if
𝜎 𝑖𝑠 𝑛𝑜𝑡 𝑘𝑛𝑜𝑤𝑛 𝑎𝑛𝑑 𝑡ℎ𝑒𝑟𝑒𝑓𝑜𝑟𝑒, 𝑠 𝑖𝑠 𝑢𝑠𝑒𝑑
𝑥1+𝑥2+𝑥3+𝑥4……….
= 𝑛
13
Characteristics of mean:
14
➢ Same mean but different pattern of variation
Characteristics of Median:
➢ It is easy to understand
➢ It is easy to compute
➢ It is not affected by extremes
Set A:
67 68 68 70 70 70 70 71 72 75 76 78
Mode : 70 – unimodal
Set B:
67 68 68 70 71 72 74 76 79 79 80
Modes: 68 and 79 – bimodal
Set C:
65 66 68 69 70 72 73 75 76 78 80
Mode: no mode – all have the same frequency
Characteristics of a mode:
➢ It is easy to determine
➢ It is not affected by extremes
➢ It is the simplest but unreliable
16
➢ It is very unstable
➢ It is just a rough estimate of the center of concentration of a
distribution
➢ Mode is the poorest measure of central tendency
Q1 = ¼ (n +1)
Q2 (second quartile)
Q2 = (n + 1)/2
17
Q3 (third quartile)
Q3 = ¾ (n +1)
65 66 68 69 70 72 73 75 76 78 80
D2 (second decile)
D9 (ninth decile)
4. Percentiles or centiles
P2 (second percentile)
18
Equivalents of the Measures of Position
Median = Q2 = D5 = P50
Q1 = P25 D5 = P50
Q3 = P75 D6 = P60
D1 = P10 D7 = P70
D2 = P20 D8 = P80
D3 = P30 D9 = P90
Percentile of score =
Example: Scores of 45 students
Locator, L = (P/100) x n
19
The score following the L position is the score of the
given percentile
Range = 125 – 84 = 41
20
Characteristics of range
Uses of range:
65 66 68 69 70 72 73 75 76 78 80
21
4.Variance
It is the average squared deviation around the mean
For population
∑ (𝑥 − 𝜇 ) ²
𝜎² =
𝑛
For a sample Where: x is the observation
∑(𝑥− )² value,𝜇 𝑖𝑠 𝑡ℎ𝑒 𝑝𝑜𝑝𝑢𝑙𝑎𝑡𝑖𝑜𝑛 𝑚𝑒𝑎𝑛,
s² = 𝑛 𝑖𝑠 𝑡ℎ𝑒 𝑡𝑜𝑡𝑎𝑙 𝑛𝑢𝑚𝑏𝑒𝑟
𝑛 −1
𝑜𝑓 𝑜𝑏𝑠𝑒𝑟𝑣𝑎𝑡𝑖𝑜𝑛
= the sample mean
5. Standard Deviation
22
Characteristics of standard deviation:
6. Coefficient of Variation, CV
√𝑠 2 𝑠
CV= x 100 = x 100
𝑥 𝑥
So, for the example given earlier where x = 6 and s =2.2361
𝑠
CV= = 𝑥 x 100 = 2.2361/ 6 = 37.3%
𝑆 2.2361 2.2361
S = = = = 1.0
√𝑛 5 2. 2361
23
Measures of Central Tendency of Position
and of Variability of Grouped data
➢ When the researcher gathers all the needed data, the next
task is to organize and present them with the use of
appropriate tables and graphs.
3. A class mark
4. Class Size
24
5. Class Frequency
25
Class Class Class Frequency Cumulative Cumulative
Interval Boundary mark Frequency %
26
Measure of Position
1. Median, Md
2. Quartile, Q
𝑛⁄ −𝑐
4 𝑓𝑝
Q1= 𝐿B + [ ]𝐶
𝑓𝑞
3𝑛⁄ −𝑐
4 𝑓𝑝
Q3= 𝐿B + [ ]𝐶
𝑓𝑞
3. Deciles, D
9𝑛/10−𝑐𝑓𝑝
D9= 𝐿B + [ ]𝐶
𝑓𝑞
27
Measures of Variability
1.Mean Deviation, Md
Where: X = midpoint or class mark of a
∑|𝑥 −𝑥| class
M.D. =
𝑛 x = mean of the sample observation
2. Variance, S²
∑𝑓 (𝑥−𝑥)²
s² = 𝑛 −1
3. Standard Deviation
∑ 𝑓(𝑥−𝑥)2
s= √ 𝑛 −1
Probability
➢ It is a mathematical measure of the likelihood of
an event occurring
▪ Chance
▪ likelihood
Examples:
28
Interpretation: A 40% chance of rain means that if we look at all
days with similar conditions, 40% of those days had rain
Examples:
S = (heads, tails)
S = (1, 2, 3, 4, 5, 6)
29
Events – any collection of outcomes from sample space.
0 ≥ P(A)≤ 1
Types of Probability
1. Classical Probability
2. Empirical Probability
✓ Relative frequency
3. Subjective Probability
30
Classical Probability
➢ Tossing a coin
➢ Rolling a dice
Empirical Probability
Examples:
Examples:
1.25 – 1.00 3
1.26 – 1.50 14
1.51 – 1.75 25
1.76 – 2.0 8
31
Find the probability that the students have a grade of:
Subjective Probability
Examples:
32
Determining the total # of possible outcomes:
1. Combinations
2. Permutations
𝑛!
nCk = 𝑘!(𝑛−𝑘)! Where: C
n k is the combination of n taken k at a time; n
is the total number of items; k is the number of items to be
chosen
n! – n factorial
Examples:
4! = 4x3x2x1 = 24
5! = 5x4x3x2x1 = 120
33
Permutation
𝑛!
nPk = (𝑛−𝑘)! Where: nPk is the permutation of n taken k at a time;
n is the total number of items; k is the number of items to
be chosen
Sample problems:
Permutations: AB, BA
AC, CA 6
BC, CB
Mathematically,
𝑛! 3!
nCk = 𝑘!(𝑛−𝑘)! = 2!(3−2)!
3.2.1 6
=2=3
2.1 (1)
34
𝑛! 3! 3.2.1 6
nPk = (𝑛−𝑘)! = (3−2)! = =1=6
1
= 1/3 = 0.33
1
P= 6 = 0.17
Summary:
a. Find the 95% and 99% confidence intervals for the average number
of years that it takes the ladderized students to earn their degrees.
a. Find the 95% and 99% confidence interval for the average daily
study time of the students in the university.
36
Laboratory Activity No. 2
FREQUENCY DISTRIBUTION AND DATA PRESENTATION
Procedure:
1. Answer the Problems below: Test scores of 50 students in Statistics 1
37 27 19 68 63 33 19 38 49 77
25 48 73 63 54 25 23 47 52 68
70 53 65 24 78 47 63 50 66 39
38 50 36 62 32 68 43 64 48 53
45 67 40 42 57 75 72 27 72 25
45 37 59 62 84 87 67 78 94 78
90 54 68 73 37 83 48 75 39 66
82 58 62 60 43 78 46 50 43 35
73 67 40 74 53
37
References:
Prepared by:
JESSA D. PABILLORE
[email protected]
09179869017
38