The name of this blog means “statistician” in Spanish, but we’ve written far more about stocks, business, and money than we have about statistics. Time to fix that. Almost every decision about money rests on some figure somebody else came up with. Think of a fund’s average return, the risk score your bank assigns you, a newsletter’s “proven” strategy, or the results of a survey a company paid for. If you don’t know how they got the number, it’s hard to tell whether you can trust it.
This isn’t a textbook. It’s a guide to the statistical ideas I think every investor should know how to use, with an example for each.
Which average are we talking about?
“Average” sounds like one thing, but there are several, and people who want to sell you something will always pick the one that suits them best.
Mean, median, and mode
Picture a small company with eight people. Seven employees earn $30,000, $30,000, $30,000, $32,000, $35,000, $38,000 and $45,000 a year, and the owner takes home $250,000.
- The mean (add everything up and divide by eight) is $61,250.
- The median (here, the average of the two middle salaries once you put them in order) is $33,500.
- The mode (the value that appears most often) is $30,000.
If the owner writes “average salary: $61,250” in a job posting, it’s technically true and completely useless, because none of the employees earns anything close to it. The median tells you what a typical employee earns. The mode tells you what employees are most commonly paid.
The mode is also the only average that works with categories. You can’t calculate the mean of “checking account, savings account, mortgage,” but you can tell which product your customers use most. Say condo prices cluster around two different points, one in the old part of town and one in a new luxury district. There are two modes, and the mean lands in a price range where hardly any condos sell.
How to estimate an average from income brackets
Surveys rarely ask for your exact income. They give you brackets, and then somebody has to turn those brackets into an average. The trick is to use the midpoint of each bracket, which statisticians call the class midpoint or class center.
Say 100 people answer like this:
| Income bracket | People | Midpoint |
|---|---|---|
| Under $20,000 | 40 | $10,000 |
| $20,000 to $40,000 | 35 | $30,000 |
| $40,000 to $60,000 | 15 | $50,000 |
| $60,000 to $100,000 | 10 | $80,000 |
Multiply each midpoint by the number of people in that bracket, add the results and divide by 100: (40 × 10,000 + 35 × 30,000 + 15 × 50,000 + 10 × 80,000) / 100 = $30,000.
It’s only an estimate. Incomes rarely spread evenly across a bracket, so the midpoint may be far from the actual average for that bracket. And an open-ended bracket like “over $100,000” has no midpoint at all. Whatever you use in its place will affect the result. Next time a survey reports average household income, ask how it handled the top bracket.
The geometric mean: what your money actually earned
This is the one I’d tattoo on every investor’s arm. Suppose you put $10,000 into a fund that gains 50% in year one and loses 50% in year two. The simple (arithmetic) average return is 0%: +50 and −50 cancel out. But your $10,000 went up to $15,000 and then down to $7,500. You’ve lost a quarter of your money with an “average return” of zero.
The geometric mean fixes that. You multiply the growth factors (1.50 × 0.50 = 0.75), take the root that matches the number of years (here, the square root of 0.75, or 0.866), and subtract one. You get −13.4% a year, the steady annual return that would leave you with the same amount. In a spreadsheet, with the starting value in A1, the final value in B1 and the number of years in C1, it’s =(B1/A1)^(1/C1)-1, the same formula as the compound annual growth rate.
The difference grows with volatility. Look at these two funds:
| Year 1 | Year 2 | Year 3 | Year 4 | Year 5 | Arithmetic average | Geometric average | $10,000 becomes | |
|---|---|---|---|---|---|---|---|---|
| Fund A | 6% | 7% | 8% | 7% | 7% | 7.0% | 7.0% | $14,024 |
| Fund B | −10% | 25% | 3% | 20% | −3% | 7.0% | 6.2% | $13,488 |

Both funds have the same “average return,” but you’d have $536 more after five years in the steady fund. A rough rule: the geometric average is close to the arithmetic one minus half the variance (the standard deviation squared), so the wilder the ride, the bigger the gap. When we looked at what investors can reasonably expect to earn each year, we used compound returns for every long-term figure. If a fund brochure shows an “average annual return” and doesn’t say how it got that number, ask whether it used a compound return. It’s the same arithmetic that makes compound interest work in your favor when returns are steady.
What if you added money along the way?
Take the same fund that rises 50% and then falls 50%. Start with $10,000 and put in another $10,000 at the end of year one. You’ll have $25,000 just before the second year’s loss and $12,500 at the end. The account is bigger than it was when you started, but you put in $20,000.
To compare the fund with another fund, use a time-weighted return. It compounds the fund’s returns on either side of the deposit, so the fund still lost 13.4% a year. To see what your money earned, use a money-weighted return. It takes the size and timing of deposits and withdrawals into account. Here it works out to about −27.5% a year because more of your money was exposed to the bad year. In a spreadsheet, XIRR can calculate it from the dates and amounts you put in and took out, plus the ending value. The CFA Institute’s performance standards explain how the two measures treat cash flows.
Moving averages
A moving average is simply the average of the last N values, recalculated every time a new one arrives. If a stock closed at 100, 102, 101, 105 and 107 over five days, its five-day moving average is 103. If it closes at 110 the next day, the oldest price (100) drops out and the average moves up to 105.
Traders love moving averages, and I explained how they use them in the article on moving averages in trend trading. The 200-day average has worked well as a support or resistance level for stock indexes, and a classic signal is when the 50-day line crosses the 200-day line. A moving average smooths out noise so you can see the trend. Because a moving average uses past prices, it takes time to register a change in direction. With a 200-day average, that can mean a delay of months. An exponential moving average lags less because it gives more weight to recent prices.
The 10-month moving average in the chart covers roughly the same stretch as a 200-day average. The S&P 500 fell below it in November 2007, long before the worst of the crash, and climbed back above it in June 2009, three months after the bottom. The signal also gave false alarms in the summers of 2006 and 2010. Both times, the index slipped below the line and climbed back above it a couple of months later. A signal like this can get you out before a big drop, but getting out at the wrong time can cost you money, too.

Businesses can use a 12-month moving average of sales to smooth out the Christmas spike and the August slump and see whether they’re really growing.
Spread matters as much as the average
Standard deviation and volatility
Both funds in our earlier example average 7%, but the standard deviation of annual returns is 0.7 percentage points for Fund A and about 15 percentage points for Fund B. Standard deviation gives you a sense of how far the returns typically stray from the average. In investing, we use it as a measure of volatility.
If returns followed the famous bell curve (the normal distribution), about two-thirds of annual returns would fall within one standard deviation of the mean, and 95% would fall within two. For Fund B, that would put about two-thirds of annual returns between −8% and +22%. You’d expect a return below −23% about once every 40 years.
Real markets are messier than the textbook bell curve. Big crashes happen far more often than a normal distribution predicts. On October 19, 1987, the Dow Jones fell 22.6% in a single day, something a bell curve says you’d never see in the lifetime of the universe. Statisticians call these “fat tails.” Standard deviation can help you compare investments. It can’t tell you how bad things might get.
The VIX measures volatility, too. Cboe’s index uses S&P 500 option prices to estimate volatility over the next 30 days and reports it as an annualized rate. A VIX of 20 implies a 30-day standard deviation of about 5.7%, using 20% × √(30/365). The index doesn’t tell you where prices are headed or how far they can move.
The interquartile range
Standard deviation has a weakness: one extreme value can blow it up. The interquartile range (IQR) doesn’t care about extremes. Sort your data, find the value a quarter of the way up (the first quartile, Q1) and the value three quarters of the way up (the third quartile, Q3). The IQR is Q3 minus Q1, the distance between the 25th and 75th percentiles.
Say eleven condos sold on one street last year, at these prices in thousands of dollars: 180, 195, 200, 210, 215, 220, 230, 240, 250, 265 and 520. The last one is a penthouse.
- Mean: 247.7. Median: 220. The penthouse drags the mean up by almost $28,000.
- Q1 is 200 and Q3 is 250, so the IQR is 50: the middle half of sales fell within a $50,000 range.
Programs calculate quartiles in slightly different ways. Excel’s QUARTILE.INC gives 205 and 245 for the same data. Just stick to one method when you compare results.
The IQR also gives you a simple test for outliers, proposed by the statistician John Tukey: flag anything more than 1.5 × IQR above Q3 or below Q1. Here the upper limit is 250 + 75 = 325, so the penthouse at 520 counts as an outlier. Take a closer look before you decide whether it belongs in the comparison.
Box-and-whisker plots
The box plot, also popularized by Tukey in the 1970s, puts those numbers in one picture. A box stretches from Q1 to Q3, with a line across it for the median. Two “whiskers” reach to the lowest and highest values within the 1.5 × IQR limits. Anything beyond them shows up as a lonely dot. For our street, the box would run from 200 to 250 with the median at 220, the whiskers would reach 180 and 265, and the penthouse would sit on its own at 520.

Put box plots for five funds side by side and you can quickly see where each fund’s returns cluster and which ones have had unusually large losses. It works just as well for salaries across departments or delivery times across suppliers.
What kind of data do you have?
Dichotomous variables: yes or no
A dichotomous variable has two possible values. The loan was repaid or went into default. The customer bought something or didn’t. The visitor clicked or didn’t. Code the two outcomes as 1 and 0 and the mean tells you the proportion of 1s. If 37 out of 1,000 loans defaulted and you code defaults as 1, the mean is 0.037, a default rate of 3.7%.
Two mistakes to avoid. Don’t treat yes-or-no data like a score on a scale from 1 to 10. Use proportions, or logistic regression if you need a model. And think twice before boiling useful numbers down to a yes or no. Splitting people into “high earners” and “everyone else” at $100,000 throws away the difference between someone earning $101,000 and someone earning $5 million.
Aggregate data and the ecological fallacy
GDP, the unemployment rate, inflation and the average house price in a region are aggregate data: totals or averages built from millions of individual cases. They’re essential for understanding the economy, and dangerous when you use them to draw conclusions about individuals.
The classic example comes from a 1950 study by the sociologist William Robinson using the 1930 U.S. census. States with more immigrants had higher literacy rates, which might make you think immigrants were more literate. Look at people individually, though, and immigrants were less likely to be able to read. They tended to settle in states with good schools. Drawing conclusions about individuals from group averages is called the ecological fallacy.
For an investor, the lesson is close to home. “The economy grew 3%” says nothing about your sector, your city or the companies you own. A country can have one of the highest unemployment rates in the world and still have businesses that can’t find workers.
Collecting data: samples, surveys and questionnaires
A lot of mistakes happen before you ever analyze a number. Think of the market research a business pays for, the online surveys you get paid to take, or the risk profile questionnaire your bank or broker asks you to fill out before selling you a fund. In Europe, MiFID rules require it.
Systematic random sampling
You have 12,000 invoices and time to check 300. To take a systematic sample, divide 12,000 by 300 to get an interval of 40, pick a random starting point between 1 and 40 (say 17) and then take every 40th invoice: 17, 57, 97, 137 and so on. It’s quick, it spreads the sample evenly across the year, and auditors have used it for decades.
The trap is periodicity. If your list has a cycle that matches your interval, the sample will be biased in a way nobody notices. Sample daily sales every seventh day and you’ll be looking at the same weekday every time. Start on a Monday and, if Mondays are quiet, you’ll underestimate how busy the store is over the course of a week.
Validity: does it measure what it claims to measure?
A risk tolerance questionnaire gives you a score, and a high score earns you the label “aggressive.” The questionnaire is valid if people who score high really do keep their cool when markets fall. If a large share of the “aggressive” investors sold everything in March 2020, the questionnaire was measuring bravado, not tolerance for risk.
Statisticians distinguish between several kinds of validity: whether the questions cover the right ground (content validity), whether the score predicts real behavior (criterion validity) and whether it measures the thing you care about rather than something related, like financial knowledge (construct validity). A test can give very consistent results and still measure the wrong thing.
Reliability: would you get the same answer twice?
Reliability is about consistency. If you fill out the same questionnaire a month later and nothing in your life has changed, you should get a similar score (test-retest reliability). And questions that are supposed to measure the same thing should agree with each other (internal consistency), which is usually checked with Cronbach’s alpha: around 0.7 is commonly taken as the minimum acceptable value, and above 0.9 often means several questions are asking the same thing in different words.
A bathroom scale that always shows three kilograms less than your actual weight is perfectly reliable and perfectly wrong. You need both reliability and validity.
The intraclass correlation coefficient
Now suppose two advisers at the same firm each score the same ten clients’ risk tolerance from 1 to 10. Adviser A gives 3, 5, 6, 4, 7, 8, 5, 6, 4 and 7. Adviser B, who’s a little more comfortable with risk, gives every client exactly two more points.
Their scores have a Pearson correlation of 1.00, or “perfect” correlation. But the two advisers never agree on a single client, and a client who gets a 7 from Adviser A would end up in a much riskier portfolio with Adviser B. Pearson’s r measures whether two sets of numbers move together, not whether they agree.
The intraclass correlation coefficient (ICC) can measure agreement. For these scores, the absolute-agreement ICC is 0.56. Here are the commonly used guidelines published by Terry Koo and Mae Li in 2016:
- below 0.5: poor
- 0.5 to 0.75: moderate
- 0.75 to 0.9: good
- above 0.9: excellent

That puts our two advisers in the moderate range. The ICC comes in several versions, so check which one you’re using. The “consistency” version would give these advisers a 1.0, because it ignores the constant two-point gap. If the actual score matters, as it does when you’re choosing someone’s portfolio, use absolute agreement and say which version you used. The same coefficient is used to check whether a measurement gives the same result twice, which is why you see it so often in medical and engineering reports.
Factor analysis, part 1: Bartlett’s test of sphericity
A 20-question survey rarely measures 20 different things. Some questions may be about how much you can stand to lose, others about how long you can wait, and still others about how much you know. Factor analysis looks at how the answers correlate and groups the questions into a few underlying “factors.”
Before you run a factor analysis, check whether the answers are related at all. Bartlett’s test of sphericity checks the hypothesis that the questions aren’t correlated at all (technically, that the correlation matrix is an identity matrix). You want to reject that hypothesis, so you’re looking for a p-value below 0.05. With large samples, Bartlett’s test is almost always significant, so researchers usually report it alongside the Kaiser-Meyer-Olkin (KMO) measure. A KMO above about 0.6 usually means the data are suitable for factor analysis.
Factor analysis, part 2: the scree plot
Once you run the analysis, you have to decide how many factors to keep. Each possible factor has an eigenvalue, a number that tells you how much of the variation in the answers it explains. Sort them from largest to smallest, plot them, and you get a line that drops steeply and then flattens out, like the slope of a mountain. The psychologist Raymond Cattell named the plot after scree, the loose rubble that piles up at the foot of a cliff.
The rule is to keep the factors before the “elbow,” where the line flattens. In the 20-question example below, the first eigenvalues are 7.4, 2.9, 1.6 and 1.05, and from there the line is almost flat. The elbow comes after the third factor, which suggests that the questionnaire measures three main things.

An eigenvalue of 1 means a factor explains as much of the variation as one question. An older rule keeps every factor with an eigenvalue above 1, which here would add a fourth factor at 1.05. It explains barely more variation than one question on its own. That rule tends to keep too many factors, which is why most analysts look at the scree plot as well.
Is it real or is it luck?
We’ve written a two-part series on luck in investing, and statistical tests can help tell luck from skill.
The p-value
Say you run an online store and test a new product page against the old one, a classic way to increase your conversion rate. Each version gets 10,000 visitors. The old page gets 200 sales (2.0%) and the new one gets 240 (2.4%). Is the new page better, or did you get lucky?
The p-value answers a very specific question: if the two pages had the same underlying conversion rate, how often would chance alone produce a gap this big or bigger? Here the answer is 0.054, about 5.4% of the time.
The p-value won’t tell you how likely it is that the new page is better or how big the improvement is. The American Statistical Association made exactly this point in its 2016 statement on p-values: a p-value does not measure the probability that the hypothesis being studied is true, and business decisions “should not be based only on whether a p-value passes a specific threshold.” The familiar 0.05 cutoff is a convention. A result of 0.049 and one of 0.051 give you practically the same evidence, and it would be a mistake to call one a discovery and dismiss the other.
One-tailed and two-tailed tests
The 0.054 above comes from a two-tailed test, which checks for a difference in either direction. If you only ask whether the new page is better (a one-tailed test), the same data give a p-value of 0.027, and suddenly the result is “significant.”
Both are legitimate, but you have to choose before you look at the data. A one-tailed test makes sense when the other direction truly doesn’t matter for your decision. Switching to a one-tailed test after seeing a p-value of 0.054 is just a way of halving it, and it’s one of the oldest tricks in the book. If someone shows you a one-tailed result, ask when they chose the test.
Statistical power and sample size
Power is the probability that your test detects an effect of a given size when that effect really exists. The usual target, popularized by the psychologist Jacob Cohen, is 80%. To detect an improvement from 2.0% to 2.4% with 80% power at the usual 5% level, you need about 21,000 visitors per version. With just 10,000 visitors per version, the power was about 49%. Even if the new page improved conversion by that much, the test had about a fifty-fifty chance of picking it up.
That’s why so many small tests “prove” nothing, and why a power analysis (working out the sample size before you start) saves so much time and money.
The same arithmetic explains why it’s so hard to prove that a fund manager is good. Suppose a manager really beats the market by 2 percentage points a year, and the standard deviation of the annual excess returns is about 6 points. With 36 years of returns on record, the lower end of a conventional confidence interval for that 2-point edge would still be close to zero. Most careers are shorter than that, which is one reason the evidence that hedge fund managers beat the market is less clear-cut than their marketing suggests. Add survivorship bias (the funds that did badly closed down and vanished from the statistics) and the published track records make the industry look better than it is.
The runs test: are streaks random?
Write down whether a stock went up (U) or down (D) each day. A “run” is a stretch of the same letter: UUUDDU has three runs. If the order of those up and down days is random, you’d expect roughly 11 runs in 20 days with ten of each, give or take two.
If you find only 5 runs, the movements come in long streaks, which hints at momentum. That’s about 2.8 standard deviations below the number you’d expect by chance. If you find 17, the market is flipping back and forth more than chance would suggest. That’s the Wald-Wolfowitz runs test, from 1940, and it’s an elegant way to check whether a “hot streak” is any different from a coin coming up heads a few times in a row. Most of the time, the streaks people get excited about are about as long as you’d expect by chance, as we argued in the second part of the luck series.
Comparing many groups: mean differences and multiple comparisons
Say you compare the average returns of five fund families. That’s ten possible pairs. If there are no real differences and you run ten independent tests at the 5% level, the chance of at least one “significant” result purely by luck is about 40%. With twenty independent tests it’s 64%, and with 45 it’s 90%. In practice, some pairwise tests include the same fund family, so their results can depend on one another.
The standard fix is to run an analysis of variance (ANOVA) first, to see whether the groups differ at all, and then a post hoc test that adjusts for the number of comparisons. The simplest is Bonferroni: divide 0.05 by the number of comparisons, so with ten pairs each one needs a p-value below 0.005. Tukey’s test is another common choice. If you’ve ever run this in SPSS, the output has a column called “Mean Difference (I-J)”: it’s simply the average of group I minus the average of group J, shown alongside the adjusted p-value.
This matters outside the lab. A backtest that tries 200 trading strategies will “find” several winners by pure chance, and those are exactly the ones that end up in newsletters.
Models that explain the past (sometimes too well)
R-squared and adjusted R-squared
Run a regression of a fund’s monthly returns against its index and you get three useful numbers. The slope is the fund’s beta (how much it moves when the index moves), the intercept is its alpha (what it adds or loses on its own), and R-squared is the share of the fund’s ups and downs that the index explains. An R-squared of 0.95 says the benchmark explains most of the variation in the fund’s returns in this sample. A fund that earned exactly twice its benchmark’s return each month would have an R-squared of 1 and a beta of 2. To see what you are paying for, check the beta, how closely the holdings match the index, how much the return gap varies (tracking error), and the fees. We touched on this when we wrote about looking for alpha.
R-squared has a nasty habit: it never goes down when you add another variable, even a useless one. Add the price of tea in China and your model “explains” a bit more. Adjusted R-squared corrects for that by penalizing each extra variable. With 30 monthly observations:
- a model with 1 variable and an R-squared of 0.60 has an adjusted R-squared of 0.586;
- a model with 8 variables and an R-squared of 0.65 has an adjusted R-squared of 0.517.
The model with more variables has a higher R-squared, but the improvement is too small to outweigh the penalty. To see whether the model holds up, test it on data from a period you didn’t use to build it. Plenty of expert forecasts work beautifully on past data and fall apart the moment they meet the future.
Log returns and log scales
If a stock doubles from 100 to 200, that’s +100%. If it then falls back to 100, that’s −50%. The percentages don’t add up to zero even though you’re back where you started. Take the natural logarithm of each price ratio instead and the two moves are +0.693 and −0.693, which add up to exactly zero. That’s why analysts work with log returns: they add up over time, they behave better in statistical models, and they avoid the arithmetic illusion we saw with the geometric mean.
Logs also tame skewed data. Incomes, company sizes and house prices have a long tail of very large values. Taking logs can make those distributions look more like a bell curve, which is why you’ll see “log-transformed values” in so many papers. And on a log scale, a move from 100 to 200 spans the same vertical distance as one from 1,000 to 2,000. For any long-term stock market chart, use a log scale, or the first decades will look flat and the last one will look like a rocket.
Finding groups and drawing lines between them
Cluster analysis
Cluster analysis looks for natural groups in data without being told what they are. Take a store that knows how much customers spend, how often they shop, and when they last bought something. A clustering algorithm might turn up loyal regulars, occasional big spenders, and customers who bought once and never came back. Each group then gets a different offer. The best-known method, k-means, asks you to pick the number of groups up front. With hierarchical clustering, the groups emerge step by step.
Hierarchical (tree) clustering
Hierarchical clustering starts with every item on its own and keeps joining the two closest items or groups until everything hangs from a single tree, called a dendrogram. Some programs, including Statistica, call it “tree clustering.”
It’s a great tool for checking how diversified a portfolio really is. Measure how closely each pair of stocks moves together (a common distance is one minus the correlation) and let the tree grow. Banks tend to bunch up with other banks, and oil companies with other oil companies. You’ll quickly see whether your 20 stocks are really 20 bets or just three. Owning a lot of things is not the same as owning different things, and that difference is the whole point of diversifying your investments. Bear in mind that correlations rise in a crisis. In 2008, many branches of the tree collapsed into one, just when investors needed them apart.
Discriminant analysis and the Altman Z-score
Discriminant analysis does the opposite of clustering: the groups are already known, and the goal is to find the combination of variables that best separates them. The statistician Ronald Fisher introduced it in 1936, and its most famous use in finance came in 1968, when Edward Altman applied it to 66 manufacturing companies, half of which had gone bankrupt. The result was the Z-score:
Z = 1.2 × (working capital / total assets) + 1.4 × (retained earnings / total assets) + 3.3 × (operating profit / total assets) + 0.6 × (market value of equity / total liabilities) + 1.0 × (sales / total assets)
Above 2.99, the company is considered safe. Between 1.81 and 2.99 it’s in a gray zone, and below 1.81 it’s in distress. Take a company with ratios of 0.10, 0.15, 0.08, 0.9 and 1.1: its Z-score is 0.12 + 0.21 + 0.264 + 0.54 + 1.1 = 2.23, in the gray zone, so it’s worth taking a closer look before you lend it money or buy its stock.
The original formula was built for publicly traded manufacturers, and Altman later published versions for private and non-manufacturing companies. The credit scores banks use today mostly rely on logistic regression and machine learning, but the idea is the same one Fisher had: use the data to tell one group from another.
Arbitrage and statistical arbitrage
Pure arbitrage means buying something in one market and selling the same thing at a higher price in another at the same moment. In theory, it’s risk-free profit. In practice, the gaps close in fractions of a second, so only firms with the fastest systems can take advantage of them.
Statistical arbitrage is a bet that an old pattern will hold up. The textbook version is pairs trading. Take two stocks that usually move together, say two big soft drink companies, and watch the gap between them. When the gap stretches to, say, two standard deviations from its usual level, you buy the cheap one, sell the expensive one and wait for them to converge. It works on average, until the relationship breaks. Long-Term Capital Management, the hedge fund run by Wall Street stars and Nobel laureates, lost about $4.6 billion in 1998 on convergence trades that had looked safe based on past data. Statistics tells you what usually happens, never what has to happen.
How a data mining project works
Before you settle on a statistical tool, you need to know what question you’re trying to answer. The process most companies follow, often without knowing its name, is CRISP-DM (Cross-Industry Standard Process for Data Mining). Its first full version was published in 2000 by a group of companies that included SPSS, NCR and DaimlerChrysler, and it has six phases:
- Business understanding: what decision are we trying to make?
- Data understanding: what data do we have, and is it any good?
- Data preparation: cleaning, merging and fixing it.
- Modeling: choosing and fitting the techniques above.
- Evaluation: does the model answer the business question, not just the statistical one?
- Deployment: putting it to work and keeping an eye on it.
It isn’t a straight line: you go back and forth between phases all the time. SAS has its own version, SEMMA (Sample, Explore, Modify, Model, Assess), which focuses more on the modeling stage. In my view, the most useful thing about both is the order. Getting the data in shape usually takes the most time. By then, though, a project can already be in trouble if nobody decided what the numbers were supposed to help them do. Market research works the same way: define the problem, design the study, collect and analyze the data, and then report what you found.
What I’d keep in mind
- When someone quotes an average return, ask whether it’s compound. If they can’t tell you, assume the real figure is lower.
- Never look at an average without the spread. Two investments with the same average can leave you with very different amounts of money.
- A p-value under 0.05 is a reason to look closer, not a reason to bet the house.
- Before you put stock in a test result, ask how many people or how much time it covered.
- Ten years of beating the market proves very little. Thirty starts to say something.
- If a model explains the past perfectly, it will probably explain the future badly.
- Twenty stocks from the same branch of the tree are one bet, not twenty.
Statistics alone won’t make you rich. It’s the best defense I know, though, against people who use numbers to sell you things.



