where the terms represent the estimated parameters, X can
be any numeric value, DiA and DiB can be 0 or 1 for any given
observation, and (DADB)i is the product of DiA and DiB.
The predicted Y value depends on X and four possible
combinations of the dummy variables: