The second half of my code is producing an error stating "varlist not allowed".

I am working on a dataset from an experiment that looked at how male and female students and faculty responded to an email. I have to create bar graphs using the coefplot command comparing the results by gender for students and faculty. When I input the command in my dofile, Stata states varlist not allowed. Is there something I am doing wrong with the code?

I have included sample of my dataset, code, and the Stata output.

Any help is appreciated thank you.