Chapter 2: Descriptive Statistics

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

1/86

encourage image

There's no tags or description

Looks like no tags are added yet.

87 Terms

1
New cards

What are the two main types of data?

Categorical (qualitative) and numerical (quantitative).

2
New cards

What is nominal data?

Categorical data whose categories have no natural ordering.

3
New cards

What is ordinal data?

Categorical data whose categories have a meaningful order.

4
New cards

Which averages make sense for nominal data?

Mode only; mean and median are not meaningful.

<p>Mode only; mean and median are not meaningful.</p>
5
New cards

Which averages make sense for ordinal data?

Mode and median; the mean is generally not meaningful.

<p>Mode and median; the mean is generally not meaningful.</p>
6
New cards

What is discrete numerical data?

Numerical data with separated possible values, often counts.

7
New cards

What is continuous numerical data?

Numerical data that can theoretically take any value in an interval.

8
New cards

What distinguishes ratio data from interval data?

Ratio data have a meaningful natural zero; interval data do not.

9
New cards

What five features should you examine when describing a distribution?

Location, spread, shape, outliers, and other unusual features (such as distinct groups or unexpectedly frequent values).

10
New cards

What does location describe?

The centre or typical value of a distribution.

11
New cards

What does spread describe?

How variable or dispersed the observations are.

12
New cards

What is positive skew?

A distribution with a long tail extending to the right.

<p>A distribution with a long tail extending to the right.</p>
13
New cards

What is negative skew?

A distribution with a long tail extending to the left.

<p>A distribution with a long tail extending to the left.</p>
14
New cards

What is the five-number summary?

Minimum, lower quartile, median, upper quartile and maximum.

15
New cards

What does the median represent?

The middle ordered value; a measure of location.

16
New cards

What are the lower and upper quartiles?

The lower quartile (qL) separates approximately the lowest 25% of observations from the rest; the upper quartile (qU) separates approximately the highest 25% from the rest.

17
New cards

How is the range calculated?

Maximum - minimum.

18
New cards

How is the interquartile range (IQR) calculated?

Upper quartile - lower quartile: qU - qL.

19
New cards

What are the range and IQR measures of?

Spread or variability.

20
New cards

What is the sample mean?

The arithmetic average: x̄ = (1/n)Σxi.

21
New cards

What does the sample variance measure?

A measure of spread based on squared deviations from the sample mean: s² = [Σᵢ₌₁ⁿ(xᵢ − x̄)²]/(n − 1).

22
New cards

What is the sample standard deviation?

The square root of sample variance; it has the data's original units.

23
New cards

When is median often preferred to mean?

When data are strongly skewed or contain outliers.

24
New cards

Why is the mean sensitive to outliers?

Extreme values directly affect the arithmetic average.

25
New cards

When is IQR often preferred to standard deviation?

For skewed data or data containing outliers.

26
New cards

What is the mode?

The value or category occurring most frequently.

27
New cards

For what data types is the mode especially useful?

Categorical and discrete numerical data.

28
New cards

When do ratios and percentage changes make sense?

Only when the variable is measured on a ratio scale.

29
New cards

Why can percentage temperature changes be misleading in Celsius?

0°C is arbitrary, so Celsius is an interval rather than ratio scale.

30
New cards

Give examples of ratio-scale variables.

Temperature in Kelvin, age, height and mass.

31
New cards

Give examples of interval-scale variables.

Temperature in Celsius or Fahrenheit, and calendar year.

32
New cards

What is the 100p% sample quantile using the STAT0002 method?

x_(p(n+1)), using the ordered observations.

<p>x_(p(n+1)), using the ordered observations.</p>
33
New cards

What should you do if p(n+1) is not an integer?

Use linear interpolation between the two surrounding ordered observations.

34
New cards

How do you linearly interpolate a sample quantile?

Move the fractional part of p(n+1) from x_(i) towards x_(i+1).

<p>Move the fractional part of p(n+1) from x_(i) towards x_(i+1).</p>
35
New cards

What quantile type does STAT0002 use in R?

type = 6.

36
New cards

What quantile type does R's quantile() use by default?

type = 7.

37
New cards

Is comparing the mean and median a reliable test for skewness?

No. Mean and median can give a misleading indication of skewness.

<p>No. Mean and median can give a misleading indication of skewness.</p>
38
New cards

What should you primarily use to judge the shape or skewness of data?

A suitable plot of the distribution.

<p>A suitable plot of the distribution.</p>
39
New cards

How does standardised sample skewness react to extreme values?

It is sensitive to very large or very small observations.

40
New cards

How does quartile skewness react to extreme values?

It is much less sensitive because it is based on quartiles.

41
New cards

Can different measures of skewness disagree?

Yes. They can disagree with each other and with the appearance of a plot.

<p>Yes. They can disagree with each other and with the appearance of a plot.</p>
42
New cards

Why must you consider what numerical data represent before summarising them?

The measurement scale and context determine which summaries are meaningful.

43
New cards

Why is the ordinary mean of directions 10° and 350° inappropriate?

The values wrap around; both are close to 0°, so their meaningful centre is 0°.

<p>The values wrap around; both are close to 0°, so their meaningful centre is 0°.</p>
44
New cards

What is a frequency distribution?

A table showing how many observations fall into each of several non-overlapping classes.

<p>A table showing how many observations fall into each of several non-overlapping classes.</p>
45
New cards

What is the modal class?

The class or interval with the highest frequency.

<p>The class or interval with the highest frequency.</p>
46
New cards

How is relative frequency calculated?

Frequency of a class divided by the total number of observations (n).

<p>Frequency of a class divided by the total number of observations (n).</p>
47
New cards

What is cumulative frequency?

The running total of frequencies up to and including a class.

<p>The running total of frequencies up to and including a class.</p>
48
New cards

What is cumulative relative frequency?

Cumulative frequency divided by n; the proportion of observations up to a class boundary.

<p>Cumulative frequency divided by n; the proportion of observations up to a class boundary.</p>
49
New cards

What does the area of a histogram bar represent?

The relative frequency in that interval. In a normalised histogram, all bar areas sum to 1.

<p>The relative frequency in that interval. In a normalised histogram, all bar areas sum to 1.</p>
50
New cards

What is the height of a normalised histogram bar?

Relative frequency ÷ bin width = frequency ÷ (n × bin width).

<p>Relative frequency ÷ bin width = frequency ÷ (n × bin width).</p>
51
New cards

Why must histogram bin widths be accounted for?

With unequal widths, frequency alone gives misleading bar heights; area must reflect the amount of data.

<p>With unequal widths, frequency alone gives misleading bar heights; area must reflect the amount of data.</p>
52
New cards

What distinguishes a barplot from a histogram?

A barplot displays categorical or discrete numerical data with separated bars; a histogram displays binned continuous numerical data.

<p>A barplot displays categorical or discrete numerical data with separated bars; a histogram displays binned continuous numerical data.</p>
53
New cards

Are outliers necessarily incorrect observations?

No. Extreme values can arise naturally; do not automatically remove them.

54
New cards

What are boxplots especially useful for?

Comparing distributions’ location, spread and shape; their main purpose is not outlier detection.

<p>Comparing distributions’ location, spread and shape; their main purpose is not outlier detection.</p>
55
New cards

Why are pie charts often ineffective?

Angles and areas are hard to compare accurately, and many categories create clutter.

<p>Angles and areas are hard to compare accurately, and many categories create clutter.</p>
56
New cards

Why are multiple pie charts hard to compare?

Small changes in category proportions between charts are visually difficult to judge.

<p>Small changes in category proportions between charts are visually difficult to judge.</p>
57
New cards

When should a time-series plot be used?

To display change over time; put time on the horizontal axis to reveal trends, cycles and unusual changes.

<p>To display change over time; put time on the horizontal axis to reveal trends, cycles and unusual changes.</p>
58
New cards

Why was the Buchanan vote in Palm Beach County statistically unusual?

The official 3,407 votes were far higher than the pattern across other Florida counties suggested.

<p>The official 3,407 votes were far higher than the pattern across other Florida counties suggested.</p>
59
New cards

Why compare vote percentages or similar counties rather than raw totals alone?

Counties differ in population size and characteristics, so raw vote totals are not directly comparable.

60
New cards

Why was Palm Beach County excluded when fitting the regression model?

Its extreme result could influence the fitted model, and the aim was to predict it independently from other counties.

61
New cards

What did the election model predict for Buchanan’s Palm Beach vote?

371 votes, with a 95% prediction interval of 219–534, versus the official 3,407.

62
New cards

What data transformations were used in the election model?

A square-root transformation of Buchanan’s vote percentage and log10 transformations of some explanatory variables.

<p>A square-root transformation of Buchanan’s vote percentage and log10 transformations of some explanatory variables.</p>
63
New cards

What does one unit on a log10 scale mean?

A tenfold change on the original scale; 10, 100 and 1,000 are equally spaced on a log10 axis.

<p>A tenfold change on the original scale; 10, 100 and 1,000 are equally spaced on a log10 axis.</p>
64
New cards

What does a scatterplot show?

The relationship between two paired numerical variables, with each point representing one pair of observations.

<p>The relationship between two paired numerical variables, with each point representing one pair of observations.</p>
65
New cards

Which variables normally go on the x-axis and y-axis of a scatterplot?

x: explanatory or predictor variable; y: response or outcome variable.

<p>x: explanatory or predictor variable; y: response or outcome variable.</p>
66
New cards

What four features should you examine in a scatterplot?

Direction, form (linear or curved), strength of association and unusual points/outliers.

<p>Direction, form (linear or curved), strength of association and unusual points/outliers.</p>
67
New cards

Why can an outlier appear in a scatterplot but not in separate one-variable plots?

A point may have ordinary individual values but an unusual combination of the two variables.

<p>A point may have ordinary individual values but an unusual combination of the two variables.</p>
68
New cards

Why might we transform a dataset?

To make a distribution more symmetric or a relationship more linear so a simple statistical method’s assumptions fit better.

<p>To make a distribution more symmetric or a relationship more linear so a simple statistical method’s assumptions fit better.</p>
69
New cards

How can a logarithmic transformation affect positively skewed data?

It compresses large positive values relative to small ones, often reducing right skew.

<p>It compresses large positive values relative to small ones, often reducing right skew.</p>
70
New cards

Which transformations might reduce positive skew?

For positive data, try log(y) or a power y^c with c < 1, such as sqrt(y).

<p>For positive data, try log(y) or a power y^c with c &lt; 1, such as sqrt(y).</p>
71
New cards

Which transformations might reduce negative skew?

For positive data, try powers y^c with c > 1, such as y² or y³, to stretch the upper tail.

72
New cards

When is taking logarithms directly invalid?

When observations are zero or negative; a suitable positive shift may sometimes be applied first.

73
New cards

Why might we straighten a curved scatterplot?

An approximately linear relationship is easier to interpret and better suited to methods such as linear regression.

<p>An approximately linear relationship is easier to interpret and better suited to methods such as linear regression.</p>
74
New cards

Can you transform x, y or both to straighten a scatterplot?

Yes. Transform the explanatory variable, response variable or both, then inspect the new plot.

<p>Yes. Transform the explanatory variable, response variable or both, then inspect the new plot.</p>
75
New cards

How could y = x² be straightened for x ≥ 0?

Plot sqrt(y) against x: then sqrt(y) = x, a straight-line relationship.

76
New cards
What does Pearson's sample correlation coefficient measure?
The strength of linear association between two variables.
77
New cards
What values can Pearson's sample correlation coefficient take?
From −1 to +1.
78
New cards
What does Spearman's rank correlation coefficient measure?
How close an association is to being monotone, using the product-moment correlation of paired ranks.
79
New cards
What is a monotonic association?
As x increases, y tends to increase or decrease; the relationship need not be linear.
80
New cards
Why might Spearman's correlation be preferred to Pearson's?
It is less sensitive to outliers and measures monotone association, including nonlinear relationships.
81
New cards
What is sample quartile skewness?
[(qU − m) − (m − qL)]/(qU − qL), where qL, m and qU are the sample quartiles.
82
New cards
What is an advantage of a stem-and-leaf plot?
It preserves the entire dataset (perhaps rounded) in sorted order, making the five-number summary easy to calculate.
83
New cards
What is a dotplot?
Each observation is a dot; repeated values (perhaps after rounding) are stacked vertically.
84
New cards
How are the whiskers of a standard boxplot determined?
They reach the most extreme observations within 1.5 IQR of the corresponding quartiles. More extreme values are shown individually.
85
New cards
What is an empirical cumulative distribution function (ECDF)?
It gives the cumulative relative frequency: the proportion of observations less than or equal to each value.
86
New cards
What is Tukey and Mosteller's bulging rule?
A guide that uses the curve's bulging direction to suggest transformations of x, y or both that may straighten a scatterplot.
87
New cards
What is the Box-Cox transformation?
BC(x) = (x^c - 1)/c when c ≠ 0, and BC(x) = ln(x) when c = 0. It is used to transform positive data, with c controlling the transformation.