Statistical analysis is the work of collecting, summarizing and interpreting data to answer a question with numbers. It has two halves: describing the data you have (descriptive statistics) and using probability to judge what that data says about a larger group (inferential statistics), with a stated chance of being wrong.
TechTarget’s definition puts it in one line: statistical analysis is “the collection and interpretation of data in order to uncover patterns and trends”. The rest of this page covers the two types, the usual steps, five methods you will meet first, and the software people use to run them.
What is statistical analysis?
It is a set of methods for turning raw observations into numbers you can act on: an average, a measure of spread, a fitted relationship, or a decision about whether a difference is real. NIST’s Engineering Statistics Handbook describes the core of it plainly: “A statistical test provides a mechanism for making quantitative decisions about a process or processes.”
Good analysis starts before any calculation. OpenStax’s Introductory Statistics text, used in college courses, notes that “Effective interpretation of data (inference) is based on good procedures for producing data and thoughtful examination of the data.” A clever test cannot rescue a biased sample.
Types of statistical analysis
Textbooks split the field in two. OpenStax: “Organizing and summarizing data is called descriptive statistics”, while the formal methods for drawing conclusions from data “are called inferential statistics”. Inference “uses probability to determine how confident we can be that our conclusions are correct.”
1. Descriptive statistics
Descriptive statistics summarize the data in front of you, in numbers or in graphs: the mean, median, range and standard deviation, a histogram, a frequency table. They make no claim beyond the data set. The average of last month’s 30 daily orders describes last month; on its own it says nothing about next month.
2. Inferential statistics
Inferential statistics use a sample to say something about the population it came from, and attach a measure of uncertainty: a confidence interval, a p-value, a prediction interval. Testing whether a new supplier’s defect rate is really lower than the old one’s, using a sample of deliveries, is inference.
Difference between descriptive and inferential statistics
| Descriptive | Inferential | |
|---|---|---|
| Question | What do these data show? | What do they say about the wider group? |
| Uses probability? | No | Yes |
| Typical output | Mean, median, SD, chart | Confidence interval, p-value |
| Can be wrong because of | Errors in the data | Errors in the data, and sampling chance |
Process steps of statistical analysis
TechTarget breaks statistical analysis into “five discrete steps”. In its words:
- “Describe the nature of the data to be analyzed.” What was measured, in what units, how, and on whom.
- “Explore the relation of the data to the underlying population.” Is this sample a fair picture of the group you care about, or a convenient slice of it?
- “Create a model to summarize an understanding of how the data relates to the underlying population.” This can be as simple as a mean with a standard deviation, or a regression line.
- “Prove (or disprove) the validity of the model.” Check it against data it was not built from, and test whether its effects could be chance.
- “Employ predictive analytics to run scenarios that will help guide future actions.”
Steps 1 and 2 decide whether the rest means anything. A sample drawn only from customers who answered a survey, or only from the busiest week of the year, answers a different question from the one you asked.
Where statistical analysis is used: four examples with sources
- Quality control. Control charts set their limits from the process standard deviation. NIST: “Usually this multiple is 3 and thus the limits are called 3-sigma limits.” See our guide to statistical process control.
- Inventory. Peter King’s APICS article sizes safety stock as “the standard deviation of demand variability multiplied by the Z-score”. Our target inventory level guide works a full example.
- Medical research. Altman and Bland’s BMJ statistics note explains when a trial should report the standard deviation and when the standard error: “If we want to indicate the uncertainty around the estimate of the mean measurement, we quote the standard error of the mean.”
- Investing. A fund prospectus filed with the SEC defines volatility as “the annualized standard deviation of its returns”.
Statistical analysis methods
These are five methods you will meet first. The table says which question each one answers; the sections below give the formula, a worked number and the main limitation.
| Your question | Method | What you get |
|---|---|---|
| What is a typical value? | Mean (or median) | One number |
| How much do values vary? | Standard deviation | A spread in the data’s units |
| Does y change with x? | Regression | Intercept a and slope b |
| Is a difference real or chance? | Hypothesis test | A p-value to compare with α |
| How much data do I need? | Sample size formula | A minimum n |
1. Mean
NIST: “the mean is the sum of the data points divided by the number of data points”. For 18, 30 and 12 that is 60 ÷ 3 = 20.
Limitation: one extreme value drags it. For 10, 5, 20, 15 and 200 the mean is 50 while the median is 15 (our calculation). NIST defines the median as “the value of the point which has half the data smaller than that point and half the data larger than that point”; report it alongside the mean when the data are skewed.
2. Standard deviation
The typical distance of values from their mean: s = √[ Σ(x − x)2 / (n − 1) ] for a sample, or divide by N for a whole population. NIST notes that it “restores the units of the spread to the original data units (the variance squares the units)”. Our standard deviation guide works an example step by step, and the calculator returns both versions.
Limitation: squaring makes it sensitive to outliers, and the familiar 68-95-99.7 reading holds only for normally distributed data.
3. Regression analysis
Regression fits a line, y = a + bx, that predicts one variable from another. NIST: “Linear least squares regression is by far the most widely used modeling method.” The slope b says how much y changes, on average, for each unit of x. More in our regression analysis guide.
Limitation: NIST lists the main disadvantages of linear least squares as “limitations in the shapes that linear models can assume over long ranges, possibly poor extrapolation properties, and sensitivity to outliers”. Plot the data and the residuals before trusting the numbers.
4. Hypothesis testing
A test weighs two statements. NIST: “a statistical test requires a pair of hypotheses”, a null hypothesis H0 and an alternative Ha. The significance level α is the risk you accept of rejecting a true null; NIST says “in practice values of 0.1, 0.05, and 0.01 are common”. The decision rule: “reject the null hypothesis if the p-value is smaller than 0.05” when α is 0.05.
Example of a hypothesis pair, not a formula: to check whether a coin is fair, H0: p = 0.5 and Ha: p ≠ 0.5, where p is the chance of heads.
Limitation: the American Statistical Association’s 2016 statement on p-values is blunt: “A p-value, or statistical significance, does not measure the size of an effect or the importance of a result.” Report how big the difference is, not only the p-value.
5. Sample size determination
How many observations you need depends on the precision you want. NIST’s handbook gives the rule for estimating a mean to within ±E with 95% confidence when σ is known: n ≥ (1.96 σ / E)2, and reminds readers that “there is no correct answer without additional information (or assumptions)”.
Our calculation: if a pilot week of daily spending gives a standard deviation of about $6.52 (the example on our standard deviation page) and you want the average within ±$2, n ≥ (1.96 × 6.52 / 2)2 = 40.8, so about 41 days.
Limitation: NIST notes that the calculation “depends on many things, some of which have to be assumed in advance”, above all the standard deviation. A pilot study or past records give the guess; a bad guess gives the wrong n.
What is statistical analysis software?
Software that runs these methods on real data sets, from a spreadsheet add-in to full programming environments. The main options, described from each maker’s own pages (checked 13 October 2026):
| Tool | What it is | Cost model |
|---|---|---|
| R | A language and environment for statistical computing | Free (GNU GPL) |
| IBM SPSS Statistics | A statistical analysis platform from IBM | Commercial |
| SAS | Analytics software from SAS Institute Inc. | Commercial |
| Stata | Statistical software, current release Stata 19 | Commercial |
| Minitab | Statistical software for quality and process improvement | Commercial |
| MATLAB | A programming and numeric computation environment | Commercial |
| Excel + Analysis ToolPak | An Excel add-in for statistical analyses | Switched on in Excel’s Add-Ins settings |
- R: “R is a language and environment for statistical computing and graphics.” It “is available as Free Software” under the GNU General Public License (R Project).
- SPSS: not an IBM invention. SPSS Inc. “was incorporated in Illinois in 1975” (SPSS 10-K), and IBM bought the company: the merger completed “On October 2, 2009” (SEC Form 8-K). IBM now describes IBM SPSS Statistics as “a comprehensive statistical analysis platform designed to help organizations and individuals extract reliable insights from data”.
- MATLAB: MathWorks calls it “a programming and numeric computation environment” (MathWorks).
- Minitab: Minitab says its software “can look at current and past data to discover trends, find and predict patterns”.
- Excel: Microsoft says that “If you need to develop complex statistical or engineering analyses, you can save steps and time by using the Analysis ToolPak” (Microsoft Support). It is an add-in you tick under File, Options, Add-Ins.
- Stata: the current release is Stata 19 (Stata).
Frequently asked questions
What are the two main types of statistical analysis?
Descriptive and inferential. Descriptive statistics organize and summarize the data you have, with numbers such as the mean and standard deviation or with charts. Inferential statistics use probability to draw conclusions about a larger population from a sample, and say how confident you can be in them.
What are the steps of statistical analysis?
A common breakdown has five steps: describe the nature of the data, explore how the data relate to the underlying population, build a model of that relationship, test whether the model is valid, and use it to run scenarios that guide future decisions.
Is SPSS made by IBM?
IBM sells it today, but it did not create it. SPSS Inc. was incorporated in Illinois in 1975, and IBM completed its acquisition of the company on October 2, 2009. The product is now sold as IBM SPSS Statistics.
Which statistical analysis software is free?
R is free: it is distributed as Free Software under the GNU General Public License. Excel users can switch on the Analysis ToolPak add-in from Excel’s own Add-Ins settings. SPSS, SAS, Stata, Minitab and MATLAB are sold as paid licenses or subscriptions.
Which method should you start with?
Start descriptive: plot the data, then report the mean (or median) and the standard deviation with the number of observations. Move to inference only when you need to generalize beyond the data, and decide your significance level and sample size before you collect anything, not after you see the results.
How we researched this page (checked 13 October 2026). Definitions come from OpenStax Introductory Statistics and TechTarget; formulas and decision rules from the NIST/SEMATECH e-Handbook of Statistical Methods; software facts from each maker’s own pages and, for SPSS, the company’s SEC filings. Worked numbers marked as ours can be recomputed from the figures shown. An earlier version of this page called statistical analysis an artificial intelligence tool, said IBM developed SPSS, printed the variance formula as the standard deviation formula (in the text and the methods image) and presented one example hypothesis as ‘the formula’ for hypothesis testing; all are corrected.
References
- TechTarget: What is statistical analysis? (definition and five steps)
- OpenStax, Introductory Statistics 2e, 1.1 Definitions of Statistics, Probability, and Key Terms
- NIST/SEMATECH e-Handbook, 1.3.5.1 Measures of Location
- NIST/SEMATECH e-Handbook, 1.3.5.6 Measures of Scale
- NIST/SEMATECH e-Handbook, 4.1.4.1 Linear Least Squares Regression
- NIST/SEMATECH e-Handbook, 7.1.3 What are statistical tests?
- NIST/SEMATECH e-Handbook, 7.1.3.1 Critical values and p values
- NIST/SEMATECH e-Handbook, 7.2.2.2 Sample sizes required
- NIST/SEMATECH e-Handbook, 6.3.1 What are Control Charts?
- American Statistical Association: statement on statistical significance and p-values, 7 March 2016
- King PL. Crack the Code: Understanding safety stock. APICS Magazine, July/August 2011
- Altman DG, Bland JM. Standard deviations and standard errors. BMJ 2005;331:903
- AQR Funds prospectus, SEC filing (prospectus date 1 May 2022)
- The R Project: What is R?
- SPSS Inc. Form 10-K, filed 18 February 2009
- SPSS Inc. Form 8-K, filed 2 October 2009 (completion of merger with IBM)
- IBM SPSS Statistics product page
- MathWorks: MATLAB
- Stata: Why use Stata
- Minitab Statistical Software
- Microsoft Support: Use the Analysis ToolPak to perform complex data analysis
Using Google Search? Add erp-information.com as a preferred source.


