 The mean of 
is the residence time,

For a Gaussian process and a boundary far from the mean, the residence time equals the inverse of the frequency of exceedance of the smaller critical value,

where the frequency of exceedance is

and is the power spectral density of the Gaussian distribution over a frequency .Suppose that instead of being scalar, has dimension , or .Define a domain that contains and has a smooth boundary .