Imagine you are modelling an outcome based on two discrete factors, factor1 and factor2, which can be yes or no.
You could do something like:
model <- lm(outcome ~ factor1 + factor2)
Now suppose that out of the four combinations of values for the two factors there is one that can never happen.
For instance if factor1 is true factor2 can be either true or false, but if factor1 is false factor2 can only be false.
Does one need to account for that in the model? And, if yes, how so?