Data science is the study of data — its capture, cleaning, exploration, modeling, and interpretation — used and analyzed to solve a defined problem rather than to produce a report. The boundary that matters: every layer of the work has to trace back to a decision someone will actually make. Skip the problem definition and you get a model nobody deploys; skip the cleaning and the model learns noise; skip the validation and the result is a guess wearing a lab coat.

The core skill is not the algorithm. It's the ability to move through four layers — problem framing, data preparation, analysis and modeling, and communication — while keeping the definition of "solved" fixed from start to finish. This article walks that framework using one worked credit-default example, names where the discipline came from, and separates it from the job titles it's constantly confused with.

Why "Using and Analyzing" Describes Four Layers, Not One Skill

The phrase matters because it binds two halves that fail separately. "Analyzing" is the statistics and machine learning half; "using" is the deployment, monitoring, and decision half. A model with 0.81 ROC AUC that nobody consults has zero value, and a dashboard that updates every morning but answers no question is decoration.

Divide the work into four layers. Problem framing turns a vague complaint into a measurable target. Data preparation locates, joins, cleans, and documents the inputs. Analysis and modeling test hypotheses and fit predictive models. Communication and deployment put the result in front of a decision-maker with a stated confidence level and a monitoring plan.

The layers are sequential but revisitable. In practice, roughly 60–70% of project time lands in layers two and three, according to the widely cited industry rule of thumb popularized in Data Science for Business by Foster Provost and Tom Fawcett — a book published in 2013 that remains a standard reference. The exact share varies by project; the pattern is the point. Cleaning is not a preliminary chore. It's the largest single block of substantive work.

Layer Core question Typical deliverable Common failure
Problem framing What decision changes? Written target and success threshold Vague goal, no baseline
Data preparation What data actually exists? Documented, versioned dataset Silent leakage from future data
Analysis and modeling Does the relationship hold? Validated model with error bars Overfit to training sample
Communication and deployment Will anyone act on it? Threshold, dashboard, monitoring plan No drift monitoring post-launch

The table is not a checklist to tick once. Each layer has a specific failure mode that will kill the project if it goes unchecked, and the failures compound — a leak in layer two ruins every number in layers three and four.

A Worked Example: Flagging Credit Defaults on Application Data

Take a concrete problem a bank actually faces: when a customer applies for a credit card, should the bank approve, decline, or approve at a lower limit? The data science layer doesn't make the decision; it produces a probability of default within a fixed window that a policy layer then converts into an action. Every other technique in this article can hang off this one example.

The target is defined first. "Default within 12 months of account opening" is measurable, observable, and time-bounded. "Bad customer" is none of those. Notice that the target determines the data slice: applications from at least 13 months ago, so every applicant has a full observation window. Set that window wrong and you're mixing partially observed outcomes into your labels.

The inputs are application-table fields — income band, employment length, existing debt-to-income ratio, number of recent credit inquiries — plus any bureau data the bank holds. Critically, the features must be available at the moment of decision. Post-approval behavior such as spending patterns cannot enter a model used before spending exists; that's leakage, and it produces a model that looks brilliant in testing and useless at the till.

The output is a probability, not a verdict. The policy layer sets the threshold: decline above 0.35, approve below 0.15, manual review in between. Those numbers are policy decisions the bank makes, informed by data science but not determined by it. A model that ranks applicants well still needs a human-set cutoff tied to the bank's loss tolerance.

A working example of these sigmoid-shaped probability outputs and regularization techniques is covered in Andrew Ng's Machine Learning Specialization on Coursera, first launched in 2012 as a Stanford course. The math is mature; the craft is in the surrounding layers, not the classifier itself.

One limitation to state plainly: this is modeling, not a guarantee of lending outcomes, and consumer-credit decisions fall under regulations like the Equal Credit Opportunity Act in the United States, which requires adverse-action notices. Any credit model needs documented feature justification and a fair-lending review before deployment — a topic beyond this article's scope, but one that should sit on the project plan from day one.

Descriptive, Diagnostic, Predictive, Inferential: Where Each Method Fits

Four families of analysis cover most data science work, and each answers a different question. Descriptive analysis summarizes what happened: average default rate, distribution of applicants by income band, a count of approvals last quarter. It's the foundation but the least valuable on its own, because it explains the past without pointing to an action.

Diagnostic analysis asks why. If defaults rose 2.1 percentage points in one region, what changed — applicant mix, a specific product, a particular sales channel? Cross-tabulations and stratified comparisons do most of this work. A diagnostic answer is useful precisely because it's specific: "defaults rose because the card was heavily marketed to a segment with thin credit files" is actionable; "defaults rose" is not.

Predictive analysis forecasts an outcome for a new observation: what's the probability this applicant defaults? This is where machine learning sits. Inferential analysis draws conclusions about a population from a sample, with stated uncertainty — does the observed difference between two groups reflect a real effect or sampling noise? Prediction and inference are not the same question, and a method tuned for one can answer the other badly. A random forest optimized for prediction gives poor causal estimates; a carefully specified regression gives excellent inference but may predict worse than a gradient-boosted model.

Enterprise work at Google, Amazon, and Meta — companies that publish their own engineering blogs and research papers — leans heavily on the predictive family for ranking and recommendation, while academic and public-policy work leans on the inferential family. Knowing which family your question belongs to prevents the classic mismatch of applying a predictive model to a causal question and mistaking correlation for leverage.

The 1950s Roots and the Name That Arrived in 2001

Data science feels new, but its methods and seniority structures trace back further than most people assume. Modern data science skills are forecast to grow 36% in the United States between 2023 and 2033, according to the U.S. Bureau of Labor Statistics' Occupational Outlook Handbook — a figure the BLS attaches to "data scientists" specifically, tied to a 2023 median annual wage of $108,020. That number is the clearest available economic signal of how much the profession is used.

The term itself has a documented origin. William S. Cleveland published "Data Science: An Action Plan for Expanding the Technical Areas of the Field of Statistics" in the International Statistical Review in 2001, laying out a plan to reframe statistics around data analysis. That paper is the earliest widely cited use of "data science" as a discipline name, though exploratory data analysis — the practice of poking at data visually before modeling — was codified by John Tukey in 1977.

Tukey's Exploratory Data Analysis argued that plots and simple summaries should come before formal inference. That ordering remains the working practice today: look at the data before fitting a model. Scatter plots, histograms, and missing-value maps reveal problems — a suspiciously clean column, a cluster of identical ages — that no summary statistic reports. Skipping this step is the most common source of embarrassing post-publication corrections.

Publicly visible milestones chart the discipline's growth. Kaggle launched in 2010 as a platform for data science competitions; the first Netflix Prize competition, which asked teams to improve a recommendation algorithm by 10%, ran from 2006 to 2009. These dates matter for a simple reason: they mark when finding patterns in messy data moved from academic describe-only work into a competitive, publicly measurable activity.

Cleaning and Leakage: The Step That Sinks the Most Projects

Data preparation is where the data scientist spends most of the day, and leakage is where most projects quietly break. Leakage means a feature carries information about the target that would not exist at the moment the model runs. A churn model that includes "customer service call count" in the same month as cancellation is mostly measuring the cancellation, not predicting it.

The classic test: for every feature, ask "would I know this value at the moment I make the decision?" If not, exclude it. A second check: split data by time, not randomly. Train on older months, test on newer ones. Random splits leak future information into training because rows from the same period share period-specific patterns. Time-based splits are stricter and match deployment reality.

Missing-value handling deserves its own pass because the wrong choice silently biases everything. Deleting rows with missing data biases the sample toward whatever sub-population happens to have complete records. Imputation — filling in the mean, a median, or a model-predicted value — preserves sample size but injects an assumption. Document the choice, name its effect, and test whether results change under an alternative.

Joint European and U.S. regulatory guidance — the Basel Committee on Banking Supervision's principles for model risk management, in its supervisory guidance from 2005 and its 2021 update — treats documentation of this cleaning stage as a supervisory requirement, not a nicety. The reason is blunt: without a recorded description of how the raw data became the modeling dataset, nobody can reproduce the result, which means nobody can audit or trust it.

Evaluating a Model Without Fooling Yourself

Evaluation starts with a baseline. If 94% of applicants repay and 6% default, a model that predicts "repay" for everyone is 94% accurate — and useless. Accuracy alone cannot evaluate a model built to catch the rare event. That's why credit models report AUC, precision, and recall at a fixed operating point rather than a single average.

Choose the metric that matches the decision. Precision measures how many flagged applicants actually default; recall measures how many actual defaults get flagged. The two trade off, and the operating point should reflect the cost of each error. A decline-worthy default costs the bank the full exposure; a false positive costs a lost customer and an adverse-action notice. If the ratio of those costs is 5:1, the metric should encode it.

Cross-validation gives a more honest estimate. Split the labeled data into five folds, train on four, test on the fifth, rotate, and average the five held-out scores. A five-fold cross-validation on 10,000 labeled applications yields five estimates of model performance, each trained on 8,000 rows and tested on 2,000 — a direct arithmetic check on whether the test set is large enough to give a stable estimate. If the five scores swing wildly, the model is unstable or the sample is too small.

A calibrated model output matters more than a rank-only one for this application, because the threshold decision depends on a probability, not a score. Calibration plots — predicted probability on one axis, observed default rate on the other — show whether a model saying "0.20" produces a 20% default rate in reality. A model can rank well and be badly calibrated; only the calibration plot reveals it.

Where Data Science Sits Against Statistics, ML, and Analytics

The job titles overlap and the boundaries are loose, but three distinctions matter for choosing who to hire or what to expect. Statistics focuses on inference from samples with explicit uncertainty; its core question is "what can we conclude about the population?" Machine learning focuses on prediction on unseen data; its core question is "how well does this generalize?" Data science spans both plus the engineering and communication that make an answer usable.

Role Core question Typical tooling Typical output How success is measured
Statistician What can we infer with uncertainty? R, SAS, regression models Confidence intervals, significance tests Correctness of inference
Machine learning engineer How well does it generalize? Python, TensorFlow, PyTorch Trained model in production Model performance in production
Data analyst What do the numbers say? Excel, SQL, Tableau, Power BI Dashboards, ad-hoc reports Timeliness and clarity
Data scientist What decision can we improve? Python or R, SQL, notebooks Validated model plus recommendation Change in the decision's outcome

Analytics and business intelligence sit below this on the maturity curve but deliver more value in many organizations than modeling does. If the business question is "what happened last month and why," a competent analyst with clean SQL and a good dashboard beats a data scientist with a gradient-boosting model. Matching the role to the question saves months.

Salaries reflect the distinctions. The BLS 2023 median annual wage for data scientists of $108,020 sits above the median for statisticians (around $104,110 in the same dataset, per the BLS Occupational Outlook Handbook) and operations research analysts. The gaps are modest; the more decisive question is which output the organization actually needs.

Putting It to Work: A Six-Week Delivery Plan

A six-week plan forces prioritization without cutting depth. Here's the sequence in delivery order, with the specific deliverables that make each step auditable.

1: Week 1 — Write the problem frame. One page: the decision, the metric that changes, the baseline value, and the acceptable improvement. Example: reduce false negatives in default flagging from 40% to 25% at a fixed decline rate. No data touched yet. 2: Week 2 — Inventory and document the data. List every candidate input, its source table, its coverage window, and its availability at decision time. Flag anything unavailable at the moment of decision as a candidate for exclusion. 3: Weeks 3–4 — Clean, join, and version the dataset. Produce a frozen training table with a written data dictionary, a handling rule for every missing-value column, and a time-based train/test split. This is the single largest block of work. 4: Week 5 — Fit and validate. Fit a baseline model first (logistic regression), then a candidate model. Compare on held-out data using the metric from week 1. Produce a calibration plot. Reject any model whose test performance falls below the baseline. 5: Week 6 — Write the recommendation and the monitoring plan. State the threshold, the expected error rates at that threshold, the features excluded and why, and the drift dashboard the operations team will check monthly. Close with the failure case: if observed default rates drift more than a preset band, the model returns to week 5.

If a stakeholder adds scope mid-project — a new campaign, a different product, a quarterly regulatory change — the closing rule should be to log the request, not absorb it. Every reload of data restarts week 2. The plan's value lies as much in what it refuses as in what it produces.

The failure handling is built into week 6: a model without a stated rollback rule is not complete. Drift in the input distribution, a change in the applicant mix, or a shift in economic conditions can all degrade a working model within quarters. Monitoring closes the "using" half of the definition.

When Data Science Is the Wrong Tool

Not every question needs a model. If the data volume is ten records, a conversation beats a regression. If the question is "which of two marketing campaigns performed better," a controlled experiment answers it with far less machinery than a predictive model. If the decision is a one-off with no repetition, the modeling investment rarely pays back.

The most common misuse is applying prediction where explanation was asked for. A manager who wants to know why defaults rose will not be helped by a model that ranks applicants; a stratified analysis or a coefficient table may say far more. Conversely, applying explanation to a prediction task — fitting a linear model when the relationship is strongly non-linear — underfits the data and hides real ranking power.

A second misuse is answering a causal question with correlational data. If the bank wants to know whether raising a card's limit causes higher spending, an observational model can't answer that; the limit may have been raised because the customer was already spending more. Only a controlled experiment or a natural experiment can separate cause from pattern, and a predictive model will happily produce confident, wrong coefficients either way.

A third misuse is the vanity project: a model built because the team has the skills, aimed at a dashboard nobody consults. Before starting, write down the decision, the person who makes it, and the date by which they'll make it. If any of the three is blank, the project should wait.

FAQ

How long does a first data science project usually take?

A focused first project on a defined business question runs six to ten weeks from frame to working model, with cleaning consuming roughly four of those weeks. Projects that drag past three months typically have an unclear target rather than a technical blocker. If scope hasn't settled by week two, return to the problem frame.

Is a data scientist the same as a data analyst?

No. The analyst answers "what happened and why" with reports and dashboards; the data scientist answers "what decision improves and by how much" with validated models and recommendations. The BLS lists them as separate occupations with different wage data and different education norms. In small teams the roles often merge, but the outputs differ.

What's the most common cause of a model that performs brilliantly in testing and fails in production?

Feature leakage from data that isn't available at decision time is the leading cause, followed by a test set drawn from a different time period than the deployment window. Both are caught by time-based splitting and an explicit feature-availability audit in week 2. A model that can't survive that audit should not ship.

Do I need a PhD to work in data science?

No. The BLS career entry considers a bachelor's degree in statistics, computer science, or a related field sufficient for many data scientist roles, with master's degrees common for research and modeling positions. Programming and SQL proficiency matter more than credentials in most hiring decisions, and portfolio evidence of finished projects substitutes for neither.

Can one person run a data science project alone?

On a narrow problem with a clean dataset and a single stakeholder, yes — one person can deliver a model and a monitoring plan in six to ten weeks. On anything spanning multiple data sources or touching a regulated domain like credit, a second pair of eyes on the validation stage is close to essential. Model risk guidance treats independent validation as a requirement, not an optional extra.

Does data science replace domain expertise?

It extends it; it doesn't replace it. On the credit example, only someone who knows the product can say whether "number of recent inquiries" is a meaningful signal or a proxy for an unrelated demographic. A model learns whatever pattern the data contains, including spurious ones. Pairing the model with domain review is what prevents confident nonsense.

What's the minimum dataset size for a reliable model?

Rule of thumb from standard statistical learning texts: about ten observations per feature for a stable starter model, though the required size grows sharply with the number of features and the rarity of the outcome. On 10,000 labeled applications with 30 features, a logistic model is comfortably stable; a deep neural network on the same data would overfit. Start with simple models.

This article is general educational information, not a diagnosis, treatment plan, legal opinion, or investment recommendation, and it makes no promises about outcomes or returns. Credit and lending decisions are subject to regulations that vary by jurisdiction — check the specific rules in your country, including fair-lending and adverse-action requirements, with a locally qualified professional before building on this example.