Example. This is adapted from J. Scott Long’s Regression Models for Categorical and Limited Dependent Variables. Most real research examples will involve more cases and more parameters but the general principle is the same.Define pi as the probability of observing whatever value of y was actually observed for a given observation, i.e.