Fundamentals in Measurement Theory: Scales, Measures, and Errors in Software Metrics, Slides of Undefined

An introduction to measurement theory, focusing on scales and measures used in software metrics. It covers the classification of scales, including nominal, ordinal, interval, and ratio scales, and discusses basic measures such as ratio, proportion, percentage, and rate. The document also explores issues related to making a measurement plan and the importance of reliability and validity in measurement. Additionally, it touches upon six sigma and the concept of validity, including construct, content, and criterion-related validity.

Typology: Slides

2010/2011

Uploaded on 10/31/2011

naachiz
naachiz 🇵🇰

4.5

(24)

34 documents

1 / 63

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Department of Computer & Information Sciences
Pakistan Institute of Engineering and Applied Sciences
Department of Computer & Information Sciences
Pakistan Institute of Engineering and Applied Sciences
Software Quality
Lecture 9
Lecture
9
Fundamentals in Measurement Theory
Umar Faiz
http://www.pieas.edu.pk/umarfaiz/cis441
Software Quality
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f

Partial preview of the text

Download Fundamentals in Measurement Theory: Scales, Measures, and Errors in Software Metrics and more Slides Undefined in PDF only on Docsity!

Department of Computer & Information Sciences Department of Computer & Information SciencesPakistan Institute of Engineering and Applied SciencesPakistan Institute of Engineering and Applied Sciences

Software Quality

Lecture 9Lecture 9

Fundamentals in Measurement Theory

Umar Faiz

http://www.pieas.edu.pk/umarfaiz/cis

Software Quality

Fundamentals

in

Measurement

Theory

Objective

ƒ^

To describe the current state of the art in the ƒ^

To

describe

the

current

state

‐of

‐the

‐art

in

the

measurement

of

software

products

and

process.

http://www.pieas.edu.pk/umarfaiz/cis

Fundamentals

in

Measurement

Theory

Measurement

ƒ^

Measurement is the process by which numbers or symbols ƒ^

Measurement

is

the

process

by

which

numbers

or

symbols

are

assigned

to

attributes

of

entities

in

the

real

world

in

such

a

way

as

to

describe

them

according

to

clearly

d fi

d

bi

l

d

efined

unambiguous

rules

http://www.pieas.edu.pk/umarfaiz/cis

Fundamentals

in

Measurement

Theory

Classification

of

Scales

ƒ^

In classifying we attempt to sort elements into categories ƒ^

In

classifying

we

attempt

to

sort

elements

into

categories

with

respect

to

a

certain

attribute.

Five

types

of

scales

can

be

described

that

are

characterized

by

their

admissible

t^

f^

ti

transformations

ƒ^

Nominal ƒ^

Ordinal ƒ^

Ordinal ƒ^

Interval ƒ^

Ratio ƒ^

Absolute

http://www.pieas.edu.pk/umarfaiz/cis

Fundamentals

in

Measurement

Theory

Nominal

Scale

ƒ^

In a nominal scale

the two key requirements for the

ƒ^

In a nominal scale, the two key requirements for thecategories are jointly exhaustive and mutually exclusive.

ƒ^

Mutually

exclusive

means

a

subject

can

be

classified

into

one

and

y^

j

only

one

category.

ƒ^

Jointly

exhaustive

means

that

all

categories

together

should

cover

all possible categories of the attribute If the attribute has moreall

possible

categories

of

the

attribute

.^ If

the

attribute

has

more

categories

than

we

are

interested

in,

an

"other"

category

is

needed

to

make

the

categories

jointly

exhaustive.

http://www.pieas.edu.pk/umarfaiz/cis

Fundamentals

in

Measurement

Theory

Ordinal

Scale

ƒ^

An ordinal scale is a measurement scale that assigns values ƒ^

An

ordinal

scale

is

a

measurement

scale

that

assigns

values

to

objects

based

on

their

ranking

with

respect

to

one

another.

ƒ^

For

example,

we

may

classify

families

according

to

socio

‐economic

status:

upper

class,

middle

class,

and

lower

class.

ƒ^

The ordinal measurement scale is at a higher level than ƒ^

The

ordinal

measurement

scale

is

at

a

higher

level

than

the

nominal

scale

in

the

measurement

hierarchy.

An

ordinal

scale

is

asymmetric

in

the

sense

that

if

A

B

is

true

th

B

A i

f l

It h

th

t^

iti it

t^

i^

th t if

th

en

B

A

is

f

alse.

It

h

as

th

e

t

ransitivity

property

in

th

at

if

A

B

and

B

C,

then

A

C.

http://www.pieas.edu.pk/umarfaiz/cis

Fundamentals

in

Measurement

Theory

Ratio

Scale

ƒ^

Ratio scales are like interval scales except they have true ƒ^

Ratio

scales

are

like

interval

scales

except

they

have

true

zero

points. ƒ^

A^

good

example

is

the

Kelvin

scale

of

temperature.

This

scale

has

g^

p^

p

an

absolute

zero.

Thus,

a

temperature

of

300

Kelvin

is

twice

as

high

as

a

temperature

of

150

Kelvin

http://www.pieas.edu.pk/umarfaiz/cis

Fundamentals

in

Measurement

Theory

Some

Basics

Measures

ƒ^

Basic measures such as ratio proportion percentage and ƒ^

Basic

measures

such

as

ratio

,^ proportion

,^ percentage

,^ and

rate,

are

frequently

used

in

various

activities

associated

with

software

development

and

software

quality.

http://www.pieas.edu.pk/umarfaiz/cis

Fundamentals

in

Measurement

Theory

Ratio

in

Software

Metrics

ƒ^

Ratios are also used in software metrics The most often ƒ^

Ratios

are

also

used

in

software

metrics

.^

The

most

often

used,

perhaps,

is

the

ratio

of

number

of

people

in

an

independent

test

organization

to

the

number

of

those

in

th

d

l^

t^

Th

t^

t/d

l^

t h

d

th

e

d

evelopment

group.

Th

e

t

est/development

h

ead

count

ratio

could

range

from

to

depending

on

the

management

approach

to

the

software

development

process.

http://www.pieas.edu.pk/umarfaiz/cis

Fundamentals

in

Measurement

Theory

Proportion

ƒ^

Proportion is different from ratio in that the numerator in ƒ^

Proportion

is

different

from

ratio

in

that

the

numerator

in

a

proportion

is

a

part

of

the

denominator:

P^

=^

a a+b

ƒ^

Proportion

also

differs

from

ratio

in

that

ratio

is

best

used

f^

t^

h

ti

i^

d f

lti l

for

t

wo

groups,

whereas

proportion

is

used

f

or

multiple

categories

(or

populations)

of

one

group.

http://www.pieas.edu.pk/umarfaiz/cis

Fundamentals

in

Measurement

Theory

Proportion

ƒ^

When the numerator and the denominator are integers ƒ^

When

the

numerator

and

the

denominator

are

integers

and

represent

counts

of

certain

events,

then

p

is

also

referred

to

as

a

relative

frequency.

For

example,

the

f ll

i^

i^

th

ti

f^

ti fi d

t^

f

following

gives

th

e

proportion

of

satisfied

customers

of

the

total

customer

set:

Number of satisfied customersNumber

of

satisfied

customers

Total

number

of

customers

of

a

software

product

ƒ^

The

numerator

and

the

denominator

in

a

proportion

need

not

be

integers.

They

can

be

frequency

counts

as

well

as

measurement

units

on

a

continuous

scale.

When

the

measurement

unit

is

not

integer,

proportions

are

called

fractions.

http://www.pieas.edu.pk/umarfaiz/cis

Fundamentals

in

Measurement

Theory

Rate

ƒ^

The concept of rate is associated with the dynamics ƒ^

The

concept

of

rate

is

associated

with

the

dynamics

(change)

of

the

phenomena

of

interest;

generally

it

can

be

defined

as

a

measure

of

change

in

one

quantity

(y)

per

it

f^

th

tit

hi h th

f^

unit

of

another

quantity

x)

on

which

th

e

f

ormer

y)

depends. ƒ^

Usually the x variable is time It is important that the timeUsually

the

x

variable

is

time

.^ It

is

important

that

the

time

unit

always

be

specified

when

describing

a

rate

associated

with

time.

http://www.pieas.edu.pk/umarfaiz/cis

Fundamentals

in

Measurement

Theory

Issues

that

can

be

Measured?

1 Schedule:1.

Schedule:

ƒ^

Can

we

expect

it

to

be

done

on

time?

2 Cost:2.

Cost:

ƒ^

Can

we

afford

to

fi

nish this

project,

or

will

it

end

up

costing

more

than

it

is

worth?

Size:

ƒ^

How

big

is

the

product

so

far?

Is

the

scope

stable?

http://www.pieas.edu.pk/umarfaiz/cis

Fundamentals

in

Measurement

Theory

Issues

that

can

be

Measured?

4 Quality :4.

Quality

ƒ^

Is

the

product

being

made

well,

with

few

bugs?

5 Ability :5.

Ability

ƒ^

How

much

design/coding/debugging/etc.

can

this

team

do

per

month?

Performance

ƒ^

Is

the

program

fast

enough,

using

reasonable

resources?

http://www.pieas.edu.pk/umarfaiz/cis