What does a matrix of dummy variables look like?

23 Views Asked by At

I am reading a book, and he has this model set up. Just focusing on matrix D, what would that matrix look like? Would it just be a diagonal matrix of dummy variables? enter image description here