Here's an example of a formula: Intelligence ~ SEX + AGE + SCHOOLING
How would I write out the regression equation for the above if for example schooling had 3 categories? E.g. High School, Undergraduate, Postgraduate, as well as SEX with 2 categories? E.g. Male, Female.