In statistics, homogeneity arises in describing the properties of a dataset, or several datasets, and relates to the validity of the often convenient assumption that the statistical properties of any one part of an overall dataset are the same as any other part. In metaanalysis, which combines the data from several studies, homogeneity measures the differences or similarities between the several studies.
Homogeneity can be studied to several degrees of complexity. For example, considerations of homoscedasticity examine how much the variability of datavalues changes throughout a dataset. However, questions of homogeneity apply to all aspects of the statistical distributions, including the location parameter. Thus, a more detailed study would examine changes to the whole of the marginal distribution. An intermediatelevel study might move from looking at the variability to studying changes in the skewness. In addition to these, questions of homogeneity apply also to the joint distributions.
The concept of homogeneity can be applied in many different ways and, for certain types of statistical analysis, it is used to look for further properties that might need to be treated as varying within a dataset once some initial types of nonhomogeneity have been dealt with.
Contents 
Differences in the typical values across the dataset might initially be dealt with by constructing a regression model using certain explanatory variables to relate variations in the typical value to known quantities. There should then be a later stage of analysis to examine whether the errors in the predictions from the regression behave in the same way across the dataset. Thus the question becomes one of the homegeneity of the distribution of the residuals, as the explanatory variables change. See regression analysis.
The initial stages in the analysis of a time series may involve plotting values against time to examime homogeneity of the series in various ways: stability across time as opposed to a trend; stability of local fluctuations over time.
In hydrology, dataseries across a number of sites composed of annual values of the withinyear annual maximum riverflow are analysed. A common model is that the distributions of these values are the same for all sites apart from a simple scaling factor, so that the location and scale are linked in a simple way. There can then be questions of examining the homogeneity across sites of the distribution of the scaled values.
In meteorology, weather datasets are acquired over many years of record and, as part of this, measurements at certain stations may cease occasionally while, at around the same time, measurements may start at nearby locations. There are then questions as to whether, if the records are combined to form a single longer set of records, those records can be considered homgeneous over time.
Simple populations surveys may start from the idea that responses will be homogeneous across the whole of a population. Assessing the homogeneity of the population would involve looking to see whether the responses of certain identifiable subpopulations differ from those of others. For example carowners may differ from noncarowners, or there may be differences between different agegroups.
