The Mathematics of Realism: Lognormal Distributions in Financial Data
The difference between synthetic data that works and synthetic data that fails is almost always statistical. Understanding why financial values follow lognormal distributions — and how to replicate that correctly — is the foundation of every high-fidelity financial synthetic dataset.
Why Random Isn't Realistic
Imagine you're generating a synthetic dataset of invoice values for a mid-size B2B company. The naive approach: generate random numbers between €100 and €500,000. Uniform distribution. Simple.
This is wrong, and any financial analyst will immediately know it's wrong.
Real invoice values are not uniformly distributed. The vast majority of invoices are small — routine supply orders, subscription renewals, maintenance fees. A small number of invoices are very large — capital equipment purchases, annual framework contracts, project milestones. The distribution is heavily right-skewed: most values cluster near the low end, with a long tail extending to high values.
This is not a coincidence. It's a mathematical property that emerges from the multiplicative nature of economic processes, and it has a name: the lognormal distribution.
What is a Lognormal Distribution?
A random variable X is lognormally distributed if its natural logarithm, ln(X), is normally distributed. In notation:
The practical implication: if you take the logarithm of your invoice values and plot them, you should see a bell curve. The raw values will look right-skewed; their logarithms will look normal.
Why Financial Values Follow This Pattern
The lognormal distribution emerges whenever a quantity is the product of many independent random factors — which is precisely how most financial values are determined.
Consider an invoice value. It's determined by: the base price of a product category (multiplicative factor), adjusted for volume discount tier (multiplicative), adjusted for customer-specific pricing agreement (multiplicative), adjusted for currency fluctuation at time of invoice (multiplicative), adjusted for any applicable surcharges (multiplicative). The product of many independent multiplicative factors converges to a lognormal distribution by the Central Limit Theorem applied to logarithms.
This explains why lognormal distributions appear consistently across financial data types:
- Invoice and purchase order values — across all industries
- Consumer transaction amounts — card payments, e-commerce orders
- Insurance claim values — property, liability, health
- Loan and credit facility sizes — retail and commercial banking
- Salary distributions — within job family and level cohorts
- Asset values — property, equipment, inventory
The Other Key Distributions in Financial Data
Invoice values are the canonical example, but a realistic synthetic financial dataset requires correct distributions across multiple data types:
Transaction Frequency: Poisson Distribution
The number of transactions in a fixed time interval — purchases per hour at a retail store, payment events per day for a B2B customer, card swipes per hour at an ATM — follows a Poisson distribution when events occur independently at a constant average rate.
In practice, financial transaction frequencies are often overdispersed (variance greater than mean), suggesting a Negative Binomial distribution is more accurate. But Poisson is a useful approximation and is almost always better than uniform.
Payment Delays: Gamma Distribution
Days-to-payment (DSO at the invoice level) — how long between invoice date and payment date — follows a Gamma distribution. This makes intuitive sense: payment delay is always positive, skewed right (most payments within 30–60 days, tail of slow payers), and can be parameterized by industry-specific payment term conventions.
Financial Returns: Normal (with Fat Tails)
Daily returns on financial instruments are approximately normally distributed for most assets under normal market conditions. However, extreme events (market crashes, liquidity crises) produce "fat tails" — more extreme observations than a normal distribution predicts. Accurate modeling uses t-distributions with low degrees of freedom, or parametric tail augmentation.
Fraud and Anomalies: Mixture Models
Fraudulent transactions don't follow the same distribution as legitimate ones. They typically cluster at unusual amounts (just below authorization thresholds — a well-known pattern called "threshold avoidance"), occur at unusual times (late night, weekends), and target unusual merchant categories. A realistic synthetic fraud dataset requires a mixture model: a weighted combination of the legitimate distribution with a separate fraud-specific distribution.
Calibrating to Your Domain
The distributions above are correct in form — but the parameters (μ, σ for lognormal; λ for Poisson; shape and scale for Gamma) must be calibrated to your specific business context.
A mid-market UK software company's invoice values have different μ and σ than a Brazilian industrial manufacturer's. The calibration process requires fitting the distribution parameters to a reference sample — ideally, a real dataset from the target domain (or a comparable public benchmark).
Once calibrated, the synthetic data generator should sample from the fitted distribution — not from the original data directly (which would reproduce real records with real values) but from the mathematical model that describes the original data's statistical behavior.
Temporal Correlations: The Final Layer
Individual transaction values may be lognormally distributed, but financial data has time-series structure that naive sampling destroys. Real transaction data shows:
- Seasonality — higher volumes at month-end (payment runs), quarter-end (large B2B deals), year-end (budget spending)
- Business day patterns — near-zero activity on weekends and public holidays
- Customer lifecycle patterns — new customers start small, established customers have higher average order values
- Autocorrelation — a customer who placed a large order last month is more likely to place another this month
A high-fidelity synthetic financial dataset must reproduce these temporal structures, not just the marginal distributions. This requires time-series generation with embedded seasonality parameters, not just independent sampling from a lognormal distribution.
Testing for Statistical Fidelity
How do you know if your synthetic financial data is statistically realistic? Several quantitative tests:
- Kolmogorov-Smirnov test — tests whether two samples come from the same distribution. Apply to your synthetic and real value distributions.
- Q-Q plot comparison — plot the quantiles of synthetic vs. real data. If they lie on a 45-degree line, the distributions match.
- Benford's Law conformance — in naturally occurring financial data, leading digits follow Benford's Law (1 appears ~30% of the time). Synthetic data that fails Benford's Law will fail forensic accounting checks.
- Autocorrelation function (ACF) — compare the autocorrelation structure of synthetic and real time series.
- Train/test generalization — train a model on real data, test on synthetic. If performance is equivalent to training and testing on real data, statistical fidelity is confirmed.
Practical Implications for Your Synthetic Data Pipeline
If you're evaluating or building a synthetic financial data solution, these are the questions to ask:
- Does it use fitted statistical distributions (lognormal, Poisson, Gamma) or naive uniform/random sampling?
- Can distribution parameters be calibrated to reference data from your domain?
- Does it model temporal structures (seasonality, business day patterns) or generate iid samples?
- Does it pass Benford's Law conformance tests?
- Does it maintain referential integrity between related financial entities (customer → invoice → payment → clearing)?
The difference between a synthetic dataset that passes scrutiny and one that doesn't almost always comes down to the statistical rigor of the generation engine. Randomness is easy. Statistical realism requires mathematics.
AllSynthetica uses calibrated statistical distributions — including lognormal, Poisson, Gamma, and mixture models — for all financial data generation. Our engine is validated against Benford's Law, KS tests, and autocorrelation conformance checks.

