3 Statistics probability and distances

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

1/41

encourage image

There's no tags or description

Looks like no tags are added yet.

42 Terms

1
New cards

What is the sample mean?

x_bar = sum(x_i) / n.

2
New cards

What is the sample median?

The middle ordered value, or the average of the two middle values for an even sample size.

3
New cards

When is the median more robust than the mean?

When extreme observations or strong skewness would disproportionately affect the mean.

4
New cards

What is the sample variance?

s² = sum((x_i - x_bar)²) / (n - 1), for n > 1.

5
New cards

What is the sample standard deviation?

The square root of sample variance; it measures spread in the original measurement units.

6
New cards

What is the interquartile range?

IQR = Q3 - Q1, the spread of the middle 50% of ordered values.

7
New cards

What do covariance and Pearson correlation describe?

Linear co-variation; correlation standardizes covariance by the two standard deviations.

8
New cards

What is Pearson correlation's range when defined?

From -1 to 1.

9
New cards

Does zero Pearson correlation establish independence?

No. Variables can have a nonlinear dependence with zero linear correlation.

10
New cards

Does correlation establish causation?

No.

11
New cards

Which plot is appropriate for the distribution of one numerical variable?

A histogram or density plot; a boxplot gives a compact summary.

12
New cards

Which plot helps inspect the relationship between two numerical variables?

A scatter plot.

13
New cards

Why should numerical summaries sometimes be computed within subgroups?

Pooling distinct groups can hide or create apparent patterns relative to within-group behavior.

14
New cards

What does multidimensional scaling aim to preserve?

Pairwise dissimilarities in a lower-dimensional representation as closely as its criterion permits.

15
New cards

Why can a two-dimensional MDS plot misrepresent cluster separation?

Projection distorts some distances and can hide structure present in higher dimensions.

16
New cards

What is Euclidean distance?

d(x,y) = sqrt(sum_j (x_j - y_j)²).

17
New cards

What is Manhattan distance?

d(x,y) = sum_j abs(x_j - y_j).

18
New cards

How does Minkowski distance generalize Euclidean and Manhattan distance?

d_q(x,y) = (sum_j abs(x_j-y_j)^q)^(1/q); q=1 gives Manhattan and q=2 gives Euclidean.

19
New cards

Why can measurement units dominate Euclidean distance?

Features with larger numerical scales contribute larger squared differences unless suitably scaled.

20
New cards

How is Jaccard similarity defined for binary attributes?

Shared presences divided by positions where at least one object is present; shared absences are excluded.

21
New cards

When is Jaccard preferable to simple matching?

When shared absence is uninformative, as with sparse purchase indicators.

22
New cards

What is simple matching similarity for binary vectors?

The proportion of positions with matching values, counting both shared presences and shared absences.

23
New cards

What is cosine similarity?

cos(x,y) = (x dot y) / (norm(x) norm(y)), for nonzero vectors.

24
New cards

What does cosine similarity emphasize?

Vector direction rather than magnitude.

25
New cards

Why should categorical codes not automatically be treated with Euclidean distance?

Arbitrary numerical codes impose artificial distances between categories.

26
New cards

[Supplement] How is conditional probability defined?

P(A given B) = P(A and B) / P(B), for P(B) > 0.

27
New cards

[Supplement] What is the addition rule for two events?

P(A or B) = P(A) + P(B) - P(A and B).

28
New cards

[Supplement] What characterizes independence of two events?

P(A and B) = P(A)P(B).

29
New cards

[Supplement] Are mutually exclusive events with positive probabilities independent?

No. Observing one makes the other impossible.

30
New cards

[Supplement] What does a Bernoulli variable represent?

One binary trial with success probability p.

31
New cards

[Supplement] What assumptions define a binomial count?

A fixed number n of independent binary trials, each with the same success probability p.

32
New cards

[Supplement] What are the mean and variance of Binomial(n,p)?

Mean np; variance np(1-p).

33
New cards

[Supplement] What is the binomial probability mass function?

P(X=x) = choose(n,x) p^x (1-p)^(n-x), for x=0,…,n.

34
New cards

[Supplement] What is a standard normal variable?

A normally distributed variable with mean 0 and variance 1.

35
New cards

[Supplement] Is a continuous density value the probability of observing that exact value?

No. Probabilities are areas over intervals; a single point has probability zero under a continuous distribution.

36
New cards

[Supplement] How is a chi-square variable constructed?

As the sum of squares of independent standard normal variables; their number gives its degrees of freedom.

37
New cards

[Supplement] How is a t variable constructed?

T = Z / sqrt(U/nu), where Z is standard normal and U is an independent chi-square variable with nu degrees of freedom.

38
New cards

[Supplement] How is an F variable constructed?

F = (U1/nu1)/(U2/nu2), for independent chi-square variables U1 and U2.

39
New cards

[Supplement] How do standard deviation and standard error differ?

Standard deviation describes variation among observations; standard error describes sampling variation of an estimator.

40
New cards

[Supplement] What is the estimated standard error of an independent sample mean?

SE(x_bar) = s / sqrt(n).

41
New cards

[Supplement] Does the central limit theorem say the original data become normal?

No. Under its conditions it concerns the sampling distribution of suitably standardized averages.

42
New cards