inference from studies that make use of data at the level of the area. rath
er than at the level of the individual, is more difficult for a variety of
reasons. Some of these difficulties arise because frequently exposures (inc
luding confounders) vary within areas. In the most basic form of ecological
study the outcome measure is regressed against a simple area level summary
of exposure. In the aggregate data approach a survey of exposures and conf
ounders is taken within each area. An alternative approach is to assume a p
arametric form for the within-area exposure distribution. We provide a fram
ework within which ecological and aggregate data studies may be viewed, and
we review some approaches to inference in such studies, clarifying the ass
umptions on which they are based. General strategies for analysis are provi
ded including an estimator based on Monte Carlo integration that allows inf
erence in the case of a general risk-exposure model. We also consider the i
mplications of the introduction of random effects, and the existence of con
founding and errors in variables.