You are on page 1of 104

Lectures on Scientific Research Methods

Scientific Research Methods:


Processes, Techniques, Models and Practices
Part III

Prof. Dr. DUONG Nguyen Vu


Affiliate Professor of Computer Science and Engineering
HCM University of Technology

Academic Advisor, Faculty of Information Technology


University of Natural Sciences, Vietnam National University HCM

Senior Scientific Advisor, EUROCONTROL EEC


Co-Director, Complex System Modeling & Cognition Joint Research Lab
Professor, Charge de Conferences Ecole Pratique des Hautes Etudes, Sorbonnes Paris.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 1


Lectures on Scientific Research Methods

Formulating a Problem

The process of problem formulation implies a series of reiterated


actions:
Original Problem
Decision about
The Subject
Discussions:
Modified Problem

Bibliographic ∃ literature
Search
or public ?

Finalized Problem
Research Planning BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 2


Lectures on Scientific Research Methods

Research Problems in CSE

 Studies vs. Research in CSE:


 Study in Computer Science and Engineering (CSE) tends to solve a
“problem” i.e. “How To Design a System that Accomplishes an
Automation Task.”
 Research in CSE aims at developing or contributing to a “Theory” that
makes an automation task better. It tends to answer to Why such
automation solution is suggested.
 Typical Applied Research Problems in CSE:
 Identify drawbacks in the theory used in the automation task,
 Suggest a research direction or approach to make it better
(performance, computational costs, ease of use, elegance, etc.),
 Demonstrate the evidence through a formalism (modeling), extensive
validation (simulations), and comparisons of results (analysis).

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 3


Lectures on Scientific Research Methods

Research Problems in CSE

 Identify issues and suggest research directions are part of problem definition
(literature review and creativity),
 The remain part is to demonstrate that the suggested direction could bring new
knowledge in terms of:
 Extended/Limited applicability of a theory,
 Extended/Limited performance of an automation task,
 New theory and the boundary of applicability,
 Extended/Limited precision of the use of a technology in a “system”

 Human is user of “automated system” hence in many cases, validation requires


human testing of its uses. Research includes, in such cases, evaluation of:
 Cognitive Tasks,
 Subjective Validations,
 Human Performance,

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 4


Lectures on Scientific Research Methods

Research Problems in CSE

 Practically:
 Modeling is required to demonstrate (on paper) the potential of the
suggested direction.
 Most frequent method in CSE:
 Graphs to illustrate the static (nodes) and dynamics (arcs) part of a
“system”
 Physics that generates actual world description leading to continuous
mathematical abstraction, then discrete mathematics, and algorithms
(pseudo-programming).
 Testing can be performed to see whether or not the desired results are
met. This is sometimes called Simulation.
 Validation consists in conducting experimentations (with or without
human) looking for the evidence that a research topic reckons,
positively or negatively.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 5


Lectures on Scientific Research Methods

Required Methods

 Observation - Selection,
 Modeling - Testing,
 Simulation - Validation,
 Analyzing - Synthesizing - Reporting.

 Critical views and, more importantly, rigors are needed in all


steps.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 6


Lectures on Scientific Research Methods

Conducting Research

Simulation
Experimentation
Experimentation
Observation
Data Analysis
Finalize Problem Validation
Planning
Modeling

Expectations
Match

Communicating
Reports
BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 7


Lectures on Scientific Research Methods

Research Methods

 Descriptive Methods
 Observational Methods
 Survey Methods
 Predictive Methods
 Correlation Research
 Quasi-Experimental Design
 Single-Case Research
 Explanatory Methods
 Between-Participants Experimental Design
 Correlated-Groups and Development Design
 Advanced Experimental Designs

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 8


Lectures on Scientific Research Methods

Observational Method

• Simple in its form but can be more complex in its nature because in
most cases, any phenomena shall be observed by the many
causes leading to its spatiotemporal occurrence.
• These causes can be of natural nature of physics, of human social
behaviors, which shall be validated in laboratory or real-world
conditions.
• Two types of observational studies:
• Naturalistic (or field) observation
• Laboratory (or systematic) observation

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 9


Lectures on Scientific Research Methods

Why Observation is Important in CSE Research?

 Computational Mathematics:
 Physics-based models (where observation is “sometimes” required),
 Mathematical models,
 Discretization models,
 Programming models.

 Models are the basis of Simulations,

 Simulations show the needed “evidence” to demonstrate the


applicability, extensibility, reliability, etc. of the concerned
theory.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 10


Lectures on Scientific Research Methods

Naturalistic Observation

 Also referred to as field observation, involves


observing subjects in their natural habitats for their
natural behaviors.
 Realistic conditions can lead to higher ecological
validity, but reproduction of experimental conditions
can be difficult.

Ecological validity.
The extend to which research can be generalized to
real-life situations (Aronson & Carlsmith, 1968)

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 11


Lectures on Scientific Research Methods

Options

 Undisguised observation. Studies in which the subjects are


aware that the researcher is observing their behavior.
 Participant observation. Studies in which the researcher does
actively take part in the situation in which the research subjects
are involved.
 Nonparticipant observation. Studies in which the researcher
does not take part in the situation in which the research
subjects are involved.
Example: Jane Goodall and Dian Fossey
in studies of chimpanzees and gorillas,
Expectancy effects. The influence of the
researcher’s expectations on the outcome
of the study. BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 12


Lectures on Scientific Research Methods

Laboratory Observation

 Sometimes referred to as systematic observation. Involves


observing behavior in a more contrived setting, usually a
laboratory, and focusing on a small number of carefully defined
behaviors.
 Less costly and less time consuming and affords more control,
but could be less realistic than naturalistic observation.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 13


Lectures on Scientific Research Methods

Options

 Subjects are likely to be aware of the observation. However, as with


naturalistic observation, the researcher can be either a participant or a
non-participant and either disguised or undisguised.
 Subjects can be disguised and undisguised (example of mother and
child)
 In lab observation, we are concerned with reactivity and expectancy
effects. One way of attempting to control reactivity effects is by using a
disguised type of design.
 Notice that increasing controllability can lead to decreasing flexibility.

Reactivity effects. The influence of the


subject’s reactions to being in the laboratory
conditions. BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 14


Lectures on Scientific Research Methods

Approach to Observation

 Example:
 Effect of a particle, e.g. an electron, when lights are used for observation.
The collision between “in-coming light” from which the electron is the cause
of the change of light direction.
 Observer detects “out-coming light.”
 At that moment, the state of the particle has changed.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 15


Lectures on Scientific Research Methods

Observation Method

 Observe
 Note
 Observed population
 Analyzing relations

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 16


Lectures on Scientific Research Methods

Observation

 Another example: “Trees - observed growth in n years.”

 How to photograph these changes?


 Selection representative samples.
 How to select each member of the samples?
 Arithmetic
 Physics
 How to determine the size of the samples?

 Observation:
 We are capable to describe the variations and evolutions, but we could all
forget after a certain time.
 Must note the changes.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 17


Lectures on Scientific Research Methods

Sampling

 Supposing that there exists a large population of objects of which


samples are required for a manageable description.
 If this population is homogeneous, each element of the set of sample is
representative. There’s no problem because any selected sample can
represent the characteristics and behaviors of the whole population.
 If this population is heterogeneous, a separation method must be applied to
the set to obtain different types (or different pseudo-homogeneous subsets)
before the sampling process.
The typical procedure consists in selecting the samples of the general
population in an random manner.
So, what is the method to generate random numbers or random events that are
uniformly distributed?

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 18


Lectures on Scientific Research Methods

Sampling

 This procedure aims at obtaining random numbers that are uniformly


distributed with the following probability function:

# f (x) = 1 for 0 " x " 1


$
% f (x) = 0 otherwise

f(x)
!
1

1 x
BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 19


Lectures on Scientific Research Methods

Sampling

Two methods to obtain the desired probability:


 Mathematically or Algorithmically
 Physically-based

 Mathematic / Algorithmic Method


 Simple program to calculate random numbers in a regular manner:
x = random (n)
 We can obtain pseudo-random numbers.
 To test the uniform probability function, we can generate a series or
pseudo-random numbers an then study their distribution.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 20


Lectures on Scientific Research Methods

Sampling

 Physical Method:
 Example: «Wheel of Fortune»
 Equal chances for all numbers.
 Each of the N numbers
corresponds to a member of the
whole population that must be
sorted a priori.
 This method can only be applied
when N is relatively small, i.e. <
100

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 21


Lectures on Scientific Research Methods

Size of Samples

 Intuitive rule: more data better precision.


 Size of samples?
 In the practice, there’s economical (and/or other) constraints therefore
a boundary condition is required..
 Basic concept: Notion of uncertainty.
 Supposing that we want to measure the quantity x of the observed
objects, e.g. the length. The measurements obtained are (x1, x2, …, xi,
…, xn) n
xi
 Mean Value x= ! i =1 n
is the estimates of real value of the whole population.
we can show that it’s the best estimates.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 22


Lectures on Scientific Research Methods

Sampling

 Errors are better obtained with the use of histograms.


 abscissa orders measured values,
 Axis orders the number of samplings performed.
 The shape of the histogram often looks like a Gaussian with two parameters: :
 Base R represents the set of obtained measurements, usually R = 4r

 Larger 2r is defined by r2/Δ2 = n = R2/(4 Δ)2.

 n is the number of sampling members.


 Δ is the standard deviation, or admitted error.
 Delimiting equation is µ = x ± Δ
 Exercise: we are interested in the measurements of the length of a mechanical
component. Le number of component is high. The base R of the population is approximately
2 microns. On how many components shall we measure to obtain a sampling value within
the limit of Δ = 0.1 micron?

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 23


Lectures on Scientific Research Methods

Non-probability Sampling

 Is used when the individual members of the population do not


have an equal likelihood of being selected to be a member of
the sample.
 Two types of non-probability sampling:
 Convenience sampling. A technique in which the subjects (samples)
are obtained wherever they can be found and typically wherever is
convenient for the researcher.
 Quota sampling. A technique that involves ensuring that the sample is
like the population on certain characteristics but uses convenience
sampling to obtain the samples.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 24


Lectures on Scientific Research Methods

Data Collection in Observational Methods

 Because observational research involves observing and recording


behaviors, data are often collected through the use of behavioral measures
that can be taken in a direct manner (at the time the behavior occurs) or in
an indirect manner (via audio- or videotape).
 Researchers using observational technique can collect data using narrative
records or checklist.

Narrative records. Full narrative descriptions of a subject’s behavior.


To capture completely everything the subject acts or reacts during a
specified period of time.
Checklist. A tally sheet in which the researcher records attributes of
the subjects and whether the subject’s behaviors were observed. A
static checklist records attributes that do not change, while an action
checklist is employed to note the presence or absence of behaviors.
BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 25


Lectures on Scientific Research Methods

Case Study Method

 One of the oldest methods. An in-depth study of one or more


individual subjects in the hope of revealing things that are true to all
cases.
 Characteristics:
 One advantage of case study research is that it often suggests hypothesis for
future studies.
 The individual subject under study can have particularities that can not be
generalized or the generalization could be erroneous.
 Expectancy effects: researchers may be biased in their interpretations of their
observations or data collection, paying more attention to data that support
their theory and ignoring data that present problems for it.

 Case study research should be used with caution.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 26


Lectures on Scientific Research Methods

Archival Method

 Is a descriptive research method that involves describing data


that existed before the time of the investigation.
 Characteristics:
 Primary data were not generated as part of the study.
 Problem of reactivity is minimized.
 Less time consuming than most other research methods because the
data already exists, the researcher doesn’t interact with the subjects.
 Not an experimental study but descriptive research.

 Data was collected a priori for other purposes, and may not fully fit with
the objectives of the research.
 No control on how the data was to be collected.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 27


Lectures on Scientific Research Methods

Qualitative Methods

 Qualitative research focuses on phenomena that occur in natural


settings, and the data are analyzed without the use of statistics.
Researchers are typically not interested in simplifying, objectifying, or
quantifying what they observe. Instead they are more interested in
interpreting and making sense of their observations.
 Characteristics:
 Qualitative research entails observation and/or unstructured interviewing in
natural settings. The data are collected in a spontaneous and open-ended
fashion.
 Flexibility over control. Data collection is not necessarily structured and can be
sometimes opportunistic.
 Commonly used by social researchers such as sociologists, anthropologists,
and are eventually interesting for psychologists.
BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 28


Lectures on Scientific Research Methods

In-Class Exercise

 Imagine that you want to study the use of mobile-phone by car


drivers. Discuss:
 The research method to be used?
 Data collection: which data and how?
 How would you recommend conducting this study?
 What concerns do you need to take into consideration?

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 29


Lectures on Scientific Research Methods

“In-metro” Exercises

 Explain the difference between participant and non-participant


observation and disguised and undisguised observation.
 How does using a narrative record differ from using a checklist?
 Explain the archival method.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 30


Lectures on Scientific Research Methods

Survey Methods

 An observational method where data are collected via questionnaires


or survey instruments.
 For the collected data to be both reliable and valid, the
construction/design of the questionnaires or any survey instruments
shall be done with careful thoughts.
 The type of questions used and the order in which they appear may
vary depending on how the survey is ultimately administered (e.g.,
mail survey vs. telephone survey).

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 31


Lectures on Scientific Research Methods

Constructing the Survey (1)

 Writing the questions


 Should be in clear, simple language to minimize confusion. Example:
 How long have you lived in Budapest?
 Since I was 15 years old / Right after I met with my girlfriend!!
 How many years have you lived in Budapest?
 5, 10, 20
 Whether the question is open-ended, close-ended, partially open-ended, or
rating scale questions.
 Open-ended questions ask respondents to formulate their own responses.
 We can control the length to some extent by the amount of room on the questionnaire.
 Close-ended questions ask the respondents to choose a limited number of
alternatives, and to check on the best fits.
 Nominal or Likert rating scale (1 …. 5 ; Strongly disagree …. Strongly agree).
 Partially open-ended questions are similar to close-ended but one alternative is
“Other” with a blank space next to it for an open-ended short explanation.
BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 32


Lectures on Scientific Research Methods

Constructing the Survey (2)


 Examples of types of survey questions:
 Open-ended
Has this lecture responded to your expectations?
______________________________________________________________
 Close-ended
Has this lecture responded to your expectations? Yes ____ No ____
 Partially-opened
Which of the following elements do you find responded to your expectations?
Lecturer____ Course Note _____ Course Schedule _____ Class room _____
Lecture 1___ Lecture 2____ Lecture 3____ Other ______________________
 Likert rating scale (a type of numerical rating scale developed by Rensis Likert, 1932)
This lecture responded to my expectation.
1 2 3 4 5
Strongly disagree Disagree Neutral Agree Strongly Agree
BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 33


Lectures on Scientific Research Methods

Likert scale from Wikipedia©


 Likert scale (pronunciation in the field of Psychology varies between /lɪkɜrt/ 'lick-urt' and /lаɪkɜrt/ 'lie-kurt', is a type
of psychometric response scale often used in questionnaires, and is the most widely used scale in survey research.
When responding to a Likert questionnaire item, respondents specify their level of agreement to a statement. The
scale is named after Rensis Likert, who published a report describing its use (Likert, 1932).

A typical test item in a Likert scale is a statement. The respondent is asked to indicate his or her degree of agreement with the
statement or any kind of subjective or objective evaluation of the statement. Traditionally a five-point scale is used, however
many psychometricians advocate using a seven or nine point scale. A recent empirical study showed that data from 5-point, 7-
point and 10-point scales showed very similar characteristics in terms of mean, variance, skewness and kurtosis after a simple
re-scaling was applied (although as discussed below, it is inappropriate to apply such statistics to Likert-scale data).
Likert scaling is a bipolar scaling method, measuring either positive or negative response to a statement. Sometimes a four-
point scale is used; this is a forced choice method since the middle option of "Neither agree nor disagree" is not available.
Likert scales may be subject to distortion from several causes. Respondents may avoid using extreme response categories
(central tendency bias); agree with statements as presented (acquiescence bias); or try to portray themselves or their
organization in a more favorable light (social desirability bias).
Scoring and analysis After the questionnaire is completed, each item may be analyzed separately or in some cases item
responses may be summed to create a score for a group of items. Hence, Likert scales are often called summative
scales.Responses to a single Likert item are normally treated as ordinal data, because, especially when using only five levels,
one cannot assume that respondents perceive the difference between adjacent levels as equidistant. When treated as ordinal
data, Likert responses can be collated into bar charts, central tendency summarised by the median or the mode (but not the
mean), dispersion summarised by the range across quartiles (but not the standard deviation), or analyzed using non-parametric
tests, e.g. Chi-square test, Mann-Whitney test, Wilcoxon signed-rank test, or Kruskal-Wallis test.Responses to several Likert
questions may be summed, providing that all questions use the same Likert scale and that the scale is a defendable
approximation to an interval scale, in which case they may be treated as interval data measuring a latent variable. If the
summed responses fulfils these assumptions, parametric statistical tests such as the analysis of variance can be applied.
These can be applied only when the components are more than 5.Data from Likert scales are sometimes reduced to the
nominal level by combining all agree and disagree responses into two categories of "accept" and "reject". The Chi-Square,
Cochran Q, or McNemar-Test are common statistical procedures used after this transformation.Consensus based assessment
(CBA) can be used to create an objective standard for Likert scales in domains where no generally accepted standard or
objective standard exists. Consensus based assessment (CBA) can be used to refine or even validate generally accepted BK
TP.HCM

standards.
© University of Technology & University of Sciences - VNU HCM (2008) 34
Lectures on Scientific Research Methods

Constructing the Survey (3)


(Sherri L. Jackson, 2008 - Research Methods: A Modular Approach, Thomson Wadsworth, USA)

 Knowing exactly what you want. Don’t use:


 Loaded question - a question that includes non-neutral or emotionally laden
terms. Example: Do you believe that radical extremists should be allowed to burn flags?
 Leading question - a question that sways the respondent to answer in a desired
manner. Example: Most people agree that conserving energy is important - do you agree?
 Double-barreled question - a question that asks more than one thing, often
includes “and” or “or.” Example: Do you find using a cell phone to be convenient and
time-saving?
 Knowing about the participants/respondents. Care about:
 Response bias - the tendency to consistently give the same answer to almost all
of the items on the survey. This is often referred tp as yea-saying or nay-saying.
Use standard and reversed formats to detect response bias. Example: “I frequently
feel sad” vs. “I am happy almost all the time.”

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 35


Lectures on Scientific Research Methods

Constructing the Survey (4)

 Arranging the questions (Dillman. Mail and Telephone Surveys: the Total
Design Method. Wiley & Sons, 1978, NY, USA. )
1. Present related questions in subsets to focus on one issue at a time;
2. Place questions that dead with sensitive topics (eg. Drug use or sexual
experiences) at the end of the applicable subset of questions;
3. Last, to prevent participants from losing interest in the survey, place
the demographic questions at the end of the survey.

questions that ask for basic information,


-e.g. age, gender, ethnicity, or income.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 36


Lectures on Scientific Research Methods

Administering the Survey by Mail


 Mail Surveys
 Are written surveys that are self-administered. It is important that mail survey be clearly
written and self-explanatory.
 Advantages:
- can eliminate the problem of interviewer bias - the tendency to be influenced
- can allow the collection of sensitive information
- usually less expensive than phone survey or personal interviews
- answers on mail survey are sometimes more complete
- no pressure to the participants.
 Potential Problems:
- low response rate (usually 25%-30%).
- must be carefully analyzed to avoid concentration of responses from few groups, and
- case of self-selection ie. you only answer when you are or have been in such situation.
- attention to sampling bias - a tendency for one group to be over-represented

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 37


Lectures on Scientific Research Methods

Administering the Survey by Phone

 Phone Surveys
 Involves telephoning the participants and reading questions to them.
 Advantages:
- representative samples even with random-digit dialing technique
- respondents can ask for clarification if needed
- researcher can ask follow-up questions if needed (for more reliable data)
- generally higher response rate, 59 to 70% (Groves & Kahn, 1979)
 Potential Problems:
- response rate may decrease because of increase in telemarketing
- more time consuming and more costly
- can be interviewer bias
- participants can give socially desirable responses

respondent believes it is
deemed appropriate by society BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 38


Lectures on Scientific Research Methods

Administering the Survey by Interviews

 Personal Interviews
 A survey in which the questions are asked face to face.
 Advantages:
- Can be conducted anywhere, e.g. home, street, shopping mall, university,
etc.
- Allow research t record not only verbal responses but also “body languages”
- participants usually devote more time
- clarification of questions and responses possible
- fairly high response rate, typically around 80% (Dillman, 1978; Erdos 1983)
 Potential Problems:
- similar to phone: interviewer bias, socially desirable questions
- lack of anonymity in personal interviews may affect the responses
A variation on personal interview is the focus group interviews
6-8 persons BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 39


Lectures on Scientific Research Methods

Predictive (Relational) Methods

 Correlational Research - determine whether two naturally


occurring variables are related to each other.
 Quaisi-Experimental Designs - some but not all of the features
are experimental.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 40


Lectures on Scientific Research Methods

Experimental Method

 Experimental method:
 Characteristics
 Basic Steps of an Experiment:
 Determine relevant factors,
 Experiment with two variables,
 Analyze primary data,
 Analyze secondary (processed) data,
 Investigate abnormal data,
 Test baseline hypothesis,
 Experiment with remaining variables,
 Link the experimental results to a model.
 Experimental Conditions :
 Availability of the system,
 Quantification of the problem and accountability of the results,
 Absence of external restrictions on the used methods.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 41


Lectures on Scientific Research Methods

Experimental Approach

 Characteristics:
 Basic steps in an experiment,
 Experimental conditions,

 Illustration - case study developed by Galilei Galiléo: «motion of a rigid


body along an axis.»
 Rigid body = vehicle,
 Axis = horizontal direction
 Staring point = A
 Goal = Find the traveling time needed to attaint a certain distance.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 42


Lectures on Scientific Research Methods

Step 1

 Determine relevant factors:


 What are the important factors or variables to describe the motion of the
vehicle?
 Traveling time,
 Traveling distance,
 Quantity of available gasoline (no gas to move!)

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 43


Lectures on Scientific Research Methods

Step 2

 Perform an experiment with two variables:


 Simplification: consumption constant.
 Experimentation: investigate the variation of distance as a function of
traveling time.
 Organization of the experiment:
 Clocks are placed on the trajectory at known distances. These clocks are
synchronized and reset to zero at the departure of the vehicle.
 Perform several runs and measure the distance and time. These data are
calculated and tabulated. Each value is represented by a mean value and
a delta.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 44


Lectures on Scientific Research Methods

measures

Distance (m) Time (sec)

00.0 0.0
10.00 ± 0.01 2.0 ± 0.2
20.01 ± 0.02 2.8 ± 0.1
30.00 ± 0.01 3.5 ± 0.1
40.01 ± 0.01 4.1 ± 0.3
50.00 ± 0.01 4.8 ± 0.2

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 45


Lectures on Scientific Research Methods

Step 3

 Analyze primary data:


 Detect the possible relations between variables. The easiest is to examine
the linearity between the two variables with help of graphical description.
 For our case study: the graphic depicts that measurement points are not
aligned on a straight line. Noticeably the ones at the departure and at the
end of the trajectory.
 This result invalidates our initial hypothesis that traveling time and
distance are proportionally linear, in other words d ≠ k.t (k is a constant)

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 46


Lectures on Scientific Research Methods

Step 4

 Analyze secondary (processed) data:


 Observe and analyze the relations between variables.
 Interrogate on deviations if there’s any.
 Determine domains of values on which the relations between variables
change.
 Example of case study:
 The relationship between distance and time is not constant.
 In using the least-square fitting method, a straight line fits to the measured
data up to the distance of 50m. There’s a deviation that falsifies the
linearity between time and distance.
 A specific analysis is required if another test shows the same phenomenon
(confirmation of the deviation, and not a hazard / fluctuation).
 New hypothesis: «effect of résistance of the air?»
 Note that the resistance increases at the square of the speed.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 47


Lectures on Scientific Research Methods

Step 5

 Treat specific points (anomalies)


 Pose hypothesis on the anomaly under interrogative form.
 Establish scenario to experiment with new hypothesis.
 Example of our case:
 «air resistance?»
 How to measure or confirm?
 Continue experimentation to verify the existence of air resistance as a function
of speed.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 48


Lectures on Scientific Research Methods

Step 6

 Confirm performed analyses:


 Test the obtained linearity,
 Test hypothesis about the resistance of the air.
 A physical model may be needed.
 Physical models in laboratory experiments often require:
 Techniques in dimensional analysis,
 Analogical models.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 49


Lectures on Scientific Research Methods

Step 7

 Experiment with remaining variables


 Same approach to show evidence the relationships between another
variable and those experimented.
 Through linearity relations, identify the tendency between variations
 Techniques:
 Dimensional Analysis
 Reduced Models
 Analogical Models
 Qualitative Physique

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 50


Lectures on Scientific Research Methods

Step 8

 Link experimental results to a model:


 Ultimate goal of an experimentation,
 Conclude performed analyses.

 Example:
 Obtained model is a mathematical model known as “Newton Mechanics”
 If the resistance of the air is neglected, the relation between time and
distance can be written d = 1/2 at2 ; a is the acceleration.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 51


Lectures on Scientific Research Methods

Experimental Conditions

 Availability of the “system”,

 Quantifiability of the problem,

 Absence of restrictions on the use of the experimental


method

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 52


Lectures on Scientific Research Methods

Experimental Method

 Difference between exercise and research:


 Exercise :
 Instruments
 Time
 No feedback
 Routine

 Research :
 Instrument ++
 Time ++
 Precision
 New discoveries

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 53


Lectures on Scientific Research Methods

Experimental Method

 Experimental Design and Optimization


 Design of experiments look for optimal conditions for an
investigation;
 Parameters to identify in experimentations:
 cost function of the operation,
 Precision, expressed in terms of uncertainty or errors, Δ
 damage function
 Optimization :
 Minimization of the cost, and damages,
 Maximization of the precision or minimization of the errors or
uncertainty.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 54


Innovative Research Area, EEC

Introduction to Experimental Design and


Statistical Analysis

Courtesy of Dr. Monica Tavanti,


© 2005 Eurocontrol Innovative Research

55

European Organisation for the Safety of Air Navigation


Lectures on Scientific Research Methods

Generality

 Introduction to controlled experiments, providing:


 Practical rules rather than theoretical explanations,
 Necessary notions to get acquainted to some basic elements of design
of experiments,
 Commonly used statistical tests, namely Analysis of Variance (ANOVA),
 Brief description of non-parametric alternatives to ANOVA,
 Simple examples entailing only one independent variable, but more
than two levels, allowing to plan and perform quite complex exploratory
experiments.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 56


Lectures on Scientific Research Methods

Obligations and Recommendations

 The researcher has responsibility towards the subjects involved in the experiment.
 The subjects have the right to privacy, confidentiality, and the right to be informed about
the nature of the research, and must be treated with respect.
 Any subject has the right to withdraw from an experiment at any time.
 Any explanation that is required by the subjects shall be provided (compatibility with the
purposes of the experiment, i.e. do not reveal the hypotheses beforehand).
 Sometimes the subjects might feel frustrated if they feel that their performance was not
good enough. The researcher must stress that the main goal of the research is to
assess the performance or to evaluate some properties of some
tools/algorithms/automations in general. Must make sure that every participant feels
comfortable.
 It is a good practice to obtain an informed consent from the participants.
 The researcher shall be as neutral as possible, do not reveal expectations about the
experiments either explicitly or implicitly.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 57


Lectures on Scientific Research Methods

Other Obligations

 Other obligations of the researcher:


1. Perform a risk/benefits evaluation (e.g. possible effects on the
participants, etc.)
2. Do not make any alteration on the data. If so, then explain what was
done and why (e.g. how and why some participants’ scores were
removed.)
3. Errors identified a posteriori to the research have to be acknowledged
to the readers.
4. Avoid plagiarism and do not write other people’s work as if it was own.
5. Anybody who contributed to a research should be acknowledged in all
written materials.
6. Share the data.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 58


Lectures on Scientific Research Methods

Planning an Investigation

 Some advices on how to structure and plan a research:


1. Review past studies in the same area (literature review). The
knowledge of what was done before on the same topic is essential to
every research.
2. Defining a specific topic. The review of the state of the art, the specific
problems and topics of interests can be identified.
3. Define the hypotheses. In general terms, a research should be guided
by some hypotheses. This is mostly true when we want to perform
experiments: the aim of an experiment is to test a hypothesis.
4. Pilot studies. It is a good habit to run some preliminary trials, in order
to check if the design and the procedures are appropriate and to verify
if the equipments are properly working.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 59


Lectures on Scientific Research Methods

Variables and Conditions

 Experiment allows the manipulation of some factors in order to measure the


possible effects of this manipulation.
 Variables are measurable properties of a certain event. A variable can be:
 Independent, i.e. causing a change of another variable, or
 Dependent, i.e. affected by a dependent variable.
 Irrelevant, i.e. can unpredictably affect the outcomes of an experiment.
 Example: “test whether a new teaching method would help young pupils in
the study of math.”
 A simple design: two groups of pupils: one learning with new method, and one
with traditional scheme.
 independent variable manipulated here is the teaching method and has two
levels: new vs. traditional method.
 Dependent variable: scores obtained by the two groups of pupils in an exam.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 60


Lectures on Scientific Research Methods

Experiment and Null Hypothesis

 The aim of an experiment is to test a hypothesis, i.e. making


predictions about the outcomes of an experiment.
 Before the experimental results are known, the researcher
cannot be fully sure about the impact of the independent
variable on the dependent ones. This is mostly true when a
study is purely exploratory.Thus every experimental hypothesis
is tended against a null-hypothesis, i.e. the results that do not
support the experimental hypothesis.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 61


Lectures on Scientific Research Methods

Validity

 Validity refers to the conclusions that a researcher can


establish concerning the causal relationship between the
independent and the dependent variable. There are four types
of validity that need to be taken into account: internal validity,
construct validity, external validity, and statistical validity.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 62


Lectures on Scientific Research Methods

Validity

 Internal validity, refers to the internal logic of the relationship


identified: the relationship has to be clear, meaning that no
irrelevant variable had, in someway, caused the effect (i.e.
modified the dependent variable).

 External validity refers to the generalizability of the results of a


research to other subjects, settings, etc.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 63


Lectures on Scientific Research Methods

Validity

 Construct validity, refers to the extent to which what it is


manipulated and measured it is really what is needed to
support a theory.
 Example: taking again the example of the pupils learning math, the
researcher should evaluate the adequacy and the strength of the
teaching method and also consider whether measuring the math scores
is the most appropriate way to show that the method was really
effective, etc.).
 Statistical validity, this type of validity implies that the causal
relationship (between and independent variable and dependent
variable) discovered should not be casual.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 64


Lectures on Scientific Research Methods

Measurements and Scales

 The notion of variable is closely related to the notion of


measurement, a rather obvious statement. “Measuring” means
assigning numerical values to an event or to an object
according to a certain rule.
 It is common to distinct four scales of measurement that differ
in the manner (the rule) the values are assigned to events or
objects.
 Nominal scales. In this scale, the numbers are labels allowing the
classification of objects and events according to some categories
(e.g. female=1, male=2, or vice versa).
 Ordinal scales. This scale allows the ranking of the events or
objects according to an order (e.g. from “very sweet”=10, to “very
bitter” =1, etc.). This type of scale (e.g. the ordinal position) does
not provide any information about the differences between its
composing elements; in other words, one cannot say that “very
sweet” is ten times sweeter than “very bitter”.
BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 65


Lectures on Scientific Research Methods

Measurements and Scales

 Interval scales. With the interval scale, instead, the differences


among the values have meanings, since it is assumed that here
are equal intervals between the values.
 A classical example of interval scale is the temperature. The
difference between 30° and 20° Celsius is the same as between 40°
and 50°.
 Ratio scales. Similarly to the interval scale, it scale gives
information concerning the magnitude of the differences between
the measured events, but the ratio scale gives additional
information: it is provided with a true zero point.
 Taking again the example of the temperature: would it be meaningful
to state that: 20° is twice as warm as 10°? If the same example is
provided with centimetres, then the statement is provided with sense.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 66


Lectures on Scientific Research Methods

Design and Control

 The terms «a simple design», mentioning the fact that the researcher
had selected two groups of pupils, one receiving the new teaching
method and the other one receiving a traditional method. This means,
for example, that ten students are allocated to one experimental
condition, and ten students to the other condition. In this case we
have a between-subjects design.
 When using different groups of subjects it is necessary to bear in
mind that there could be a variability linked to the subjects (e.g. some
students remarkably good at math).

Proposition I: In order to deal with this type of problems, all the subjects
have to be assigned randomly to each condition.
 Random assignment means that every subject must have equal
chances to end up in one of the conditions. Random assignment is
essential. Following non-random strategies may lead to biased results.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 67


Lectures on Scientific Research Methods

 Another way to tackle the variability of the subjects is assigning the


same subjects to different conditions. This is a within-subjects
design. Also this design implies some problems, mostly related to
carry-over or learning effects.

Proposition II: Counterbalance the order of the treatment.


 In our example, the treatment corresponds to the type of teaching method
(e.g. treatment A and B = method new and traditional).
 So, having twenty pupils as subjects, half of the subjects should receive
first the treatment A and then the treatment B; and the other half, should
receive first the treatment B and then the treatment A.
 For more than two condition a Latin Square might be used (i.e. giving a
treatment so that the order of presentation is different for each subject).

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 68


Lectures on Scientific Research Methods

 Control is very important to maintain the validity of an experiment.


It helps to exclude that other irrelevant variables (than the selected
independent variable) will affect the results.
 A last remark concerns the number of the subjects. How many
subjects should participate to an experiment?

Proposition III: There is one rule of thumb: as many subjects as


possible.
 The more available the data is, the more reliable the results will be.
 Usually, in many experiments, a number between 10 and 15 for each
condition is used; however, when feasible, increasing this amount is
advisable.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 69


Lectures on Scientific Research Methods

Brief Intro to Statistical Analysis

 Once the experiment is carried out and we have the scores, we


have to summarize the data in a descriptive manner.
 Given a list of scores (e.g. math scores of our example) we can
put them together and try to get some “impressions” about
them.
 There are three “summary” statistics giving some ideas about
the central measure of our data:
 Mean, or average - the sum of the scores and divided by their number;
 Median - the middle point of the ordered scores;
 Mode - the most frequently occurring value among the scores.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 70


Lectures on Scientific Research Methods

 The mean, mode and median give information about the central
tendency of the scores, which is, where the scores tend to aggregate
and cluster together.
 But, there are also some “markers” of variability, that is, the opposite
tendency of the scores to spread and differentiate away form each
other, namely the variance and the standard deviation.

Mean Median Mode Group_new Group_tradit


ional
10 1 10 10 5
8 3 8 8 2
5 4 5 7 8
3 5 3 8 5
5 5 5 7 8
7 7 7 9 2
1 8 1 6 6
4 9 4 8 10
9 10 9 10 2
5.8 5 5 Mean 8.1 Mean 5.3
SD 1.4 SD 3.0
Table 1: mean, median and mode Table 2: mean and SD for the two BK

conditions TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 71


Lectures on Scientific Research Methods

 The variance ( s2) tells us the degree to which the value for each person
deviates from the mean of the group. It is calculated starting from the Sum
of the Squared deviates (SS), obtained subtracting each score from the
mean and squaring each value. Then all the values are summed up; this
sum is then divided by the number of scores. In other words:

s =2 # i x
(x " M ) 2

=
SS
N N
 Where xi represents the score, M is the mean, and N is the number of scores.
 The standard deviation (SD) is the square root of the variance.
 A simple example on the meaning of variability and spread: if you have a group
!of 9 nine scores and the value of any of the scores is five, both variance and SD
will be zero: that is, there is no variability in the scores.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 72


Lectures on Scientific Research Methods

Statistical Probability

 Usually when speaking about the results of an


experiment, we hear things like: the difference is
significant, or, the difference is not significant,
when referring (for example) the means of the
scores of two groups. What does this mean?
 Let’s take again the example of the teaching methods.
There are two groups, one for each condition; the
researcher carried out the experiment, collected the
results, summarised the data. Looking at the Table 2, it
seems that the averages of the scores are different (8.1 vs.
5.3); but are they significantly different?

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 73


Lectures on Scientific Research Methods

Statistical Test

 Statistical tests tell us the probability whether an outcome of a


research is due by chance.
 More exactly, they can tell the percentage of probability that a
certain effect is due to chance.
 This critical probability is called alpha (written also as: α or p). An
important decision concerns to what degree we are ready to take
the risk that a certain result is random.
 For example,if we take a decision criterion so that p =.05, then we
also accept the fact that there is a 5% probability that the results are
just random;
 otherwise, we may want to accept only a 1 % probability that the
results are just random (p=.01), etc.

Proposition IV: It is a good rule to set the alpha level before the
experiment (e.g. p=.05) and then to stick with that level also after,
no matter how significant the results are. BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 74


Lectures on Scientific Research Methods

Statistical Tables
 These probabilities levels are provided in statistical tables. These tables
report the critical values for a certain statistic and the associated levels of
significance;
 in other words, they support the identification of a certain level of significance
for any given difference.
 Another important issue is whether the experimental hypothesis is “open”
or “closed”. To be more precise, we must decide whether the
experimental hypothesis is one-tailed or two-tailed.
 This means that the researcher investigating the teaching method could
predict if the new teaching method will affect the math scores (in either ways,
thus the prediction does not go into a specific direction) or if the new teaching
method will increase the math scores of the pupils, or vice versa (thus making
a prediction going into a specific direction).

 Probabilities values are additive. Deciding that a hypothesis goes in either


directions, means that the probabilities of a random difference is given by
the added probabilities of random differences arising in both directions.
 Predicting an outcome that goes in either directions means doubling the
probabilities that a certain difference occurs by chance. BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 75


Lectures on Scientific Research Methods

Error Types
 There are two ways in which a researcher could be
wrong about her/his hypotheses: Let’s consider
again the null hypothesis (usually written as: H0):

H0 False H0True
Reject H0 Correct Type I error
Decision
Fail to reject H0 Type II error Correct

 A Type I error occurs when we reject the null hypothesis


when it is true; vice versa if we accept the null hypothesis
when it is false, then we commit a Type II error.
 The researcher should decide whether it is more or less
risky to make a Type II error (or vice versa). Knowing
this, the researcher should be aware of the “limits” that a
research involves, and decide for the less risky situation. BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 76


Lectures on Scientific Research Methods

Proposition V: Usually, for an exploratory study, a .05


level is acceptable as decision criterion.

Proposition VI: Setting a smaller α will help reducing


Type I errors.

 With inferential statistics we can speculate whether a


certain effect (or result, or difference, etc.) observed in
one sample is also “generalizable” to the entire
population. This simple fact implies that we have to
evaluate whether a p level of .05 is acceptable for the
purposes of the research.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 77


Lectures on Scientific Research Methods

Statistical Tests

 There is distinction to make, between “parametric


and non-parametric” statistical tests. Traditionally,
the choice between these two “types” is dictated by
some rules.
 Usually, parametric tests require the following
conditions to be satisfied:
1. The scores are measured in an interval or ratio scale.
2. The scores approximates to normal distribution.
3. There is homogeneity of variance.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 78


Lectures on Scientific Research Methods

 Usually the scores are distributed so that there are more


“middle values” than “extreme values”.
 In other words, if we could account for, let’s say, the height of a
population, we would discover that very short and very tall people
are less frequent than “middle height people”.
 A normal distribution curve is elevated in the middle, that is,
where the highest frequency occurs, and it looks symmetrical.
 Example: The bars represent the scores (with middle range
scores in the middle and extreme scores at the tails), the curve is
elevated in the middle, where the highest frequency occurs.

1.20 1.68 2.10

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 79


Lectures on Scientific Research Methods

 Plotting the frequency distribution of the data (i.e. the scores)


with a histogram helps us to discover whether the data
approximates (or “look like”) the normal distribution.
 The third condition allowing the selection of a parametric test
is the homogeneity of variance. This means that the variability
in the conditions should be (more or less) the same.
Proposition VII: Non-parametric tests require less rigid
requirements to be satisfied if compared to parametric tests.
When the requirements for using a parametric test are not
present, then, a non parametric test should be used.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 80


Lectures on Scientific Research Methods

Degree of Freedom

 Degree of Freedom (DOF) = Freedom to vary.


 Let’s imagine to have two dishes A and B and that we need to
place some beans into the dishes, given the condition that the
total sum of the beans to be placed into the two dishes is 10.
 At the beginning of this process we are free to put any number of
beans into the first dish (e.g. 4); but then we won’t be free to place
any number of beans into the dish B; this choice is constrained by
the fact that the total sum has to be 10 (necessarily we have 6 beans
left). This means that we have only 1 DOF.
 Now, let’s assume that we have four dishes (A, B, C and D), and that
we need to fill them with 20 beans. We are free to place any amount
of beans into the dishes A, B and C (e.g. 5, 3 and 6), but the number
of beans for the dish C is constrained: there are 6 beans available for
that dish. In this case we have 3 DOF.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 81


Lectures on Scientific Research Methods

 More Example:
 Now, let’s take a sample of 4 subjects, and consider a situation in which
only the number of subjects (4), the scores of three subjects (e.g. 2, 3 and
6) and the sum of the scores (20) are known.
 The score of the fourth subject is also predictable. This means that this
fourth score has no freedom to vary, and that there are 3 DOF.

 The DOF is an important concept to many statistical tests. It is


necessary to calculate the appropriate DOF.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 82


Lectures on Scientific Research Methods

Analysis of Variance

 A commonly used parametric test is the analysis of variance


(ANOVA). Two types of ANOVA will be described:
 one for between-subjects design, and
 one for within-subjects design.
 These statistical tests can be used to seek differences
between more than two levels of one independent variable
(e.g. comparing the math scores after three different teaching
methods have been used).
 As spoken by its name, this test is based on the concept of
variance, which is the degree to which each value deviates
from the mean of a certain group.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 83


Lectures on Scientific Research Methods

ANOVA

 ANOVA allows making estimations concerning the variance of


a population, “comparing”:
 the variance coming within the levels of the independent variable
(thus, variation due error, e.g. individual differences);
 the variance coming from between the levels of the independent
variable (or variation between the means).
 This “comparison” is a ratio (called F) between Variation
between the means and Unexplained variation (or error).

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 84


Lectures on Scientific Research Methods

 Thus, the F ratio compares the variance between the levels of


an independent variable (i.e. difference between groups due
the independent variable) and the variance within the levels of
that variable (or error, since it cannot be explained).
 If H0 is true, the estimated variances between the means are
more or less the same (F approximating 1) and thus the
independent variable did not produce any effect on the
dependent variable.
 In order to calculate the F ratio, for every source of variance
(“between and within”), the Mean Squares, or MS have to be
calculated. The MS are obtained dividing the Sum of the Squared
deviates (SS) by the appropriate degree of freedom.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 85


Lectures on Scientific Research Methods

One Way Between-Subjects ANOVA

 The One Way between-subjects ANOVA split the variance into


two sources: (i) between groups variance, and (ii)within
groups variance (error)

Sources of variance SS df MS F p (alpha)

Between groups SS bg df bg SS bg/ df bg MS bg / MS wg …level…

Within groups (or Error) SS wg df wg SS wg/ df wg

Total SS tot df tot

Where the DOF are given by:

1. df bg = k 1 (where k is number of conditions)

2. df tot = N 1 (where N is the total number of subjects -scores-)

3. df wg = N - k

As an example, having three conditions (thus, three independent groups of subjects), and
10 subjects in each group, the degrees of freedom will be:

1. df bg = 3 1 = 2

2. df tot = 30 1 = 29
BK
3. df wg = 30 3 = 27 TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 86


Lectures on Scientific Research Methods

 The Sum of the Squares between groups (SS bg), is obtained by


finding the deviation of each condition mean from the overall
mean; every deviation should be squared and multiplied by the
number of scores; then all the data should be summed up to
have the total. The total Sum of the Squares (SS tot) is obtained
squaring the deviation of every score from the overall mean, and
then summing up them up to have the total. The SS within
groups (SS wg) is given by: SS tot − SS bg .
 Then, we can calculate the MS, for “between groups” (or MS bg)
and “within groups” (MS wg.) dividing the SS by the adequate
DOF (as shown in the table 4). The F ratio will be given by:

MSbg
F=
MSwg
BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 87


Lectures on Scientific Research Methods

 When the F value is obtained, we have to bear in mind two things:


1. Which alpha level was chosen (e.g. .05);
2. The degrees of freedom of our F (according to the previous example we have
F2,27 , where 2 is df bg and 27 is df wg).
 At this point, given the degrees of freedom 2 and 27, we can compare the
calculated F value, with the one reported in the appropriate statistical table
where the critical values (for any given alpha level) are provided.
 Usually, books of statistical analysis report the statistical tables in the appendixes.
 If the calculated F value is equal to or larger than the F value of the table,
then the null hypothesis can be rejected and the experimental hypothesis
can be accepted.
 But, if the calculated F is smaller than the one indicated in the table, we
can and accept the null hypothesis and reject the experimental
hypothesis.
 Checking the tables is somehow old-fashioned nowadays. Statistical packages report
the exact alpha value for every test performed.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 88


Lectures on Scientific Research Methods

 The ANOVA tested a “two-tailed” hypothesis, it checks for


overall differences among conditions and gives only a
“preliminary” result, which has to be further analysed (i.e. with
three conditions, a directional hypothesis is only one among of
the possible divergent hypotheses).
 If the ANOVA identified a significant difference among the
means of the three groups, then it is possible to proceed to
pair-wise comparisons, comparing one by one all the three
conditions (e.g. 1 vs. 2; 1 vs. 3; 2 vs. 3), by using other
statistical tests (an example of appropriate post-hoc test is the
HSD Tukey).
Proposition VIII: If the test allowed discovering a significant
difference among conditions, pair-wise comparisons testing
directional hypotheses can be carried out.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 89


Lectures on Scientific Research Methods

One Way Within-Subjects ANOVA

 This type of ANOVA can be used to seek differences


between more than two levels of one independent
variable administered to the same subjects.
 The same general logic explained in the previous section
applies, since the total variation in the data is attributable to two
sources: the differences between the groups and the
differences within the groups.
 However, this last source of variance is further split. More
specifically, this type of ANOVA allows distinguishing the part of
the SSwg that can be due to individual differences. This part
(called SSsubj) is removed from the analysis and the remaining
SSerror is used as the measure of unexplained variation.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 90


Lectures on Scientific Research Methods

Sources of
SS Df MS F p (alpha)
variance

Between groups SS bg df bg SS bg/ df bg MS bg / MS error …level…

Within groups SS wg df wg

Subjects SS subj df subj

Error SS error df error SS error/df error

Total SS tot df tot

The SS bg, SS wg, and SS tot can be calculated in the same manner as for the between-subjects
ANOVA. The SS subj can be obtained by taking the average of each subject’s scores for all the
conditions deduct it from the overall mean, then square the result and multiply it by the number of
conditions. In other words:
SSsubj = K(M subji " M)2
Where K is the number of conditions.

The SS error is given by: SS wg – SS subj


!
BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 91


Lectures on Scientific Research Methods

The df are calculated as follows. Assuming that we have a sample of 10 subjects, each of them
participating in an experiment in which three levels of one independent variable are evaluated, we
will have:
1. d f tot = N tot – 1 (where Ntot is total number of scores)  df tot = 30 – 1= 29
2. d f bg = k 1  d f bg = 3 – 1= 2
3. d f subj = N 1 (N is the number of subjects)  d f subj = 10 1= 9
4. d f wg = N tot K  d f wg = 30 – 3 = 27
5. d f error = df wg df subj  df error = 27 – 9= 18

When the SS bg and the SS error are divided by the corresponding degrees of freedom (cf. Table 5),
the required MS values can be obtained. The F statistic is given by:
MSbg
F=
MSerror

When the F value is obtained, the same procedure and the same logic used for the between-subjects
ANOVA apply. Having in mind the alpha level and the appropriate degrees of freedom (F2,18) the
!
calculated F value has to be compared with the critical F reported in the statistical table.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 92


Lectures on Scientific Research Methods

 Now, let’s imagine that we performed an experiment aiming to


explore whether there is a difference (for example, in terms of
reaction times) between three different interaction metaphors to be
used with a three-dimensional environment.
 For the study, a within-subjects design was used, that is, the same
subjects performed the tasks with all the three metaphors. The study
was exploratory, so we decided to choose an alpha level of .05.
 Then, we carried out the ANOVA to see if there was any significant
difference in the performance with the three metaphors, and we
obtained the F value.
 The calculated F appeared smaller than the critical F reported in the
table, at the level of significance chosen. Thus, we have to reject the
experimental hypothesis: no significant difference is found among the
three metaphors. Since we cannot accept the experimental
hypothesis, more detailed analyses with pair-wise comparisons will
not be performed (cf. Proposition IX).
BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 93


Lectures on Scientific Research Methods

Non parametric tests: the ranking


 Non parametric tests allow to perform statistical analyses when
the ANOVA conditions are not present.
 One of the differences between parametric and non parametric
tests is that non parametric tests compare the subjects’
performance not using the original scores but the ranks of the
scores.
 For instance, if we have a group of scores, they have to be ranked
in order to determine which score is higher or lower. Usually the
rank is assigned so that the smallest score goes first (the smallest
score is 3, which is ranked 1; the biggest score is 12, which is
ranked 7).
 The ranking is very easy, being all the scores different. But when we
have the same value for more than one score (i.e. tied scores), then
the average of the ranks have to be assigned. In other words, having
three scores of 1 (1, 1, 1), the rank value should be: 1+2+3/3=2.
 There are different ways to assign ranks depending on the type of
design.
BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 94


Lectures on Scientific Research Methods

 For between-subjects designs the ranks have to be assigned as if


they were a single set of ranks.
 For example, if we compare the scores of two groups, the ranks will be:
Scores Group A Ranks Scores Group B Ranks
1 1 2 2,5
4 5 6 7
5 6 3 4
2 2,5 7 8

 For within-subjects design the way to assign ranks to scores is a bit


more complicated and varies depending on the test.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 95


Lectures on Scientific Research Methods

The Kruskal-Wallis test


 This test corresponds to the between-subjects ANOVA previously described
and should be used when the requirements for the ANOVA are not met.
 As an example, we have three groups (A, B, and C), each with 10 controllers who
are engaged in a simple task, like rating the easy of use of three types of radar
displays (according to a scale so that 1 means “very bad” and 10 means “very
good”).
 Our hypothesis is that there is a difference among the means of the ratings of the
displays. The null hypothesis is that there is no difference. For this study we
decided to set .05 as the decision criterion.

the smallest value (1) corresponds to the “first” rank (1); while the largest value (7) corresponds to
the “last” rank (6). The aim of this test is to assess whether there is a significant difference
among the rank totals of three groups.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 96


Lectures on Scientific Research Methods

Once the ranks are assigned, the following equation has to be used to obtain a value called H:

12 # T 2 &
H= % " ( ) 3(N + 1)
N ( N + 1) $ n'
2
where N is the number of all subjects; n is the number of subjects in each group; T
is the squares of the rank totals for each condition
!
Once the H is known ! and the degrees of freedom are calculated (in this case, the df
are given by the number of conditions minus one, that is 3 - 1= 2 df), the ! H we found
has to be compared to the H reported in the corresponding statistical table. For the
level of s ignificance decided (.05), if the calculated H i s equal to or larger than the
critical H in the table, then the difference is significant. Let’s assume that the
calculated H is larger than the critical H reported in the table.
Thus we can say that: df=2, H=10, p<.05; we can reject the null hypothesis and accept our
experimental hypothesis. This test only checks for overall differences among conditions
(i.e. a two-tailed hypothesis). Thus, if the calculated value of H is significant, we can
proceed to pairwise comparis o n s
In this case the most appropriate test is the Mann-Whitney U test, a non parametric test for one independent
variable with two levels.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 97


Lectures on Scientific Research Methods

Friedman Test

 This test should be used for within-subjects designs entailing


more than two conditions.
 If the within-subjects ANOVA cannot be used because the
requirements for a parametric test are not satisfied (e.g. the scale
is not an interval scale, and/or the distribution does not
approximate the normal, etc.), the Friedman test is an adequate
choice.
 Suppose that we want to compare three interaction metaphors
and that we ask to a group of 8 controllers to rate each
metaphor using a scale from 1 to 5.
 Since it is a within-subjects design, every controller takes part
to three different conditions, one for each metaphor. We
decided to set an alpha level of .05.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 98


Lectures on Scientific Research Methods

 Also for the Freidman test the original scores should be ranked.
But, differently from the Kruskal-Wallis, this time, the scores ranked
entail each subject across each condition (to use a “graphical
explanation”, the ranking is done “horizontally” for each subject).
 For example, the scores of the subject 1 are ranked (in the order) 1, 3
and 2. The scores of the subject 2 are ranked: 1, 3 and 2, etc.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 99


Lectures on Scientific Research Methods

Once the r anks are assigned the " r2 value has to be found. The fo llowing equation
should be used:
## 12 & &
2
" = %% ( ) T (( * ( 3N(k + 1))
!r %$$ Nk ( k + 1) '
2

'
( )
2
Where N is the number of subjects (8); k is the number of conditions (3); T is the squares
of the rank totals for each condition. Once the " r2 value is found, it can be compared to the
!
critical " r2 reported in the corresponding statistical table. In order to find the right " r2 in the
table, the number of subjects (N) and the num ber of conditions ! (k) are required. The
2
calculated value of " r is significant (at any gi ven level of p) if it is equal to or larger than
!
the critical " r2 . Let’s assume now, that our " r2 is smaller than the critical " r2 at the level of
! !
significance decided (which was .05, cf. above). This means that we must accept the null
hypothesis and reject the experimental hypothesis. This also means that our analysis
! proceed.
cannot further
! ! !
Proposition IX: For an exploratory study, if a statistical test that checks
for overall differences among conditions does not allow accepting
the experimental hypothesis, the pair-wise comparisons (comparing
each condition against each other) cannot be performed.
BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 100


Lectures on Scientific Research Methods

Summary

 As a summary to this chapter, the main steps required to


start and perform an experiment are:
1. Formulate the hypothesis
2. Select the independent and the dependent variables
3. Check for irrelevant variables
4. Design the experiment (type of design, counterbalancing, etc.)
5. Check the scale and think about the possible options of
statistical tests
6. Check the validity
7. Perform a pilot test
o Get a “general impression” and perform some checks (e.g. validity;
appropriateness of the variables; irrelevant variables; suitability and
functioning of the equipments; correctness of the recordings; etc.)
o If required, refine the experiment and carry out additional pilot tests
BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 101


Lectures on Scientific Research Methods

Summary (2)

8. Define the α level


9. Collect the participants (at least 10 for each condition)
10. Use the random assignment to allocate the subjects to each
condition
11. Counterbalance (when required)
12. Collect the data
13. Analyze the data with descriptive statistics
14. Check the distribution and the homogeneity of variance
15. Perform the statistical analysis as it was planned (using the most
appropriate statistical test)
16. Accept / reject the null hypothesis, respecting the chosen α level

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 102


Lectures on Scientific Research Methods

Summary (3)

 The last important step is the analysis of the results. When


reporting the results of the experiment, the researcher should
explain what happened and why, that is, finding an explanation
of the results; eventually, also comparing the findings with the
results found in the literature.
 Moreover, any other possible explanation for the results should
be explored and reported.
 As a matter of fact, sometimes, an experiment is not sufficient to
address completely the topics that it aimed to tackle and
definitive conclusions cannot be drawn. The analysis of the
results can provided some hints and ideas to perform a more
refined experiment, to test new hypotheses, or to address the
problems according to a different point of view.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 103


Lectures on Scientific Research Methods

Recommended Bibliography

 Baird, D.C. (1988) Experimentation : An Introduction to Measurement Theory and Experimental Design,
2nd Ed., Prentice Halls.
 Brodsky, B. E., Darkhovsky, B. S., (2000), Non parametric statistical diagnosis, Kluwer Academic
Publishers, The Netherlands.
 Das, M. et Giri,(1989) N. Design and Analysis of Experiments, 2nd Ed., John Wiley & Sons..
 Dean, A., Voss, D., (2000), Design and analysis of experiments, Springer, NY.
 Frigon, L., Mathews, D., (1997), A practical guide to experimental design, John Wiley and Sons Inc.,
NY.
 Gooding, D., Pinch, T., et Schaffer, S. (Editors) (1989). The Use of Experiment. Cambridge University
Press.
 Hicks, C. R., Turner, K. V., (1999), Fundamental concepts in the design of experiments Fifth Edition,
Oxford University Press, NY
 Myers, J. L. (1966). Fundamentals of Experimental Design. Allyn & Bacon.
 Scheaffer, R. et al. (1986). Elementary Survey Sampling, 3rd Ed., Duxbury Press.
 Wilson, E. Bright, Jr. (1990). An Introduction to Scientific Research. Dover (McGraw-Hill 1952, 1980).
 Wickens, C. D., Gordon, S. E., Liu, Y., (1997), An introduction to human factors engineering, Addison
Wesley, NY.

BK
TP.HCM

© University of Technology & University of Sciences - VNU HCM (2008) 104

You might also like