Ok...if your boyfriend's yelling is so intense that it has you questioning it, perhaps it's time to move on.
You really need to think twice about raising your daughter in this environment.
I would make an ultimatum. Either he gets counseling for his anger and yelling, or he's out the door.
You probably don't like my opinion, but you are living with a man who is yelling at your daughter. This is not his daughter, and he really has no authority to yell at her. He is not even her stepfather.
You are teaching your daughter that it is OK to move in with a man who will treat her children terribly. You need to show her that women do not need to be in relationships like this.