Skip to content

Latest commit

Β 

History

History
407 lines (305 loc) Β· 30.3 KB

File metadata and controls

407 lines (305 loc) Β· 30.3 KB

πŸ“Š Statistics Fundamentals Glossary

alt text

Statistics Fundamentals HTML5 CSS3 JavaScript Data Science


Overview

This interactive glossary provides a comprehensive collection of statistical terms with real-time search functionality. Built with HTML, CSS, and vanilla JavaScript, it offers an intuitive way to explore statistical concepts.

✨ Key Features

πŸ” Smart Search & Navigation

Feature Description
Real-time search Filter terms instantly as you type
A-Z letter navigation Jump to any letter section
All terms view Browse the complete glossary
Search highlighting Matches highlighted in lime green
Live term count Shows filtered vs total terms
Keyboard shortcuts Ctrl+F to focus search, Escape to clear

πŸ“š 64+ Comprehensive Terms

Category Count Examples
Basic Statistics 15+ Average, Median, Mode, Standard Deviation
Probability 8+ Probability, P-value, Normal Distribution
Regression 12+ Linear Regression, R-squared, Multicollinearity
Hypothesis Testing 6+ Hypothesis, Null Hypothesis, Alpha value
Data Visualization 8+ Histogram, Boxplot, Scatter Plot
Advanced Topics 5+ Endogeneity, VIF, Overfitting

alt text


πŸ“– Complete Term List

A

Term Definition
Alpha value A threshold of statistical significance used in hypothesis testing β€” commonly set to 0.05, meaning a 5% risk of concluding a difference exists when it does not.
Average The sum of all values divided by the count of values. Also called the arithmetic mean. Sensitive to outliers.

B

Term Definition
Bar chart A pictorial representation using rectangular bars whose length is proportional to the value being measured. Bars can be vertical or horizontal and are ideal for comparing discrete categories.
Big data Extremely large and diverse datasets characterised by high volume, velocity, and variety that exceed the processing capacity of conventional tools.
Binary variable A variable with exactly two possible values, such as 0/1, yes/no, or true/false. A special case of both categorical and dichotomous variables.
Boxplot A graphical summary showing the median, quartiles, and outliers of a dataset. The box spans the IQR (Q3 – Q1); whiskers extend to non-outlier extremes.
Bubble chart A scatter plot extended with a third variable encoded as the size of each circle, enabling three-dimensional relationships to be visualised in two dimensions.
Business analyst A data professional who bridges business objectives and technical solutions β€” gathering requirements, conducting feasibility studies, and recommending process improvements.

C

Term Definition
Categorical variable A variable that assigns each observation to a named group based on a qualitative property. Subcategories include nominal (unordered) and ordinal (ordered) variables.
Counterplot A plot counting the number of times each category appears in a categorical variable, providing a visual frequency distribution for qualitative data.
Cross-sectional data Observations collected from multiple subjects at a single point in time. Contrasts with time-series data, which tracks the same subject over time.
Cumulative distribution function A function F(x) giving the probability that a random variable X takes a value ≀ x. It rises from 0 to 1 as x increases and fully describes the distribution.

D

Term Definition
Data science An interdisciplinary field combining statistics, computer science, and domain expertise to extract meaningful insights and predictive models from data.
Delphi method A structured forecasting technique that iteratively collects and refines expert opinions through anonymous rounds until consensus is reached.
Dependent variable The outcome variable in a study β€” the one that may change in response to manipulation of the independent variable. Often denoted Y in regression models.
Descriptive statistics Methods for summarising and describing a dataset through numerical measures (mean, variance) or visual displays (histograms, boxplots) without inferring about a larger population.
Dichotomous variable A variable that takes exactly two mutually exclusive values, such as pass/fail or alive/dead.
Dispersion The degree to which data values spread around a central value. Common measures include range, variance, standard deviation, and IQR.

E

Term Definition
Endogeneity A problem in regression where an independent variable is correlated with the error term, leading to biased and inconsistent coefficient estimates.

F

Term Definition
F-statistic A ratio of two variances used in ANOVA and regression F-tests to assess whether group means differ or whether the overall model is statistically significant.

H

Term Definition
Histogram A bar chart for continuous data where values are grouped into equal-width bins. Bar height represents frequency or density, revealing the shape of a distribution.
Homoscedasticity A regression assumption where the variance of residuals is constant across all levels of the predictor. Its violation is called heteroscedasticity.
Hypothesis A testable, falsifiable statement about a population parameter or the relationship between variables, formulated before data collection.
Hypothesis test A formal procedure for deciding whether sample data provide sufficient evidence to reject a null hypothesis in favour of an alternative.

I

Term Definition
Independent variable A predictor or explanatory variable whose variation may explain or cause changes in the dependent variable. Denoted X in regression models.

L

Term Definition
Linear regression A model estimating the linear relationship between a continuous dependent variable and one or more independent variables by minimising the sum of squared residuals.
Linearity A relationship where the change in the dependent variable is proportional to the change in the independent variable β€” the core assumption of linear regression.
Logistic regression A classification model estimating the probability of a binary outcome using a logistic function applied to a linear combination of predictors.

M

Term Definition
Mean absolute error (MAE) The average of the absolute differences between predicted and actual values. Less sensitive to outliers than MSE and expressed in the same units as the outcome.
Median The middle value when observations are sorted. Robust to outliers; preferred over the mean for skewed distributions.
Mode The most frequently occurring value in a dataset. A distribution can be unimodal, bimodal, or multimodal. The only average applicable to nominal data.
Multicollinearity High correlation among independent variables in a regression model, inflating standard errors and making coefficient estimates unstable.
Multiple linear regression An extension of simple linear regression modelling the relationship between a dependent variable and two or more independent variables simultaneously.
Multivariate dataset A dataset containing two or more variables per observation, enabling analysis of relationships and interactions among multiple features.

N

Term Definition
Nominal variable A categorical variable whose categories have no inherent order β€” for example, country, colour, or blood type.
Normal distribution A symmetric, bell-shaped probability distribution defined by mean ΞΌ and standard deviation Οƒ. About 68% of values fall within Β±1Οƒ of the mean.
Normal distribution curve The bell-shaped probability density curve of the normal distribution, symmetric about the mean, where most observations cluster near the centre.
Null hypothesis The default assumption in a hypothesis test β€” usually no effect, no difference, or no relationship. Denoted Hβ‚€. It is either rejected or not rejected.

O

Term Definition
Overfitting A modelling error where a model learns training data too precisely (including noise), giving excellent in-sample fit but poor generalisation to new data.

P

Term Definition
Pie chart A circular graphic divided into slices proportional to each category's share. Best for part-to-whole relationships with a small number of categories.
Polynomial regression A regression variant where the relationship between Y and X is modelled as an nth-degree polynomial, enabling curved (nonlinear) fits.
Probability A number between 0 and 1 expressing the likelihood of an event. P = 0 means impossible; P = 1 means certain. Governed by the axioms of probability theory.
P-value The probability of obtaining results at least as extreme as those observed, assuming Hβ‚€ is true. A small p-value (e.g. < 0.05) is evidence against Hβ‚€.

Q

Term Definition
Qualitative forecasting Prediction methods relying on expert judgment and structured opinion β€” such as the Delphi method β€” rather than historical numerical data.
Quantitative forecasting Prediction methods using historical numerical data and statistical models β€” such as time series or regression β€” to project future values.
Quantitative relationship A relationship between variables expressed in measurable numerical terms, enabling equations and statistical models to describe it precisely.

R

Term Definition
Regression analysis A set of statistical methods for estimating the relationship between a dependent variable and one or more independent variables and using it for prediction.
Regression model The mathematical equation β€” usually Y = Ξ²β‚€ + β₁X + Ξ΅ β€” representing the estimated relationship between dependent and independent variables.
R-squared The proportion of variance in the dependent variable explained by the independent variable(s), ranging from 0 to 1. Also called the coefficient of determination.

S

Term Definition
Scatter plot A two-dimensional graph plotting paired (x, y) observations to reveal the direction, strength, and form of the relationship between two continuous variables.
Simple linear regression A regression model with exactly one independent variable, producing the best-fit line Y = Ξ²β‚€ + β₁X + Ξ΅ through the data.
Skewness A measure of asymmetry in a distribution. Positive skew means the right tail is longer; negative skew means the left tail is longer.
Standard deviation The square root of variance β€” a measure of the average distance of observations from the mean, expressed in the same units as the data.
Standard error The standard deviation of a sampling distribution, typically of the sample mean. Measures how much a statistic varies from sample to sample.
Statistical analysis The process of collecting, cleaning, exploring, modelling, and interpreting data to uncover patterns, test hypotheses, and support decisions.
Statistical parameter A numerical characteristic of a population β€” such as the mean (ΞΌ) or standard deviation (Οƒ) β€” as opposed to a sample statistic estimated from data.
Statistical tools Software and libraries β€” such as Excel, R, Python (pandas, scipy), SAS, and SPSS β€” used to apply statistical methods.
Statistics The science of collecting, analysing, interpreting, and presenting data to understand variability, draw inferences, and support decisions.
Symmetrical distribution A distribution where the left and right halves are mirror images, causing the mean, median, and mode to coincide.

T

Term Definition
T distribution A bell-shaped probability distribution used when the population standard deviation is unknown and sample sizes are small. Has wider tails than the normal distribution.

U

Term Definition
Underfitting A modelling error where a model is too simple to capture underlying structure, resulting in high error on both training and test data.
Univariate dataset A dataset containing measurements on a single variable per observation. Analysed with frequency distributions, histograms, and summary statistics.

V

Term Definition
Variance inflation factors (VIF) A diagnostic quantifying how much a regression coefficient's variance is inflated due to multicollinearity. VIF > 10 typically signals a problem.

Z

Term Definition
Z score A standardised measure expressing how many standard deviations an observation is from the mean: z = (x βˆ’ ΞΌ) / Οƒ. Enables comparison across scales.

🎨 Design & Aesthetics

Modern Data Science Reference πŸ“–

  • Dark background (#08090d) β€” easy on the eyes for extended reading
  • Lime accent (#c8ff00) for search highlights and interactive elements
  • Subtle grid background for depth
  • Large hero section with Greek sigma (Ξ£) watermark
  • Sticky top banner with search and reset controls
  • Vertical A-Z navigation fixed on the left

Typography ✍️

  • DM Serif Display β€” Elegant serif headers, term names, hero title
  • Outfit β€” Clean sans-serif for body text and definitions
  • JetBrains Mono β€” Monospace for statistics and technical elements

Card Design πŸƒ

  • Lime left border on hover for visual feedback
  • Subtle watermark with letter in background
  • Smooth animations on entrance and hover
  • Search highlighting with lime background

Color Coding 🎨

Element Color Hex Usage
Primary Accent Lime #c8ff00 Headers, highlights, active states
Text White #f0f2f8 Primary text
Muted Text Grey #8b90a8 Secondary text
Dark Text Dark Grey #4a4f68 Tertiary text
Background Dark #08090d Main background
Card Background Dark Grey #14161f Term cards
Border Subtle White rgba(255,255,255,0.07) Dividers and borders

πŸ› οΈ Technical Implementation

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚     Statistics Fundamentals         β”‚
β”‚          Glossary                   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                                     β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚  β”‚   Data Layer                β”‚   β”‚
β”‚  β”‚   β€’ TERMS array (64+ terms)  β”‚   β”‚
β”‚  β”‚   β€’ Sorted alphabetically    β”‚   β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β”‚                                     β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚  β”‚   Filter Engine             β”‚   β”‚
β”‚  β”‚   β€’ Search (term/definition) β”‚   β”‚
β”‚  β”‚   β€’ Letter navigation (A-Z) β”‚   β”‚
β”‚  β”‚   β€’ Combined filtering      β”‚   β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β”‚                                     β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚  β”‚   Render Engine             β”‚   β”‚
β”‚  β”‚   β€’ Group by letter         β”‚   β”‚
β”‚  β”‚   β€’ Card generation         β”‚   β”‚
β”‚  β”‚   β€’ Search highlighting     β”‚   β”‚
β”‚  β”‚   β€’ Animation delays        β”‚   β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Key Functions

// Core filtering
getFiltered()                    // Apply search and letter filters
setLetter(l)                     // Set active letter filter

// Rendering
render()                          // Main render function
groups[l]                         // Group terms by first letter

// Search & Highlight
highlight(text, q)                // Highlight search terms
esc(s)                            // Sanitize HTML

// Navigation
buildLetterNav()                  // Build A-Z letter navigation
updateNavActive()                  // Update active letter button

// Event Handlers
searchInput.addEventListener       // Real-time search
resetBtn.addEventListener          // Reset all filters
keydown.addEventListener           // Keyboard shortcuts (Ctrl+F, Escape)

πŸŽ₯ Video Demo Script (45-60 seconds)

Time Scene Action
0:00 Hero Show "Statistics Fundamentals" with lime sigma watermark
0:05 Letter Nav Click "R" β†’ Show all R terms (Regression, R-squared)
0:10 Search Type "regression" β†’ Cards filter to 8 matching terms
0:15 Highlight Search terms highlighted in lime yellow
0:20 Card Hover Hover over "Linear Regression" β†’ Lime left border appears
0:25 Letter Nav Click "ALL" β†’ All 64 terms reappear
0:30 Search Type "distribution" β†’ Shows Normal Distribution, T Distribution
0:35 Counter Term count updates from 64 β†’ 4
0:40 Reset Click "Reset" button β†’ All terms restored
0:45 Footer Show author credit: "Willie Conway"

🚦 Performance

  • Load Time: < 0.8 seconds (zero external dependencies)
  • Memory Usage: < 25 MB
  • Search Speed: Instant (client-side filtering)
  • Network: Zero requests after initial load

πŸ›‘οΈ Security Notes

Statistics Fundamentals Glossary is a completely safe educational tool:

  • βœ… No data collection
  • βœ… No external scripts
  • βœ… No tracking
  • βœ… No cookies
  • βœ… No network requests
  • βœ… Pure static HTML/CSS/JS

πŸ“ License

MIT License β€” see LICENSE file for details.


πŸ™ Acknowledgments

  • NIST/SEMATECH β€” e-Handbook of Statistical Methods
  • American Statistical Association β€” Statistical terminology
  • OpenIntro Statistics β€” Open-source statistics textbook
  • Willie Conway β€” Author and data science educator

πŸ“§ Contact


🏁 Future Enhancements

  • Add more terms (100+ total)
  • Include formula visualization for key terms
  • Add example calculations for each term
  • Include R/Python code examples
  • Add dark/light theme toggle
  • Export glossary as PDF
  • Add quiz mode for self-testing
  • Include historical context for key concepts
  • Add related terms suggestions
  • Mobile-optimized letter navigation

πŸ“Š Statistics Fundamentals Glossary β€” Your Essential Statistics Reference πŸ“Š


Last updated: March 2025