A dummy variable only has two values, so you get two predicted Y values. Therefore, the predicted Y values are equal to the sample means for each group. To help illustrate the point, I’ve estimated a model with a dummy variable by using STATA and data collected from hundreds of movies. I used information on lead characters to create a dummy variable Female that is equal to
1 if the lead actor is a female and 0 otherwise