We present a unified description of gravitational-wave data analysis that unites the templatebased analysis used to detect deterministic signals from well-modeled sources, such as binary-blackhole mergers, with the cross-correlation analysis used to detect stochastic gravitational-wave backgrounds. We also discuss the connection between template-based analyses and those that target poorly-modeled bursts of gravitational waves, and suggest a new approach for detecting burst signals.PACS numbers: 04.80. Nn, 04.30.Db, 07.05.Kf, 95.55.Ym Gravitational-wave data analysis is conventionally divided into three classes that depend on the nature of the signal: (i) well-modeled deterministic signals, such as those from compact binary inspirals; (ii) poorly-modeled deterministic signals, such as those from core-collapse supernovae; and (iii) stochastic signals, such as those from a phase transition in the early Universe. Here we will argue that this division is rather artificial and unnecessary, and suggest that a unified treatment can yield deeper insights. The elements needed to unify cases (i) and (ii) can be found in Refs. [1][2][3][4]. Here we provide a unification of cases (i) and (iii) using hierarchical Bayesian modeling [5].The motivation for developing a unified description of gravitational-wave data analysis is two-fold. First there is the pedagogical value of a coherent picture that emphasizes the common foundation of the disparate analysis techniques found in the literature, and second, the unified picture can provide a deeper understanding that may suggest new approaches. To illustrate the latter point we conclude our discussion by proposing a novel technique for detecting un-modeled "bursts" of gravitational waves.In the conventional picture, signals for which we have waveform templates are analyzed using a matched-filter statistic [6], un-modeled signals are characterized in terms of an excess power statistic [7], and stochastic signals are analyzed using a cross-correlation statistic between pairs of detectors [8]. The connection between the various forms of analysis is not immediately apparent, especially when described in a frequentist framework.In the case of un-modeled signals, the analyses usually focus on short duration "bursts" of gravitational-wave energy that are localized in a time-frequency representation of the data. The connection between a waveform template-based search and a burst search becomes apparent in the case of fully-coherent network analyses, where it becomes possible to solve for the gravitational-wave signal by either maximizing the likelihood [2] or locating regions of high posterior density [3,4]. To obtain meaningful results these analyses require constraints or pri-