Basic statistical concepts and terminology (part 1)
📚 S1100E.pdf
Brief overview
This document introduces fundamental statistical concepts and their applications. It covers essential terminology, methods for analyzing single and multiple variables, and the principles of probability. Understanding these elements is crucial for interpreting data and statistical findings.
Key points
- Overview of basic statistical terminology, including populations, samples, and data types.
- Methods for analyzing single variables with graphical and numerical summaries.
- Understanding bivariate statistics, correlation, and simple linear regression.
- Introduction to combinatorial analysis for counting possibilities.
- Core concepts of probability, including conditional probability and Bayes' theorem.
1. Basic statistical concepts and terminology (part 1)
1.1 Introduction to statistics
- Statistics: The science of collecting, analyzing, presenting, and interpreting data. It helps in making decisions under uncertainty. .
- Two main areas:
1.2 Key terminology
A population is the entire group studied. A statistical unit is a single member of that group.
4. A sample is a smaller, representative part of the population.
The sample size (n) is the number of observations in the sample. .
A census includes every member of the population. A sample survey collects data from a portion.
A representative sample closely reflects the population's characteristics. .
A statistical variable (or character) is a characteristic of individuals. Modalities are the specific values a variable can take.
A sample is chosen to represent the population. Sampling is the process of selecting it. .
Statistical series
Here are the types of statistical series:
| Type of series | Description | Example |
|---|---|---|
| Individual series | All observations listed; each has a frequency of 1. | 10, 9, 12, 14 |
| Discrete series | Observations listed with their frequencies in a table. | xi: 9, 10, 12, 14; ni: 1, 4, 2, 2 |
| Continuous series | Class intervals listed with their frequencies in a table. | [2, 6[, [6, 10[; frequencies... |
5.
1.3 Types of variables
Variables are classified as qualitative or quantitative.
Qualitative or categorical variables
- Cannot be numerical, but are classified into non-numeric categories. .
- Data collected from them is called qualitative data. .
- Nominal categories: No natural order (e.g., gender, religion). .
- Ordinal variables: Categories have a natural order (e.g., small, medium, large). .
Quantitative variables
-
Two types:
Type Description Example Quantitative discrete Values are countable; no intermediate values between them. Number of students at LU Quantitative continuous Can assume any numerical value within an interval. Weight, employee salaries
[ -7] 6.
2.1 Basic notation in univariate analysis
- Frequency (ni): The number of times a value (xi) appears. .
- Total frequency (n): The total number of observations. n=∑ni. .
- Relative frequency (fi): The proportion of times a value appears. fi=ni/n. ∑fi=1. 8.
- Percentage (pi): Relative frequency multiplied by 100. pi=fi×100. ∑pi=100. .
Cumulative frequencies summarize data up to a certain value.
| Type | Notation | Description | | :------------------------------- | :------- | :----------------------------------------------------------------------------- | | Increasing cumulative frequency | Ni | Number of observations less than or equal to xi. Ni=∑j=iknj. | | Increasing cumulative rel. freq. | Fi | Relative frequency of observations ≤xi. Fi=∑j=ikfj. | | Decreasing cumulative frequency | Ni↓ | Number of observations greater than or equal to xi. Ni↓=∑j=1inj. | | Decreasing cumulative rel. freq. | Fi↓ | Relative frequency of observations ≥xi. Fi↓=∑j=1ifj. |
9.
2.2 Graphs for univariate analysis
Graphs help visualize data distribution.
2.2.1 Graphs for nominal and ordinal qualitative variables
- Nominal variables: No order to categories (e.g., blood type). .
- Ordinal variables: Categories have an order (e.g., grades: good, very good). .
- Cumulative frequencies only apply to ordinal variables. .
Common graphs:
| Graph | Description | | :--------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Bar chart | Rectangles represent modalities; height is proportional to frequency. Spaces between bars distinguish from histograms. Modalities on horizontal axis (no order for nominal). | | Pie chart | A circle represents total frequency. Each slice (angle) is proportional to its modality's frequency (αi=fi×360). [10-11] |
Bar charts are better for comparing values than pie charts. 11.
2.2.2 Graphs for quantitative discrete variables
- Common graphs include the bar chart and the cumulative distribution function. 12.
Graphs for discrete variables:
| Graph | Description | | :---------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Strip chart (Bar chart) | Juxtaposed bars represent discrete values. Height shows frequency. Values are ordered on the x-axis. | | Frequency polygon | Obtained by joining the tops of the bars in a bar chart. [13](#page=13) | | Cumulative distribution function | Visualizes cumulative frequencies. Shows the number or proportion of observations ≤ a given value. Values on x-axis, cumulative frequencies on y-axis. |
2.2.3 Graphs for quantitative continuous variables
- Values are grouped into classes for representation. 14.
- Key terms for classes:
Common graphs:
| Graph | Description | | :------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Histogram | Juxtaposed rectangles where area is proportional to class frequency. If class widths are equal, height is proportional to frequency. If widths differ, height represents density (di=ni/ai). [15](#page=15) | | Frequency polygon | Joins the midpoints of classes. For equal amplitudes, height is frequency. For unequal amplitudes, use density. | | Cumulative frequencies curve (Ogive) | Plots points where the x-axis is the upper bound of the class and the y-axis is the cumulative frequency. The curve joins these points. [17](#page=17) |
2.2.4 Grouped data
- Rules help determine the optimal number of classes (k) and their amplitude (a). .
- Approximate rule for optimal number of classes: k≥ln2lnn. .
The number of classes (k) and class width (a) are chosen to best represent the data. .
2.3 Numerical summary
Measures of central tendency and dispersion summarize data. These are used for quantitative variables.
2.3.1 Measures of central tendency
These describe the "middle" of a distribution.
| Measure | Description | Calculation (un-grouped data) | Calculation (grouped by frequency) | Calculation (grouped by class) | | :------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | :----------------------------------------------------- | :---------------------------------------------------------- | :-------------------------------------------------------- | | Mean (xˉ) | Sum of all values divided by the number of values. Affected by extreme values. Sum of deviations from mean is zero. | xˉ=n1∑i=1nxi | xˉ=n1∑i=1knixi | xˉ=n1∑i=1knici | | Mode (Mo) | The observation with the highest frequency. Can be qualitative or quantitative. May not exist or be unique. Sensitive to class amplitude changes. [-20] | Most frequent value. | Value with highest ni. | Modal class with highest frequency (or density if unequal widths). Formula provided for calculation. [19-20] | | Median (Me) | The middle value when data is ordered. Divides data into two equal halves. | Middle value: x(n+1)/2 (odd n) or average of xn/2 and xn/2+1 (even n). | Find class where cumulative frequency Ni crosses n/2. Formula provided for calculation. | Median class has N(Ci−)<n/2<N(Ci+). Formula provided. |
The median is found where cumulative frequency curves intersect. 20.
🔑 Important: The mean, mode, and median provide complementary views of the data's center. 18.
2. Basic statistical concepts and terminology (part 2)
2.1 Measures of dispersion
Measures of dispersion summarize how spread out data points are from the central tendency. They indicate the variability of observations.
Common measures include range, variance, standard deviation, coefficient of variation, and interquartile range.
2.1.1 Range
The range is the difference between the largest and smallest values in a dataset. It provides a quick idea of data spread but is sensitive to extreme values.
Range Formula: Range=max(xi)−min(xi)
📝 Example: For the set {2, 3, 3, 5, 5, 5, 8, 10, 12}, the range is 12−2=10.
2.1.2 Variance and standard deviation
The variance (V(X)) measures the average squared difference of each data point from the mean. A larger variance indicates greater dispersion.
Variance Formulas:
For individual data points: V(X)=n1∑i=1n(xi−xˉ)2 For data with frequencies: V(X)=n1∑i=1kni(xi−xˉ)2 For grouped data: V(X)=n1∑i=1kni(ci−xˉ)2
🔑 Important: Variance is always non-negative.
The standard deviation (σ) is the square root of the variance. It has the same units as the data, making it easier to interpret.
Standard Deviation Formula: σ(X)=V(X)
🔑 Important: A larger standard deviation means the data points are, on average, further from the mean 21.
Alternative Variance Formula: V(X)=n1∑i=1nxi2−xˉ2
📝 Example: For a dataset with a mean of 7.45 and a calculated variance of 22.66, the standard deviation is 22.66≈4.76.
2.1.3 Coefficient of variation
The coefficient of variation (CV) is a standardized measure of dispersion. It is useful for comparing the variability of datasets with different units or scales.
Coefficient of Variation Formula: CV(X)=xˉσ(X)
- Homogeneity: A CV less than 30% generally indicates homogeneous data.
- Heterogeneity: A CV greater than 30% suggests heterogeneous data.
🔑 Important: The CV is unitless, allowing comparisons between variables with different units 22.
📝 Example: Comparing the dispersion of age (SD=1.92, Mean=37.1) and salary (SD=7.07, Mean=300).
- Age CV = 1.92/37.1≈0.05 (5%)
- Salary CV = 7.07/300≈0.02 (2%) The age data is more dispersed relative to its mean than the salary data.
2.1.4 Quantiles
Quantiles divide a distribution into equal parts. Common quantiles include quartiles, deciles, and percentiles.
- Quartiles: Divide data into four equal parts.
- Q1: First quartile (25th percentile). At least 25% of data is less than or equal to Q1.
- Q2: Second quartile (50th percentile), which is the median.
- Q3: Third quartile (75th percentile). At least 75% of data is less than or equal to Q3 23.
🔑 Important: Quartiles are found by ordering data and using specific calculations based on the sample size (n) and the proportion (α) 24.
2.1.5 Interquartile range
The interquartile interval is the range between the first and third quartiles, [Q1,Q3]. The interquartile range (IQR) is the width of this interval and is a robust measure of spread, unaffected by extreme values.
[24-25]
Interquartile Range Formula: IQR=Q3−Q1
🔑 Important: IQR represents the range of the middle 50% of the data.
2.1.6 Boxplot
A boxplot is a graphical summary of data distribution. It displays the median, quartiles, minimum, and maximum values.
- Basic Boxplot: Shows a box from Q1 to Q3, with a line for the median. Whiskers extend to the minimum and maximum values 25.
- Modified Boxplot: Accounts for extreme values.
- Whiskers extend to "adjacent values" within Q1−1.5×IQR and Q3+1.5×IQR.
- Values outside this range are plotted as individual points (extreme values).
🔑 Important: Boxplots visually highlight central tendency, spread, and potential outliers. [25-26]
2.2 Measures of shape
Measures of shape describe the asymmetry and peakedness of a distribution. [26-27]
2.2.1 Skewness
Skewness measures the asymmetry of a distribution.
- Zero Skewness (γ1=0): The distribution is symmetric. The mean, median, and mode are equal. [26-27]
- Positive Skewness (γ1>0): The distribution is skewed to the right (tail extends to higher values). Mean > Median > Mode. [26-27]
- Negative Skewness (γ1<0): The distribution is skewed to the left (tail extends to lower values). Mean < Median < Mode. [26-27]
Fisher's Skewness Coefficient Formula: γ1=σ3m3 where m3=n1∑(xi−xˉ)3 26.
2.2.2 Kurtosis
Kurtosis measures the peakedness or flatness of a distribution relative to a normal distribution.
- Mesokurtic (γ2=0): Normal distribution shape (bell-shaped).
- Leptokurtic (γ2>0): Sharper peak and heavier tails than a normal distribution.
- Platykurtic (γ2<0): Flatter peak and lighter tails than a normal distribution.
Fisher's Kurtosis Coefficient Formula: γ2=σ4m4−3 where m4=n1∑(xi−xˉ)4 27.
2.3 Transformation of variables
A transformation of a variable involves applying a linear function yi=axi+b to the original data xi.
- Effect on Mean: The new mean yˉ is yˉ=axˉ+b.
- Effect on Variance: The new variance V(Y) is V(Y)=a2V(X).
- Effect on Standard Deviation: The new standard deviation σ(Y) is σ(Y)=∣a∣σ(X).
- Unaffected Measures: Skewness and kurtosis remain unchanged by linear transformations.
🔑 Important: Location measures (mean, median, mode) are affected by both scaling (a) and shifting (b), while dispersion measures are only affected by scaling 28.
2.4 Aggregation of means and variances
When data is divided into two groups (GA and GB) with sizes nA and nB, the overall statistics can be calculated from group statistics.
Aggregated Mean: xˉ=nA+nBnAxˉA+nBxˉB
Aggregated Variance: V(X)=nA+nBnAσA2+nBσB2+nA+nBnA(xˉA−xˉ)2+nB(xˉB−xˉ)2
🔑 Important: The aggregated variance has two components: the pooled variance within groups and the variance between group means 29.
🔑 Important: Measures of dispersion summarize data spread, while measures of shape describe distribution symmetry and peakedness. [26-27]
3. Bivariate statistics and regression
3.1 Data representation
- Bivariate statistics: Analyzing relationships between two variables, X and Y.
- Data format: A list of pairs (xi,yi) for n individuals.
3.1.1 Scatter plot
- Purpose: Visualizing the relationship between two quantitative variables.
- Method: Plotting each individual as a point (xi,yi) on a coordinate system.
- Insights: Shows data dispersion, the form of the relationship, and its direction.
3.1.2 Contingency table
- Use case: For discrete variables or when n is large, allowing repeated observations.
- Structure: A table showing frequencies (nij) for each pair of distinct values (xi,yj).
- Total frequency: ∑i=1p∑j=1qnij=n.
- Relative frequency: fij=nnij, with ∑i=1p∑j=1qfij=1.
📝 Example: A contingency table can show the joint distribution of children and siblings for 80 women.
3.2 Association between two quantitative variables
- Goal: Understanding how variables relate, using marginal and conditional distributions.
3.2.1 Marginal distributions
- Definition: Analyzing one variable while ignoring the other, creating univariate series.
- Marginal series of X: {xi,i=1,...,n}.
- Marginal series of Y: {yi,i=1,...,n}.
- From contingency table:
- Marginal distribution of X: Pairs (xi,ni.) where ni.=∑j=1qnij.
- Marginal distribution of Y: Pairs (yj,n.j) where n.j=∑i=1pnij.
- Sum of marginal frequencies: ∑i=1pni.=∑j=1qn.j=n.
- Marginal relative frequencies: fi.=nni. and f.j=nn.j.
📝 Example: For a table of children (X) and siblings (Y), marginal distributions show total counts for each number of children or siblings.
3.2.2 Conditional distributions
- Definition: Examining the distribution of one variable for a fixed value of the other.
- Y given X= xi: The distribution of Y values for individuals with X=xi. Found in the i-th row of the contingency table.
- Pairs: (yj,nij).
- X given Y= yj: The distribution of X values for individuals with Y=yj. Found in the j-th column of the contingency table.
- Pairs: (xi,nij).
- Conditional relative frequencies:
- fj∣i=ni.nij (Y given X).
- fi∣j=n.jnij (X given Y).
📝 Example: The conditional distribution of siblings (Y) given a woman has 2 children (X=2) shows how sibling counts vary only for those with two children.
3.2.3 Analysis of marginal and conditional distributions
- Methodology: Treated as univariate distributions, analyzed with graphical and numerical summaries.
- Marginal means:
- xˉ=n1∑i=1pni.xi
- yˉ=n1∑j=1qn.jyj
- Marginal variances:
- σX2=V(X)=n1∑i=1pni.xi2−xˉ2
- σY2=V(Y)=n1∑j=1qn.jyj2−yˉ2
🔑 Important: Conditional means and variances are calculated similarly to marginal ones but use the conditional frequencies.
3.2.4 Independence
- Definition: Two variables are independent if the distribution of one does not depend on the other.
- Conditions for independence:
- fi∣j=fi. for all i,j.
- fj∣i=f.j for all i,j.
- nij=nni.n.j for all i,j.
- fij=fi.f.j for all i,j.
🔑 Important: Independence means knowing one variable's value provides no information about the other.
3.3 Relation between two variables
- Goal: Quantifying the strength and defining the nature of the relationship between two variables.
3.3.1 Coefficient of linear correlation
- Covariance: Measures the joint variability of two quantitative variables.
- Formula: cov(X,Y)=n1∑i=1n(xi−xˉ)(yi−yˉ)
- Formula (grouped data): cov(X,Y)=n1∑i=1p∑j=1qnij(xi−xˉ)(yj−yˉ)
- Covariance properties:
- Can be positive (increasing relation), negative (decreasing relation), or zero (no linear relation).
- cov(X,Y)=cov(Y,X).
- cov(X,X)=V(X).
- Linear correlation coefficient (ρ): Standardizes covariance to measure the strength and direction of a linear relationship.
- Formula: ρ(X,Y)=σxσycov(X,Y)
- Properties of ρ:
- Ranges from -1 to 1.
- Independent of units and linear transformations of variables.
- Same sign as covariance.
- Interpretation of ρ:
- ρ=1: Perfect positive linear correlation.
- ρ=−1: Perfect negative linear correlation.
- ρ=0: No linear correlation.
- ∣ρ∣→1: Strong linear correlation.
- ∣ρ∣→0: Weak linear correlation.
🔑 Important: Independence implies ρ=0, but ρ=0 does not necessarily imply independence.
3.3.2 Simple linear regression
- Purpose: Modeling the linear relationship between a dependent variable (Y) and an independent variable (X).
- Model: yi=axi+b+ϵi, where ϵi is the error term.
- Ordinary Least Squares (OLS): Method to estimate parameters a and b by minimizing the sum of squared errors.
- Slope estimate: a^=V(X)Cov(X,Y)=σx2σxy
- Intercept estimate: b^=yˉ−a^xˉ
- Regression line equation: y^=a^x+b^
- Regression of X on Y: xi=cyi+d+ui, with c^=V(Y)Cov(X,Y) and d^=xˉ−c^yˉ.
- Coefficient of determination (R2):
- Measures the proportion of variance in Y explained by X.
- R2=(ρ(X,Y))2.
- 0≤R2≤1. A value close to 1 indicates a good fit.
🔑 Important: The regression line always passes through the mean point (xˉ,yˉ).
3.3.3 Coefficient of correlation and Regression
- Relationship between slope (a^) and correlation (ρ):
- a^=ρ(X,Y)σxσy
- The slope and correlation coefficient have the same sign.
- Product of slopes: If a^ is the slope of Y on X, and c^ is the slope of X on Y, then ρ2=a^c^.
🔑 Important: R2 is the square of the correlation coefficient and indicates the proportion of variance explained.
4. Combinatorial analysis and probability
4.1 Combinatorial analysis
Combinatorial analysis uses methods to count and classify objects. It's vital for probability, helping to enumerate favorable and possible cases.
The goal is computation, not listing every outcome.
4.1.1 Tools for enumeration
- Tables: Useful for two-sequence experiments. They show all possible outcomes systematically.
- Lists: Can be long and prone to forgetting or duplicating items.
- Trees: Schemas for describing and counting all experiment outcomes. They are safer than lists and can be completed partially 58.
Trees are safer than lists for counting outcomes.
4.1.2 The multiplication principle
If there are n1 ways for operation 1, n2 ways for operation 2, and so on up to nk ways for operation k, then all operations can be performed in n1×n2×⋯×nk ways.
4.1.3 The addition principle
If there are n1 ways for operation 1, n2 ways for operation 2,..., and nk ways for operation k, and these operations cannot be performed simultaneously, then at least one operation can be performed in n1+n2+⋯+nk ways 59.
4.2 Enumeration methods
These methods help count possibilities in different scenarios: permutations, arrangements, and combinations.
4.2.1 Permutations
A permutation is an ordering of all objects in a set.
| Type | Formula | Description |
|---|---|---|
| Permutations without repetition | n! | Ordering of n distinct objects. |
| Permutations with repetition | n1!×⋯×nk!n! | For n objects with n1,…,nk identical items. |
| Permutations around a roundtable | (n−1)! | Circular arrangements of n objects. |
4.2.2 Arrangements
Arrangements involve selecting and ordering a subset of objects 60.
| Type | Formula | Description |
|---|---|---|
| Arrangements with repetition | nk | Ordering k objects from n, with repetition allowed. |
| Arrangements without repetition | Ank=(n−k)!n! | Ordering k distinct objects from n. |
4.2.3 Combinations
Combinations involve selecting a subset of objects where order does not matter.
| Type | Formula | Description |
|---|---|---|
| Combinations without repetition | Cnk=(n−k)!k!n! | Selecting k distinct objects from n, order ignored. |
| Combinations with repetition | Cn+k−1k=(n−1)!k!(n+k−1)! | Selecting k objects from n, with repetition allowed. |
Combinations focus on the selection of objects, not their order.
Key points about ordering and repetition:
- Arrangement without repetition: Each object is observed once.
- Arrangement with repetition: Objects can be observed multiple times.
- Combination: Characterized only by the chosen objects, not their order.
- Choosing k from n without order: Same as choosing n−k from n without order 61.
4.3 Probability
4.3.1 Basic concepts
- Random experiment: An experiment whose outcomes are unpredictable but repeatable under same conditions.
- Universe (Ω): The set of all possible outcomes of a random experiment.
- Event (A): A subset of the universe (Ω). An elementary event has only one outcome.
- Certain event (Ω): An event that is guaranteed to occur.
- Impossible event (∅): An event that cannot occur.
- Union (A∪B): Occurrence of event A or event B (or both).
- Intersection (A∩B): Simultaneous occurrence of events A and B.
- Complement (Aˉ): The event that A does not occur.
- Incompatible events (A, B): Events that cannot occur simultaneously (A∩B=∅) 62.
Probability of an event
If an experiment has n(Ω) equally likely outcomes and event A has n(A) favorable outcomes, the probability of A is: P(A)=n(Ω)n(A)=Number of possible casesNumber of favorable cases.
Properties of probability:
- 0≤P(A)≤1 for any event A.
- P(A)=0 if A is impossible.
- P(A)=1 if A is certain.
- P(Ω)=1.
- P(∅)=0.
- P(Aˉ)=1−P(A).
- If A⊆B, then P(A)≤P(B).
- P(A∪B)=P(A)+P(B)−P(A∩B).
- P(A∪B)=P(A)+P(B) if A and B are incompatible 63.
4.3.2 Conditional probability
Conditional probability quantifies the likelihood of an event given that another event has occurred.
- P(A∣B)=P(B)P(A∩B): Probability of A given B.
- P(B∣A)=P(A)P(A∩B): Probability of B given A.
Independence: Two events A and B are independent if the occurrence of one does not affect the other. This means P(A∣B)=P(A) and P(B∣A)=P(B), or equivalently, P(A∩B)=P(A)×P(B).
Independence means events don't influence each other's probabilities.
4.3.3 Bayes' Theorem
Bayes' theorem relates conditional probabilities and allows updating beliefs based on new evidence. It uses prior probabilities to calculate posterior probabilities.
A partition of a set S is a collection of subsets Bi such that their union is S and they are mutually exclusive (Bi∩Bj=∅ for i=j) 64.
For events B1,…,Bn forming a partition of S, and event A: P(Bi∣A)=∑j=1nP(A∣Bj)P(Bj)P(A∣Bi)P(Bi).
- P(Bi) are prior probabilities.
- P(Bi∣A) are posterior probabilities 65.
Bayes' theorem updates probabilities with new information.
🔑 Important: Combinatorial methods are essential for calculating the numerator and denominator in probability formulas 57.
© 2026 Maeve. All rights reserved. This content is protected by copyright.