A microscopic Monte Carlo analysis of the 169Tm NMR line shape in dilute LiY0.98Tm0.02F4 is presented. The random occupation of rare-earth lattice sites by Tm3+ ions is treated explicitly, and the distribution of dipolar local fields at the resonant 169Tm nuclei is calculated for 5 × 106 independent configurations. It is shown that, in the 2