Professional Documents
Culture Documents
Interval scale!
It allows descriptive
and tendency analysis
(H
0
: H = S or H S
or H S; N: =meuian)
Ordinal scale!
It allows only descriptive
analysis, e.g. frequency
analysis, mode, .
Slide 14
Empirical Model Building &
Methods
Formalization of hypotheses (Example!!!!)
Requirements engineers using the new requirement notation are more
efficient than using activity diagram.
H
1
: p
NRN
,
cicicncy
p
A
,
cicicncy
H
0
: p
NRN
,
cicicncy
<
p
A
,
cicicncy
Requirements engineers using the new requirement notation are more
effective than using (e.g.) activity diagram.
H
1
: p
NRN
,
cccti:cncss
p
A
,
cccti:cncss
H
0
: p
NRN
,
cccti:cncss
< p
A
,
cccti:cncss
Requirements engineers accepts the new requirement notation more than
(e.g.) activity diagram.
H
1
: p
NRN
,
occcptoncc
p
A
,
occcptoncc
H
0
: p
NRN
,
occcptoncc
< p
A
,
occcptoncc
But, e.g.
efficiency time!
more efficient less time!
Be aware that the formalization of hypotheses depends on the
operationalization!
Slide 15
Empirical Model Building &
Methods
Formalization of hypotheses (Example!!!!)
Requirements engineers using the new requirement notation are more
efficient than using activity diagram.
Efficiency time!
H
1
: p
NRN
,
timc
< p
A
,
timc
H
0
: p
NRN
,
timc
p
A
,
timc
Requirements engineers using the new requirement notation are more
effective than using (e.g.) activity diagram.
Effectiveness total N defects and N of defects per type!
H
1
: p
NRN
,
Jcccts
<
p
A
,
Jcccts
H
0
: p
NRN
,
Jcccts
p
A
,
Jcccts
H
1
: p
NRN
,
Jcccts
,
cotcgory
i
< p
A
,
Jcccts
,
cotcgory
i
H
0
: p
NRN
,
Jcccts
,
cotcgory
i
p
A
,
Jcccts
,
cotcgory
i
with i:=missing, extraneous, ambiguous, inconsistent, correct and miscellaneous information
How do you formalize the hypothesis(es) concerning acceptance?
Slide 16
Empirical Model Building &
Methods
Sampling (Example!!!!)
What sampling and sample type will be used?
Population: Requirement engineers
Sample: Novice, e.g. students of the lecture of requirement
engineering.
Why? Avoiding bias because high experience in activity diagram.
x x x x
x x x x
x x x
x x x
x x x x
x x
u: Rcquircmcnt
cnginncrs
Proctitioncrs
No:iccs
How do you select
subjects from the
population?
Probability sampling
- random, systematic, stratified
Non probability sampling
- quota, convenient
Be aware that we distinguish between randomization by :
1. Selecting subject from the population
2. Assigning subject to experimental treatments This
determined if the study is an experimental or quasi-
experimental design!!!
Slide 17
Empirical Model Building &
Methods Sampling
What sample size is required?
Depends on:
Type of hypotheses: difference, change or causal
Expected effect size
Statistical test to be used, and
Slide 18
Empirical Model Building &
Methods
Sampling (Example!!!!)
What characteristics of the subjects should be collected?
Individual attributes? e.g.
: Languages Its assumed that master and bachelor student
have an average English level.
; Education master and bachelor students from different
countries
; Highest education degree, major and the corresponding
University
; Experience
; In general, experience in software development, experience
in requirement elicitation , requirement documentation,
requirement inspection,
; In particular, experience in graphical notations, activity
diagrams,
What about gender, age, nationality, ?
Slide 19
Empirical Model Building &
Methods
Sampling (Example!!!!)
What characteristics of the subjects should be collected?
Project attributes?
Type, size
Team structure
Development environment
Application domain
What about organizational attributes ?
Slide 20
Empirical Model Building &
Methods
Sampling
What characteristics of the subjects should be collected?
How to Demographic test
1 or more questionnaires with open and closed questions
If information is required for assigning subjects to treatment, ask for
the corresponding information before or during the training.
Asked for remaining information, at the end of the study
When should we use open and closed question? Why?
Slide 21
Empirical Model Building &
Methods
Sampling (Example!!!!)
What characteristics of the subjects may be considered as
confounding or control variables?
Confounding variables
e.g. Experience
When do you identify and analyze them? Why?
Design and analysis
What can you do if you identify a potential cofounding variable
during design?
Make it constant
Transform it in an independent variable (factor)
Use parallelization or matching sampling
Take the risk
How do you explore cofounding variables during data
analysis?
Control
variables
Slide 22
Empirical Model Building &
Methods Research design (Example!!!!)
Comparison (Quasi-) experiment?
How many factors and groups?
How will you assign subjects to groups?
What is the experimental treatment? number and sequence of
steps, tasks and sessions; time,
What materials are required?
What instruments are required?
Slide 23
Empirical Model Building &
Methods
Validity threats
Are observed relationships due to cause-effect
relationship?
Are correct conclusions drawn from (correct) statistical
analysis?
Do employed measures
appropriately reflect
constructs they represent?
Can findings of the study be generalized?
Slide 24
Empirical Model Building &
Methods Validity threats (Example!!!!)
Internal Validity?
Selection
Maturation
History
Instrumentation
Mortality
Testing
External Validity?
Interaction of selection and treatment
Interaction of setting and treatment
Interaction between history and treatment
Slide 25
Empirical Model Building &
Methods Validity threats (Example!!!!)
Conclusion Validity?
Low statistical power
Violated assumptions of statistical tests
Fishing for results and error rate
Reliability of measures
Reliability of treatment implementation
Construct Validity?
Inadequate operation
Mono-operation bias
Mono-method bias
Slide 26
Empirical Model Building &
Methods
What are the next steps?
Slide 27