Categorical model with continuous dependent variable

@gBokiau is right you should set the shape=7 on p1.

However, since you said earlier:

You should model p differently and had it multiple with b later on.