Neural circuits exhibit complex patterns of spontaneous activity. I will discuss how neural network models can reproduce this activity and how it interacts with responses evoked by sensory stimuli. This work involves analytic, mean-field and computer analyses of large systems of nonlinear differential equations with random parameters.