Learn: Statistics and Data Analysis: Key Concepts and Distance Measures

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/69

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 11:17 PM on 9/24/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

70 Terms

1
New cards

Nominal

categories, no order.

2
New cards

Ordinal

categories with order.

3
New cards

Interval

meaningful differences but no true zero.

4
New cards

Ratio

true zero and meaningful ratios.

5
New cards

Categorical

qualitative.

6
New cards

Numerical

quantitative.

7
New cards

Discrete

countable values.

8
New cards

Continuous

real-number measurements.

9
New cards

Binary is a

special type of discrete attribute.

10
New cards

Asymmetric

presence matters more than absence.

11
New cards

Dimensionality

number of attributes.

12
New cards

Higher similarity

more alike.

13
New cards

Lower dissimilarity/distance

more alike.

14
New cards

Proximity can refer to

similarity or dissimilarity.

15
New cards

Nominal same values →

similarity 1, distance 0.

16
New cards

Nominal different values →

similarity 0, distance 1.

17
New cards

Euclidean

L2 = straight-line distance.

18
New cards

Euclidean:

subtract → square → add → square root.

19
New cards

Standardize when

attribute scales differ.

20
New cards

Distance from a point to itself

0.

21
New cards

Manhattan

L1 = city-block distance.

22
New cards

Manhattan uses

absolute differences.

23
New cards

f01

x0/y1.

24
New cards

f10

x1/y0.

25
New cards

f00

both 0.

26
New cards

f11

both 1.

27
New cards

SMC counts

0-0 matches.

28
New cards

Jaccard ignores

0-0 matches.

29
New cards

Jaccard similarity

shared positive overlap.

30
New cards

Jaccard distance

1 āˆ’ similarity.

31
New cards

Identical sets →

Jaccard distance 0.

32
New cards

No overlap →

Jaccard distance 1.

33
New cards

Intersection

shared items.

34
New cards

Union

all unique items.

35
New cards

Cosine

direction, not magnitude.

36
New cards

Cosine 1

same direction.

37
New cards

Cosine 0

orthogonal.

38
New cards

Cosine āˆ’1

opposite direction.

39
New cards

Correlation range

āˆ’1 to +1.

40
New cards

+1

perfect positive correlation.

41
New cards

0

no linear correlation.

42
New cards

āˆ’1

perfect negative correlation.

43
New cards

Correlation

does not prove causation.

44
New cards

A confounding variable

may affect both variables.

45
New cards

#

starts a Python comment.

46
New cards

Python indentation/whitespace

matters.

47
New cards

def

defines a function.

48
New cards

return

returns function output.

49
New cards

"\t"

has length 1.

50
New cards

r"\t"

has length 2.

51
New cards

[ ]

list.

52
New cards

( )

tuple.

53
New cards

dict

mapping/key-value pairs.

54
New cards

.split(",")

splits at commas.

55
New cards

Values returned by .split()

are still strings.

56
New cards

float()

converts to floating point.

57
New cards

.append()

adds to a list.

58
New cards

Iteration

repeatedly visiting items.

59
New cards

Iterable

can be iterated through.

60
New cards

A list comprehension

has the general form [expr for value in collection if condition].

61
New cards

Regex

pattern matching/searching text.

62
New cards

.

any character.

63
New cards

\d

digit.

64
New cards

\w

word character.

65
New cards

+

one or more.

66
New cards

*

zero or more.

67
New cards

[ ]

listed/ranged characters.

68
New cards

^

start of string.

69
New cards

$

end of string.

70
New cards

[a-z]+

one or more lowercase letters.