We study the probability distribution of the pseudocritical temperature in a mean-field and in a short-range spin-glass model: the Sherrington-Kirkpatrick and the Edwards-Anderson (EA) model. In both cases, we put in evidence the underlying connection between the fluctuations of the pseudocritical point and the extreme value statistics of random variables. For the Sherrington-Kirkpatrick model,...