It takes training, and it's still hard!
But it's not a silly question, I think. It isn't at all.
The fact that you hated being yelled at - and you *remember* hating being yelled at - is good impetus for not wanting to do it yourself. And that's good.
And the fact that probably everyone does it once in a while isn't going to ease your conscience (or mine). Everybody lies, too.
I think this is what *may* be happening. Say your daughter does something she shouldn't - perhaps not doing her household chores she knows she should do at a certain time. What you *want* her to learn is that she needs to do what she needs to do so her life and the family's day can go more smoothly.
As a matter of fact, she needs to learn how to do that whether mama is angry or not.
This is different from her thinking that her job is to keep mama from getting upset. When a child feels that he/she must *keep* mama or daddy happy, that's a terrible burden.
It's not the mistake or the disobedience - the not doing the chores - that's the focus now; it's that she has made the parent (or allowed the parent to) get mad and yell. It's not, "I have to do my chores"; it's "I have to keep mama happy and not make her yell."
You don't want your child afraid of you, or of what you may do.
One thing you can teach yourself is that when your blood pressure goes up, your voice always goes down. Lower the decibel level rather than raising it. You'll have to practice quite a bit before it gets to be a habit. You may even find that refraining from yelling opens doors to other kinds of communication.
You could set a goal for yourself that you want never to yell unless your daughter is in danger or the house is on fire.
But if you have trouble with that, or want to go at this faster, it wouldn't hurt to ask around for the name of a good counselor. Sometimes impartial advice is a very helpful thing.