Astrostatistics
Astrostatistics is the use of statistics to analyze astronomical data. It sits where astronomy meets applied statistics.
Astronomers cannot handle the objects they study or repeat experiments on them. They have to work out the properties of stars, galaxies and the universe from a few measured traits, such as light recorded with noise.[1]
Why astronomy needs statistics
Uncertainty is built into almost every astronomical study. Feigelson and Babu list three main sources.[2]
- The observed sample (the objects or measurements selected for study) is only a small part of the population, meaning all the objects of interest.
- Many properties of interest are measured not directly or only partly.
- The measuring process itself adds errors.
Astronomical data come in a few common forms.[2]
- An image records brightness across the sky.
- A spectrum records brightness against wavelength.
- A light curve records brightness against time.
- A catalog is a table that lists measured properties (columns) for many objects (rows).
The amount of data is now very large. The Vera C. Rubin Observatory produces about 10 terabytes of data every 24 hours and sends out about 7 million alerts of sky changes each night.[3] By the end of its ten-year survey it will have collected about 30 petabytes of raw images.[3]
Core ideas
Combining repeated measurements
Repeated measurements of the same quantity usually differ, so astronomers need a rule for combining them. Ancient Greek, Arabic and Renaissance astronomers mostly took the midpoint between the highest and lowest values. Tycho Brahe and Galileo Galilei promoted the mean (the average), which became the standard method only in the mid-18th century.[2]
The normal distribution, or bell curve, describes how such errors often scatter. The central limit theorem says that, under broad conditions, the average of a large sample of independent random values (values that do not affect one another) follows a normal distribution.[2] This is why the normal curve appears so often in error analysis.
Fitting a model to data
A model predicts what the data should look like, and its parameters are the unknown values that set those predictions. To fit a model, astronomers choose the parameter values that best match the data. The classic method is least squares: pick the parameters that make the sum of squared differences between data and model as small as possible.[2]
When measurements have different error sizes, the fit uses weighted least squares:
Here is the -th of measurements and is the variance of its error, the average squared difference from the average. The model value for that measurement is . The are known numbers that set how much each unknown parameter to adds to it.[2]
Astronomers often call this "minimizing ", and Feigelson and Babu note that the term does not appear in statistics texts. The resulting statistic (a number calculated from the data) follows a chi-squared distribution, the distribution of a sum of squared normal values, only under certain conditions.[2]
Counting photons
Many detectors count individual photons, and counts follow the Poisson distribution rather than the normal one:
Here is the number of counts, is a whole number, and is the expected rate. For this distribution the mean and the variance both equal .[2]
Counts cause special problems. Astronomers often combine two counts in one of two ways.[2]
- Subtract a background count from a source count.
- Take the ratio of two counts.
Neither the difference nor the ratio of two Poisson variables follows a simple known distribution.[2]
History
Astronomy and the birth of statistics
Before the 20th century, many advances in statistics came from astronomical problems.[2] The 11th-century Persian astronomer al-Biruni and, later, Galileo discussed how measurement errors carry through a calculation.[2]
The key step came in the early 19th century, with two milestones.[4]
- 1805: Adrien-Marie Legendre published least squares, using it to fit the orbits of comets.
- 1809: Carl Friedrich Gauss used the normal distribution to describe errors in planetary orbits.
Pierre-Simon Laplace also helped develop least squares, and leading astronomers across Europe added to its theory during the 1800s.[2]
Separation in the twentieth century
In the late 19th and 20th centuries the two fields went separate ways.[4]
| Field | Direction |
|---|---|
| Statistics | Human affairs (population studies, economics, medicine) and industry |
| Astronomy | Joined with physics, forming astrophysics |
Astronomers kept using a small set of older tools, often beyond the conditions those methods need.[2]
- Least squares.
- Fourier analysis.
- The Kolmogorov-Smirnov test, a test of whether data match a given distribution.
Newer methods reached astronomy slowly. Ronald Fisher introduced maximum likelihood estimation in the 1920s, but astronomers did not adopt it until the 1970s to 1980s.[2]
There were exceptions. A tribute quoted by MacTutor calls Georges Darmois the first in France to teach statistics and stellar dynamics, in 1928 to 1929. In 1955 he was elected to the French Academy of Sciences in its astronomy section.[5]
Revival
Astronomers began using a wider range of statistical methods in the 1990s. Astronomers and statisticians formed joint research groups and held shared conferences, summer schools and software projects.[2] The first Statistical Challenges in Modern Astronomy conference took place at Penn State University in August 1991, organized by G. Jogesh Babu and Eric Feigelson.[6]
Ways to draw conclusions
Maximum likelihood
Maximum likelihood picks the parameter values that make the observed data most probable. The likelihood is the probability the model gives to the observed data, and the log-likelihood is its logarithm. For independent data drawn from a density , a function giving the relative probability of each data value, the log-likelihood is
The estimate is the value of the parameter that makes largest.[2]
For large samples, in many common situations, is close to normally distributed with variance . is the Fisher information, a measure of how much the data pin down a parameter. This gives confidence intervals, ranges of plausible values for the parameter.[2]
One important astronomical use was estimating the parameters of the standard cosmological model. The data were the cosmic microwave background measured by the Wilkinson Microwave Anisotropy Probe.[2]
Bayesian inference
Bayesian inference combines what was known before the data, the prior , with the likelihood of the data . The result is the posterior distribution, the updated probability distribution for after seeing the data:[2]
The denominator is a constant that makes the probabilities in the posterior add up to 1.[2]
The choice of prior matters. If the prior is wrong, the method can reach false conclusions.[2]
Models with many parameters can need millions of likelihood calculations. Astronomers explore these spaces with Markov chain Monte Carlo methods. Parameters of little interest are then removed by integrating over all their possible values, a step called marginalization.[2]
Resampling
Astronomers often invent a statistic whose distribution is unknown. Resampling builds many fake datasets from the real one and repeats the analysis on each to see how the result varies.[2] The most important method is the bootstrap, introduced by Bradley Efron in 1979, which draws points from the data with replacement.[2] See bootstrapping.
The bootstrap can fail when data points are not independent. Nearby pixels in an image are correlated through the telescope's point spread function, and nearby points in a time series can be correlated too. A variant called the block bootstrap handles such data.[2]
Choosing between models
Fitting finds the best parameters, but it does not show whether the model itself is right. Penalized criteria reward a good fit but subtract a cost for each extra parameter.[2]
- The Akaike information criterion (AIC) can compare models that are not nested, meaning neither model is a special case of the other. It needs large samples and may not settle on the true number of parameters even for very large samples.[2]
- The Bayesian information criterion (BIC) penalizes extra parameters more strongly than AIC. It is consistent for large samples: if the true model is among the candidates, it picks that model with probability approaching one as the sample grows.[2]
Feigelson and Babu point out several common mistakes in astronomical practice.[2]
- Judging a fit by whether the reduced chi-squared is near 1, which they call a basic method not used by statisticians. Reduced chi-squared is the fit statistic divided by its degrees of freedom, the number of independent data values left after estimating the model parameters.
- Using standard Kolmogorov-Smirnov probabilities when the model was fitted to the same sample. Those probabilities are then wrong, and the test is not clearly defined for data with more than one variable.
- Binning data into histograms for inference, which loses information and depends on arbitrary bin choices.
The likelihood ratio test, which compares how well two models explain the same data, also needs care. Protassov and colleagues showed in 2002 that it can mislead when used to decide whether a data set contains an extra model component.[2]
Problems special to astronomy
Astronomers have had to adapt or invent methods for problems that are rare in other fields.[2]
- Unevenly spaced observations.
- Measurement errors that differ in size from point to point, called heteroscedastic errors.
- Noise that is not normal.
Nondetections and survey limits
Telescopes cannot detect every object, which biases samples toward bright ones. Statistics separates two cases.[2]
- Censoring: the astronomer measures a new property of a known list of objects. Every object is counted, but undetected ones have only an upper limit.
- Truncation: a survey limited by brightness never finds objects below its limit. Nothing about them is known, not even how many there are.
Censored data can be analyzed with survival analysis, a set of methods built for medicine, insurance and engineering.[2] Its key tool is the Kaplan-Meier estimator, published by E. L. Kaplan and Paul Meier in 1958.[7] It is valid only when the censoring pattern is not related to the value being measured.[2]
Truncated data have a matching tool. Astrophysicist Donald Lynden-Bell published a method in 1971 for samples with known observational selection, meaning a known rule for which objects a survey can detect and include.[8] Statistician Michael Woodroofe and others later studied the estimator mathematically.[2]
Like the Kaplan-Meier estimator, this method has a key condition. The survey limits must be independent of the objects' true values.[2]
Uneven time series and period finding
Many sky objects vary, through orbits, rotation, flares or explosions.[2] Classical Fourier analysis assumes evenly spaced observations, an endless record and sine-shaped signals in white noise, meaning random fluctuations with equal power at all frequencies. Ground-based observations broken by daylight, weather and the Moon break these assumptions.[2]
Astronomers built tools for uneven sampling.
- The Lomb-Scargle periodogram extends the classical periodogram to unevenly spaced data (Scargle 1982). It can be read as a modified Fourier analysis, a least squares fit of sine waves or a Bayesian solution.[2] See least-squares spectral analysis.
- Phase dispersion minimization (PDM), published by R. F. Stellingwerf in 1978, suits signals that are not sine-shaped and are covered by only a few irregular observations.[9]
PDM works in four steps.[10]
- Fold the data at a trial period, so that each point is placed by its phase within the cycle.
- Group the points into phase bins.
- Compare the spread within bins with the total spread.
- Repeat over many trial periods and choose the one with the smallest spread within bins. At the true period, points at the same phase line up.
Judging whether a peak in a periodogram is real is hard. Formulas based on standard distributions hold only when the noise is normal and uncorrelated. Real data therefore often need Monte Carlo simulations, which are repeated computer runs with random numbers.[2]
Stellingwerf originally compared the PDM statistic with an F distribution. Schwarzenberg-Czerny showed in 1997 that it follows a beta distribution instead, and that the F version understates how significant a detected pulsation is.[11]
Galaxy clustering and spatial patterns
Galaxies are not scattered at random, and astronomers measure how strongly they cluster. The two-point correlation function gives the extra chance, beyond a random pattern, of finding two objects a distance apart:[2]
Here is the probability that two objects fall in two tiny volumes and , and is the mean density. A value means no clustering.[2]
Statisticians in other fields often use Ripley's K function instead. It counts the average number of neighbors within a circle of each point, which avoids choosing distance bins.[2]
Both measures share a weakness. They are biased near survey edges, and various corrections exist.[2]
Classifying objects
Astronomers sort objects into classes, such as galaxy shapes and supernova types. Historically they defined these classes by informed but personal judgment, often by eye from two-variable plots.[2] Cluster analysis and machine learning offer more objective methods.
The friends-of-friends algorithm, popular in astronomy, is known in statistics as single-linkage clustering. In noisy or sparse data it tends to chain groups into false elongated structures.[2]
Machine learning has a different weakness. Most machine learning classifiers are not rooted in probability theory, so it is hard to state how likely a cluster is to be real or an object to be correctly assigned.[2]
Modeling star images
A star is a point of light, but the atmosphere and the telescope spread its image into a blob described by the point spread function. In 1969 Moffat proposed a profile for star images, now called the Moffat distribution:[12]
Here is the distance from the star's center, sets the width, and sets how fast the outer wings (the profile's outer parts, also called its tails) fade. The constant is set by normalization, so that the profile's total brightness equals a chosen value such as 1.[12]
The full width at half maximum (FWHM) is the width of the profile at half its peak brightness. For the Moffat profile it equals .[12]
A normal (Gaussian) profile is much sharper than real star images on photographic plates or charge-coupled device (CCD) detectors. For a fixed width, a Moffat profile becomes sharper as grows, and the Gaussian is its limit as .[12]
Removing this blur is a statistical problem too. The Richardson-Lucy algorithm, used to sharpen astronomical images, is the EM algorithm applied to maximum likelihood (Lucy 1974).[2] The EM algorithm is an iterative method that finds the most likely parameters when some data are missing or hidden.[2]
Meteorite falls
Collected meteorites are sorted into two groups.[13]
- Fall: a meteorite seen to fall and then recovered.
- Find: a meteorite found without an observed fall.
Worldwide, only about 1.8% of collected meteorites are falls.[13] Meteorite fall statistics studies these records; see also meteorite falls.
Community and tools
Astrostatistics now has its own organizations, several of them shared with the closely related field of astroinformatics, which focuses on data handling and mining of large surveys.[14]
| Group | Parent body | Formed |
|---|---|---|
| Astrostatistics interest group, later the ISI Astrostatistics Network | International Statistical Institute (ISI) | 2008 |
| International Astrostatistics Association | Independent | 2012 |
| Working Group in Astroinformatics and Astrostatistics | American Astronomical Society | 2012 |
| Astrostatistics Interest Group | American Statistical Association | 2014 |
| Commission on Astroinformatics and Astrostatistics | International Astronomical Union | 2015 (working group from 2012) |
Joseph Hilbe founded the ISI interest group and led the International Astrostatistics Association. Under his leadership its membership grew to 600 people in 45 countries.[14]
Software has been a barrier. For decades, advanced methods were available mainly in commercial statistics packages that astronomers did not buy.[2] The free language R and its add-on library CRAN changed this by offering thousands of statistical packages.[2]
Open problems
A 2020 review of the field lists several continuing challenges.[15]
- Measuring galaxy clustering and estimating galaxy distances from their colors.
- Linking data by Bayesian inference to nonlinear physical models, whose outputs do not change in direct proportion to their inputs, in areas such as exoplanets (planets orbiting stars other than the Sun), star clusters and the Sun.
- Likelihood-free methods, which compare simulated and real data instead of writing down the likelihood.
- Finding faint signals in complicated noise, such as periodic stars and gravitational wave events.
- Handling measurement errors that differ from point to point.
The same review calls for statisticians to join astronomy projects from the design stage, not only at the analysis stage.[15]
References
- Statistics in astronomy, Eric D. Feigelson, arXiv, 2009.
- Statistical Methods for Astronomy, E. D. Feigelson and G. J. Babu, arXiv, 2012.
- Data, Vera C. Rubin Observatory, accessed 2026.
- The Frequentist Approach to Astrostatistics (lecture slides), E. D. Feigelson, INPE, accessed 2026.
- Georges Darmois (1888 to 1960), biography, MacTutor History of Mathematics, University of St Andrews, accessed 2026.
- Welcome to SCMA VI, C. Schafer, Carnegie Mellon University, 2016.
- Nonparametric Estimation from Incomplete Observations, E. L. Kaplan and P. Meier, Journal of the American Statistical Association 53, 457 to 481, 1958.
- A Method of Allowing for Known Observational Selection in Small Samples Applied to 3CR Quasars, D. Lynden-Bell, Monthly Notices of the Royal Astronomical Society 155, 95 to 118, 1971.
- Period determination using phase dispersion minimization, R. F. Stellingwerf, The Astrophysical Journal 224, 953, 1978.
- A Statistical Primer on Classical Period-Finding Techniques in Astronomy, N. Giertych, A. Shaban, P. Haravu and J. P. Williams, Reports on Progress in Physics 87, 078401, 2024.
- The Correct Probability Distribution for the Phase Dispersion Minimization Periodogram, A. Schwarzenberg-Czerny, The Astrophysical Journal 489, 941, 1997.
- Point spread function, GNU Astronomy Utilities manual, GNU Project, 2025.
- Meteorite statistics, Washington University in St. Louis, accessed 2026.
- Astrostatistics Special Interest Group, International Statistical Institute, accessed 2026.
- 21st Century Statistical and Computational Challenges in Astrophysics, E. D. Feigelson, R. S. de Souza, E. E. O. Ishida and G. J. Babu, arXiv, 2020.
