Hey VicB.

Are you aware of regression models for categorical variables? Basically you use a tonne of dummy variables that take on a 0 or 1 value and if you only have categorical variables, then you do what is known as a logistic regression.

If you want to know more details then do a search in google for logistic regression, its derivation, and the estimation of parameters and what they mean.