05b RM Lec (Variables Hypothesis)
05b RM Lec (Variables Hypothesis)
1
VARIABLE
5
TYPES OF VARIABLES
Classification can be based on:
The causal relationship
The design of study
The unit of measurement
6
TYPES – FROM VIEW OF CAUSATION
Change variables – Independent variables
The cause responsible for bringing about a change in a
phenomenon or situation
Variable that is believed to cause or influence the dependent
variable
Extraneous variables
Variables affecting the cause-and-effect relationship
7
EXAMPLES
Cause Effect
Independent variable Dependent variable
8
EXAMPLES
Extraneous
• Variables
9
VARIABLES – VIEWPOINT OF STUDY
DESIGN
Active variables
Variables that do not pre-exist, so, the researcher has to create
them.
These variables can be manipulated, changed or controlled.
Attribute Variables
A pre-existingcharacteristic or attribute which the researcher
simply observes and measures.
These variables cannot be manipulated, changed or controlled
10
EXAMPLE
Study designed to measure the effectiveness of three
teaching models A,B,C
11
VARIABLES – MEASUREMENT
VIEWPOINT
Categorical Variables (Qualitative)
Continuous Variables (Quantitative)
12
VARIABLES – MEASUREMENT
VIEWPOINT
Categorical Variables
Measured on nominal scales
Two types
Dichotomous Variables
Vary in only two values.
E.g. alive or dead, day or night etc.
Polytomous Variables
More than two categories
E.g. Religion – Muslim, Christian, Jew
13
VARIABLES – MEASUREMENT
VIEWPOINT
Continuous Variables
Continuity in measurement – take any value on the scale
on which they are measured
E.g. age, income etc.
14
Hypothesis
15
HYPOTHESIS
Hypothesis
Brings clarity, specificity and focus to research problem
16
HYPOTHESIS – EXAMPLES
Betting on a horse race
Hunch – Horse#6 will win
Hunch is true or false – Only after the race
Distribution of smokers
Hunch – more male smokers at your workplace than female
smokers
Test the hunch – ask them
Conclude – hunch was right or wrong
17
HYPOTHESIS – EXAMPLES
Public health
A disease is very common in people coming from a
specific sub-group of population
To find every possible cause – enormous time and
resources
Narrow down – based on your study identify the
most probable cause e.g. contaminated water
Perform a study – collect information to verify
your hunch
Verificiation – hunch correct or not
18
HYPOTHESIS - EXAMPLES
In example 1
Waited for event to take place
In example 2 & 3
Designed a study to test the validity of your hunch
19
HYPOTHESIS
Researcher – does not know about a phenomenon, situation
or a condition
But – does have a hunch, assumption or guess
Hunch may be
Right
Wrong
Partially right
20
HYPOTHESIS - DEFINITIONS
A tentative statement about something, the validity of
which is usually unknown
23
HYPOTHESIS - CONSIDERATIONS
Clear
Specific
Testable
24
HYPOTHESIS - CONSIDERATIONS
Clear
Specific
Testable?
Difficult – What is social cohesion, how to measure it.
25
HYPOTHESIS - CONSIDERATIONS
A hypothesis should be capable of verification
Data collection and analysis
Hypothesis cannot be tested?
May forumulate hypothesis for which methods of verification not
available
You may end up developing a technique
26
TYPE OF HYPOTHESIS
Categories of hypothesis
Research hypothesis
Alternate hypothesis
29
WAYS OF FORMULATING HYPOTHESIS
Hypothesis of Difference
A hypothesis in which a researcher stipulates that there will be a
difference but does not specify its magnitude
30
WAYS OF FORMULATING HYPOTHESIS
Hypothesis of Point-Prevalence
A researcher has enough knowledge about the
behaviour/situation
31
WAYS OF FORMULATING HYPOTHESIS
Hypothesis of Association
Expressed as a relationship
32
HYPOTHESIS TESTING
Hypothesis testing - H0
Null hypothesis
Usually corresponds to a default "state of nature", for example "this
person is healthy", "this accused is not guilty" or "this product is not
broken".
Alternate hypothesis
Negation of null hypothesis, for example, "this person is not healthy",
"this accused is guilty" or "this product is broken ".
33
34
HYPOTHESIS TESTING
H0 is True H0 is False
Your Decision
Reject H0
Accept H0
35
HYPOTHESIS TESTING
H0 is True H0 is False
Your Decision
36
H0 is True H0 is False
Telling the person that he is sick when infact he was healthy Type I error
Telling the person that he is sick when infact he was sick Correct
Telling the person that he is healthy when infact he was sick Type II error
Telling the person that he is healthy when infact he was healthy Correct
H0 = Defendent is Innocent 38
EXAMPLE – AIRPORT TRAVELERS
Innocent Terrorist
Your Decision
False Negative
False Positives
40
True Negative (Rest of the image) Neg- Acceptance of null
Pos- Rejection of null
Null- majority not a face
PERFORMANCE MEASURES
Recall
TP
R
TP FN
Precision
TP
P
TP FP
F measure
Precision . Recall
F 2. 41
Precision + Recall
TP TP
P R
TP FP TP FN
42
EXAMPLE - BIOMETRICS
Biometric access control system
Finger print, iris, face, hand geometry etc.
Enrollment
Enrollall the authorized users – take their finger prints, facial
images or iris scans etc.
Validation
A person arrives
Take data (finger print, iris, face)
Compare with database
If matched with an individual – Allow 43
Else - Decline
EXAMPLE - BIOMETRICS
Enrollment
http://www.idteck.com/support/biometrics.asp
The FRR is the frequency that an
authorized person is rejected access
EXAMPLE
45
The FAR is the frequency that a non authorized person is
accepted as authorized
EXAMPLE - BIOMETRICS
Challenge
How to find a similarity threshold value for
acceptance/rejection
Find system response to a large number of inquires from
authorized as well as unauthorized users.
Record similarity scores of authorized and unauthorized
cases
Plot respective histograms/distributions
46
EXAMPLE - BIOMETRICS
47
EXAMPLE - BIOMETRICS
48
EXAMPLE - BIOMETRICS
49
EXAMPLE - BIOMETRICS
50
Move the decision boundary (threshold) to the right
54
HOW TO QUANTIFY SYSTEM
PERFORMANCE
Equal Error Rate - EER
Change the value of threshold and plot FAR and FRR
55
HOW TO QUANTIFY SYSTEM
PERFORMANCE
The Receiver Operating Characteristic (ROC) Curve
50
High security – 40
cannot afford
FAR 30
FRR (%)
Balance
20
User comfort – Lesser
10 False Rejections
0
0 10 20 30 40 50
FAR (%) 56
The material in these slides is based on the following resources.
REFERENCES
57