Chapter 4 Data Management
Chapter 4 Data Management
MANAGEMENT Day 4 – P M
D e c e mbe r 1 3 , 2 0 1 7
1
CONTENTS
2
REVIEW ON BASIC CONCEPTS
IN STATISTICS
Preliminaries
Population and Sample
Types of Variable
Scales of Measurement
3
POPULATION AND SAMPLE
4
VARIABLE
Quantitative Qualitative
Variable Variable
5
SCALES OF MEASUREMENT
Nominal
Scales
Ordinal
Scales
Interval
Scales
Ratio
Scales
6
EXERCISE:
7
REPRESENTATION OF DATA
9
What can you say about
the following graphs?
10
WHAT’S WRONG?
11
WHAT’S WRONG?
12
WHAT’S WRONG?
13
WHAT’S WRONG?
14
MEASURE OF CENTRAL TENDENCY
22 23 23 23
23 23 24 25
29 30 30 30
30 30 31 32
33 33 34 35
36 36 37 37
•Compute the mean, mode, and median of the data and
decide which of the three you believe to be best for the central
tendency of the data.
•Use Excel to verify the computed values. 18
MEASURES OF LOCATION
19
A percentile is a point in the
distribution below which a given
percent of cases lie.
If P 70 of a 100-item test
is 80, what does it mean?
20
EXERCISE
21
MIND WORK
27
NORMAL CURVE
29
NORMAL DISTRIBUTION
0.08
mean µ and standard deviation σ:
0.06
within σ of the mean µ.
0.04
f(x)
within 2σ of the mean µ.
0.02
99.7% of the observations fall
within 3σ of the mean µ. 0.00
-20 -10 0 10 20
3σ 2σ σ x σ
2σ 3σ
30
Z-SCORES
Steps:
34
Obtaining Area under Standard Normal Curve
A.Z = -3.49
= 0.0002
B.Z = -1.99
= 0.0233
C.Z = 0.92
= 0.8212
D.Z = 2.90 a
= 0.9981
36
EXAMPLE 2
a) Z = -3.49
= 0.9998
b) Z = -0.55
= 0.7088
c) Z = 2.23
a
= 0.0129
d) Z = 3.45
= 0.0003 37
EXAMPLE 3
= 0.9892
b) P(-0.55 < Z < 0)
= 0.2088 a b
Worksheet
39
SIMPLE TEST OF
HYPOTHESIS
Objectives:
1. Define a hypothesis
2. Differentiate between Null and
Alternative Hypothesis
3. State hypothesis for a particular
study/problem
4. Differentiate the types of hypothesis
testing
5. Follow the steps in hypothesis testing
6. Compare means by hypothesis
testing using different test statistic
40
WHAT IS A HYPOTHESIS?
A. Null Hypothesis (H o )
It is the hypothesis to be tested which
one hopes to reject.
It shows the equality or no significant
difference or relationship between the variables
B. Alternative Hypothesis (H a )
It generally represents the idea which
the researcher wants to prove.
Exercise: Stating the (H o ) and (H a ).
42
2 TYPES OF HYPOTHESIS TESTING
44
LEVEL OF SIGNIFICANCE
45
STEPS IN HYPOTHESIS TESTING
46
CRITERIA FOR REJECTING HO
47
TYPES OF TEST STATISTIC FOR HYPOTHESIS
TEST CONCERNING MEANS
49
CORRELATION
AND
REGRESSION
50
CORRELATION AND REGRESSION
Bivariate data
Are data sets in which each subject has two
observations associated with it.
51
TYPES
52
TH E STRENGTH OR DEGREE OF TH E
RELATIONSH I P IS BA SED ON TH E FOLLOW IN G
RA NGES OF TH E CORRELA TI O N COEFFI CI EN T:
Ranges of r Degree/strength of
relationship
±1.00 perfect relationship
± 0.90 to ± 0.99 very strong/very high
± 0.70 to ± 0.89 strong/high
± 0.40 to ± 0.69 moderate/substantial
± 0.20 to ± 0.39 weak/small
± 0.01 to ± 0.19 almost negligible to
slight
0 no correlation
SCATTER PLOT EXAMPLES
y y
x x
y y
x x
54
SCATTER PLOT EXAMPLES
No relationship
x
55
CORRELATION COEFFICIENT
56
FEATURES OF R
Unit free
Ranges between -1 and 1
The closer to -1, the stronger the
negative linear relationship
The closer to 1, the stronger the
positive linear relationship
The closer to 0, the weaker the
linear relationship
57
EXAMPLES OF APPROXIMATE
R VALUES
y y y
x x x
r = -1 r = -.6 r=0
y y
x x
r = +.3 r = +1 58
CALCULATING THE
CORRELATION COEFFICIENT
n xy x y
r
[n( x ) ( x) ][n( y ) ( y) ]
2 2 2 2
where:
r = Sample correlation coefficient
n = Sample size
x = Value of the independent
variable
y = Value of the dependent variable
59
CALCULATION EXAMPLE
Tree Trunk
Height Diameter
y x xy y2 x2
35 8 280 1225 64
49 9 441 2401 81
27 7 189 729 49
33 6 198 1089 36
60 13 780 3600 169
21 7 147 441 49
45 11 495 2025 121
51 12 612 2601 144
=321 =73 =3142 =14111 =713
CALCULATION EXAMPLE
)
Tree
n xy x y
Height,
r
[n( x 2 ) ( x)2 ][n( y 2 ) ( y)2 ]
y
70
8(3142) (73)(321)
60
50
40 [8(713) (73)2 ][8(14111) (321)2 ]
30
20
0.886
10
Trunk Diameter, x
r = 0.886 → relatively strong
0
0 2 4 6 8 10 12 14 positive
linear association between x and y
61
EXERCISE
63
COEFFICIENT OF
𝟐
DETERMINATION, 𝑹
64
COEFFICIENT OF DETERMINATION, R 2
(
where:
R r 2 2
R2 = Coefficient of
determination
r = Simple correlation
coefficient
65
INTRODUCTION TO REGRESSION
ANALYSIS
67
TYPES OF REGRESSION MODELS
68
COEFFICIENT OF DETERMINATION, R 2
(continued)
Coefficient of determinatio n
R r2 2
where:
R2 = Coefficient of determination
r = Simple correlation coefficient
69
EXAMPLES OF APPROXIMATE
R 2 VALUES
y
R2 = 1
x
R2 = +1
70
EXAMPLES OF APPROXIMATE
R 2 VALUES
y
0 < R2 < 1
x
71
EXAMPLES OF APPROXIMATE
R 2 VALUES
R2 = 0
y
No linear relationship
between x and y:
72
EXAMPLE
74
REGRESSION ANALYSIS
75
Used Excel
for the Analysis of Data
COMPUTER HANDS-ON
76
Open forum for
clarification and ideas
77
Design a Plan or make a
project proposal
will be due on
December 15, 2017
78