Random effects are the effects attributable to an infinite set of levels of the factor, of which only the random sample occur in the data. For example, the investigator may want to accommodate effects of subjects in a longitudinal study by introducing subject-specific intercepts that are viewed as a random sample from a distribution of effects.