My OLS model is

Pit = a + b1*stationit + b2*distanceit + b3*compnumit + r*Xi + s*Yi +eit

Here Xi, I want to put variables which can show characteristics of station i. (such as station brand dummy, operation system dummy..)
And for Yi, Region dummythat shows the region where the stationi locates.

I guess mkmat helps to make these vector variables but don't know the exact way to use.
mkmat brand1 brand2 brand3 operation1 operation2, matrix(X)
and then,
reg price station distance compnum X Y
doesn't work. How can I put vectors into my OLS?