1/41
Comprehensive vocabulary review flashcards covering exploratory data analysis, descriptive and inferential statistics, regression and clustering modeling, ggplot2 layered visualization, base and lattice graphics, and R programming language structures.
Statistical Modeling
A mathematical method used to represent relationships between variables, analyze data, and make predictions using statistical techniques.
Primary Data vs. Secondary Data
Primary data is collected directly through surveys, interviews, or experiments, whereas secondary data is obtained from existing sources such as books, reports, websites, or pre-existing datasets.
Quantitative Data
Numerical data that can be measured or counted, classified either as discrete (e.g., number of students) or continuous (e.g., height, weight, temperature).
Qualitative Data
Non-numerical data describing categories or qualities, classified either as nominal (e.g., blood group, colour) or ordinal (e.g., low, medium, high).
Descriptive Statistics vs. Inferential Statistics
Descriptive statistics summarizes data using numerical measures (mean, median, mode, variance, standard deviation) and visual tools, whereas inferential statistics uses sample data to draw conclusions about a population through estimation and hypothesis testing.
Analysis of Variance (ANOVA)
A statistical technique used to determine whether the means of three or more groups differ significantly by comparing between-group variation to within-group variation.
F-Statistic (ANOVA)
The test statistic in ANOVA computed as F=MSWMSB, representing the ratio of Mean Square Between groups (between-group variation) to Mean Square Within groups (within-group variation).
Correlation Coefficient (r)
A numerical measure ranging from −1 to +1 that quantifies the strength and direction of a linear relationship between two variables, calculated as r=σXσYCov(X,Y).
Simple Linear Regression
A statistical method used to predict the value of one dependent variable (Y) using a single independent variable (X) via the model equation Y^=b0+b1X.
Multiple Linear Regression
A statistical technique used to model and predict the value of a continuous dependent variable using two or more independent variables according to Y=b0+b1X1+b2X2+⋯+bnXn+ϵ.
Logistic Regression
A statistical classification technique that models the probability of a categorical (typically binary) outcome using the logistic sigmoid function P(Y=1∣x)=1+e−z1, where z=b0+b1X.
K-Means Clustering
An unsupervised machine-learning algorithm that partitions observations into K predefined clusters by iteratively assigning each point to its nearest centroid and recalculating the centroids until stabilization.
R Markdown
A file format (.Rmd) authored in RStudio that combines formatted narrative text, executable R code chunks, LaTeX equations, and generated outputs into reproducible reports (HTML, PDF, or Word).
R Markdown Code Chunk Options
Parameters controlling chunk execution and display: echo toggles code display, eval toggles code execution, include hides code and output while executing, and results='hide' suppresses printed results.
R Markdown vs. R Notebook
R Markdown is primarily structured for batch knitting to compile final publication reports, whereas an R Notebook allows interactive, individual chunk execution with output rendered directly below each chunk for exploratory analysis.
Exploratory Data Analysis (EDA)
The preliminary process of examining, summarizing, and visualizing datasets to understand their essential characteristics, uncover patterns, detect anomalies, and test assumptions before modeling.
Central Tendency Measures
Statistical values representing the typical center of a distribution, including the Mean (xˉ=n∑xi), Median (the middle observation of an ordered set), and Mode (the most frequently occurring observation).
Dispersion Measures
Metrics describing data spread around a central value, including Range (Maximum−Minimum), Variance (average squared deviation from the mean), and Standard Deviation (the positive square root of variance).
Anomaly (Outlier)
An observation that deviates substantially from the overall pattern of the data, commonly caused by data entry errors, faulty instrumentation, unexpected events, or natural variation.
Covariation
The tendency of two or more variables to vary together in a consistent pattern, classified as positive covariation, negative covariation, or no covariation.
Skewness
A measure of the asymmetry of a probability distribution: symmetrical distributions have Mean=Median=Mode; positive skew has a right tail (Mean>Median>Mode); and negative skew has a left tail (Mean<Median<Mode).
Conditional Probability
The probability of an event A occurring given that another event B has already occurred, formulated as P(A∣B)=P(B)P(A∩B), where P(B)>0.
Normal Probability Distribution
A continuous, bell-shaped, and symmetric probability distribution where Mean=Median=Mode, the total area under the probability density curve equals 1, and tails extend asymptotically to infinity.
ggplot2
An R data visualization package based on the Grammar of Graphics that constructs plots systematically by layering data, aesthetic mappings, geometries, scales, coordinates, and themes.
Aesthetic Mappings (aes)
Specifications defined within aes() that map variables in a dataset to visual properties of a plot, such as x, y, color, fill, size, shape, and alpha.
Faceting
The technique of splitting a plot into multiple sub-panels based on categorical grouping variables using facet_wrap() (for a single conditioning variable) or facet_grid() (forming a 2D matrix of rows and columns).
Geometric Objects (geoms)
Functions in ggplot2 that specify the graphical shape used to represent observations, including geom_point(), geom_line(), geom_bar(), geom_histogram(), and geom_boxplot().
Position Adjustments (ggplot2)
Mechanisms that handle overlapping graphical elements: identity plots points at raw coordinates, dodge places elements side-by-side, stack places bars on top of each other, and jitter adds small random noise to prevent overplotting.
Zooming via coord_cartesian()
A method to focus on a specific sub-region of a ggplot2 visualization by restricting coordinate boundaries (e.g., ylim = c(80, 200)) without discarding underlying data from statistical transformations.
Theme (ggplot2)
A component that controls all non-data visual aspects of a plot, including background colors, grid lines, text typography, axis styling, and legend positions.

Base Graphics ("Pen and Paper" Model)
R's default procedural graphics system where plots are constructed on a blank canvas by sequentially drawing points, lines, and titles; once added, elements cannot be dynamically removed or modified.

Lattice Graphics (Trellis Graphics)
An R graphics system that uses a formula syntax (y∼x∣g) and a conditioning engine to automatically split data across multiple aligned panels with shared coordinate axes.
Box Plot
A compact univariate visualization of a continuous numerical variable summarizing the five-number summary: minimum, first quartile (Q1), median, third quartile (Q3), and maximum, with individual points identifying outliers outside the whiskers.
Mosaic Plot
A graphical display for contingency tables where the area of each rectangular tile is proportional to the cell frequency of two or more crossed categorical variables.
Biplot
A multivariate exploratory plot resulting from Principal Component Analysis (PCA) that overlays individual observation score points onto directional loading vectors (arrows) representing the original variables.
Choropleth Map vs. Dot Density Map
A choropleth map shades geographic boundaries in proportion to an aggregated statistical metric, whereas a dot density map places dots across a region where each dot represents a specific count or occurrence of a phenomenon.
Raster vs. Vector Plot Export Formats
Raster formats (PNG for lossless web displays; JPEG for lossy continuous photos) are pixel-based and lose quality when scaled, while vector formats (PDF for academic printing; SVG for scalable web interactivity) store geometric commands and are infinitely scalable.
Implicit Type Coercion in R
The automatic conversion of heterogeneous elements within an atomic vector to the least restrictive data type following the hierarchy: Logical→Integer→Numeric (Double)→Character.
Atomic Vector vs. List
An atomic vector is a one-dimensional, homogeneous data structure where all elements must share the identical data type, whereas a list is a one-dimensional, heterogeneous container that can hold elements of varying types and structures.
Matrix vs. Data Frame
A matrix is a two-dimensional homogeneous data structure where every cell must contain the identical data type, while a data frame is a two-dimensional tabular structure that is heterogeneous across columns but homogeneous within each column.
Factor (R Data Structure)
A specialized statistical data structure used in R to manage categorical variables, storing distinct predefined values as integer codes mapped to descriptive text labels called levels.
Logical Operators: & vs. &&
The single ampersand & evaluates logical AND across all corresponding elements of two vectors (element-wise), whereas the double ampersand && is a short-circuit operator that evaluates only the first element of each vector.