scale2 1 measurement scales the “richness” of the measure

29
scale2 1 Measurement Scales The “richness” of the measure

Upload: shawn-carter

Post on 04-Jan-2016

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Scale2 1 Measurement Scales The “richness” of the measure

scale2 1

Measurement Scales

The “richness” of the measure

Page 2: Scale2 1 Measurement Scales The “richness” of the measure

scale2 2

Status Report on Software Measurement

Shari Pfleeger, Ross Jeffrey, Bill Curtis, Barbara Kitchenham

IEEE Software March/April 97

Page 3: Scale2 1 Measurement Scales The “richness” of the measure

scale2 3

What is the status of Soft Measure?

Page 4: Scale2 1 Measurement Scales The “richness” of the measure

scale2 4

Scales

nominal ordinal interval ratio absolute

Page 5: Scale2 1 Measurement Scales The “richness” of the measure

scale2 5

Scales

defined in terms of allowed transformations– this is not convenient– research topic

» how to relate abstractions to scales

Page 6: Scale2 1 Measurement Scales The “richness” of the measure

scale2 6

Nominal

The weakest scale Classic example

– numbers on sports uniforms Transformation

– Any 1-1 mapping Stats

– mode, frequency, median, percentile

Page 7: Scale2 1 Measurement Scales The “richness” of the measure

scale2 7

Nominal Scales

Not valid - “Our team is better because the numbers on our uniforms total more than the numbers on your uniforms”

Not valid - “Ch 11, Ch 13, Ch27, and Ch49 equal 100% of your viewing needs”

Page 8: Scale2 1 Measurement Scales The “richness” of the measure

scale2 8

Ordinal

Gives an “ordering” Classic example

– class rank Transformation

– any monotonic transformation Statistics

– spearman correlation

Page 9: Scale2 1 Measurement Scales The “richness” of the measure

scale2 9

Class Rank

Not valid - “I am ranked 4th and you are ranked 8th, so I am twice as good as you are.”

Page 10: Scale2 1 Measurement Scales The “richness” of the measure

scale2 10

Interval

The size of the intervals are constant Classic example

– temparature Transformation

– aX + b Statistics

– mean, stand dev., pearson correlation

Page 11: Scale2 1 Measurement Scales The “richness” of the measure

scale2 11

Converting Temps

How do we convert from fahrenheit to celsius?– (F-32)*5/9 = C– 68 F = 36*(5/9) = 20 C– 50 F = 18* (5/9) = 10 C– 32 F = 0*(5/9) = 0 C

Page 12: Scale2 1 Measurement Scales The “richness” of the measure

scale2 12

Temperature

not valid - “it is twice as hot today as yesterday” - this is scale dependent - if it is true for fahrenheit, it is not true for celsius

valid - “the diurnal variation today is twice what it was yesterday” (the difference between max and min).

Page 13: Scale2 1 Measurement Scales The “richness” of the measure

scale2 13

Diurnal Variation

68 F - 32 F is twice 50 F - 32 F 20 C - 0 C is twice 10 C - 0 C

Page 14: Scale2 1 Measurement Scales The “richness” of the measure

scale2 14

Ratio

Classic example – length measurement

Transformation– aX

Statistics– geometric mean, coefficient of variation

Page 15: Scale2 1 Measurement Scales The “richness” of the measure

scale2 15

Ratio Scales

have a well-accepted zero convert from one to another by

multiplication

Page 16: Scale2 1 Measurement Scales The “richness” of the measure

scale2 16

Absolute

Counting Classic example

– marbles Transformation

– no Some practioners do not consider this a

scale separate from the ratio scale

Page 17: Scale2 1 Measurement Scales The “richness” of the measure

scale2 17

Classifying Scales

Grades Shoe Size Money LOC McCabe’s Cyclomatic Number

Page 18: Scale2 1 Measurement Scales The “richness” of the measure

scale2 18

Measurement Theory

circa 1900 - applied to physics 1940’s - applied to psychology, sociology 1990’s - applied to software measurement

Page 19: Scale2 1 Measurement Scales The “richness” of the measure

scale2 19

Measurement

“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 defined rules”

Page 20: Scale2 1 Measurement Scales The “richness” of the measure

scale2 20

Measure (Fenton)

a mapping from the document to the answer set that satisfies measurement theory

the value in the answer set that corresponds to a document

compare to “metric” which is just a mapping

Page 21: Scale2 1 Measurement Scales The “richness” of the measure

scale2 21

Terminology

entity is an object or event attribute is a feature or property of the

entity

Page 22: Scale2 1 Measurement Scales The “richness” of the measure

scale2 22

Representational TOM

empirical relation system– (C,R)

numerical relation system– (N,P)– M maps (C,R) to (N,P)

representation condition– x<y iff M(x)<M(y)

Page 23: Scale2 1 Measurement Scales The “richness” of the measure

scale2 23

Empirical

A set of entities, E A set of relationships, R

– often “less than” or “less than or equal”– note that not everything has to be related

Page 24: Scale2 1 Measurement Scales The “richness” of the measure

scale2 24

Relationships - R

The set of relationships R is mathematically defined as a subset of the crossproduct of the elements, ExE

Note that not every pair of elements has to be related and an element may or may not be related to itself

Since we are interested in comparing entities, “less than” or “less than or equal”, are good relationships

Page 25: Scale2 1 Measurement Scales The “richness” of the measure

scale2 25

Examples

less than - if a < b than b is not < a less than or equal - a is “less than or equal”

to a

Page 26: Scale2 1 Measurement Scales The “richness” of the measure

scale2 26

Numerical

A set of entities– also called the “answer set”– usually numbers - natural numbers, integers or

reals A set of relations

– usually already exists– often “less than” or “less than or equal”

Page 27: Scale2 1 Measurement Scales The “richness” of the measure

scale2 27

The Mapping

The representation condition– M(x) rel M(y) if x rel y– x rel y iff M(x) rel M(y)

Both have been used by classical measurement theory authors

Fenton prefers the second definition

Page 28: Scale2 1 Measurement Scales The “richness” of the measure

Questions

Page 29: Scale2 1 Measurement Scales The “richness” of the measure

Questions