Concepts and worked examples
The Analytics Lifecycle
Follow a data project from the first question to a useful result.
Data and decision-making
Data science is the practice of using data to answer useful questions. Data mining is one set of techniques used in that practice. Data has value only when people can understand it, use it safely, and act on it. Collecting data also takes work: teams must define it, get consent when needed, and keep it accurate.
Data-driven decision-making supports both discoveries, such as identifying an underserved segment, and repeated decisions, such as routing thousands of service requests. Studies associating data-driven organizations with greater productivity do not automatically establish causation: management quality, industry, and resources may explain some differences. Randomized interventions or credible causal designs are needed to support stronger causal claims.
Six stages, many feedback loops
CRISP-DM means Cross-Industry Standard Process for Data Mining. Its stages organize work, not a one-way waterfall. Evaluation can expose a target-definition problem; preparation can reveal that new data must be collected.
| Stage | Questions and deliverables |
|---|---|
| Business understanding | Define the decision, beneficiaries, constraints, costs, baseline, and measurable success. |
| Data understanding | Inventory sources, inspect distributions and provenance, and assess representativeness and label quality. |
| Data preparation | Join, clean, encode, and construct point-in-time features without contaminating evaluation. |
| Modeling | Choose task-appropriate algorithms, fit parameters, and tune candidate configurations. |
| Evaluation | Assess generalization, uncertainty, operational costs, and whether the original business goal is met. |
| Deployment | Integrate decisions into workflows; assign owners, monitor outcomes, and plan retraining or retirement. |
Exploratory analytics resembles research and development because useful signal is uncertain. This does not make engineering inappropriate: reproducible pipelines, versioning, testing, reliable serving, and monitoring turn discoveries into durable services. Research and engineering complement each other. A reasonable project can end with evidence that modeling is not worthwhile.
Queries, warehouses, statistics, and learning
A database query retrieves or aggregates records according to specified logic. Queries can support discovery, but ordinarily do not themselves learn a predictive rule. OLAP supports interactive slicing, aggregation, and drill-down across dimensions; it is not inherently a predictive-learning algorithm, nor must every interface be graphical. A warehouse integrates historical enterprise data for analysis; centralization alone does not ensure consistent definitions or quality.
Machine learning emphasizes algorithms that learn from experience and includes applications beyond business data mining. Knowledge discovery in databases, or KDD, commonly describes a broader process of selection, preparation, mining, interpretation, and evaluation; terminology overlaps rather than marking rigid disciplinary borders. Predictive analysis asks whether a model works on new cases. Explanatory analysis seeks interpretable relationships; explaining an association still does not identify an intervention's causal effect.
Evidence and uncertainty
Summary statistics describe data. Means can be appropriate for totals and expected costs, while medians better describe a typical observation under strong skew; examine both alongside spread. A frequentist 95% confidence-interval procedure covers the fixed population parameter in 95% of repeated samples under its assumptions. It is not a statement that 95% of individual outcomes lie inside the interval.
A hypothesis-test p-value measures how incompatible the observed statistic is with a specified null model, not the probability the null is true. Testing many patterns after searching data creates false discoveries. Pre-specification, independent confirmation, and appropriate family-wise or false-discovery-rate procedures help. With 20 independent tests of true nulls at significance 0.05, the probability of at least one false rejection is 1 − 0.95²⁰ ≈ 64.2%.
Worked example: a retention pilot
Worked example: randomly assign 1,000 eligible customers to outreach and 1,000 to control. Observe 140 versus 100 renewals: rates are 14% and 10%, an estimated increase of four percentage points. The approximate standard error is √[(0.14 × 0.86)/1000 + (0.10 × 0.90)/1000] ≈ 0.0145. A normal-approximation 95% interval is 0.04 ± 1.96 × 0.0145, or roughly 1.2–6.8 percentage points.
At 100 units of contribution per incremental renewal and two units per contact, estimated incremental contribution per contacted customer is 0.04 × 100 − 2 = 2 units. This calculation assumes those economics apply and excludes implementation costs. Deployment should verify actual incremental value, capacity, customer impact, and changing conditions, not merely report predictive accuracy.
Pitfalls and worked examples
Why can a technically accurate model fail commercially?
Its predictions may arrive too late, trigger an ineffective action, exceed staffing capacity, or optimize the wrong outcome. Evaluate the complete decision process against a meaningful baseline.
When should the team return to business understanding?
Whenever evidence changes the feasible decision: missing labels, unavailable features, unacceptable costs, or a mismatch between modeled outcomes and stakeholder needs.
Continue with problem framing, data preparation, and validation.