Under stationarity and weak dependence, the statistical significance a
nd the estimation of the extremal index are considered. It is shown th
at the distribution of the sample maximum can be uniformly approximate
d given the extremal index and the marginal distribution as the sample
size increases. An adaptive procedure is proposed for estimating the
extremal index. The procedure is shown to be asymptotically optimal in
a class of estimators.