Measurements have been performed of the resistivity of the samples of MgB 2 , AlB 2 and AgB 2 . The samples show presence of impurities. Analyzing the data in terms of the impurity scattering, electron-phonon scattering, and weak localization it has been found that the AlB 2 (AgB 2 ) sample involves maximum (minimum) effect of the impurity, electron-phonon interaction and weak localization.