I love when I hear parents yell for their kids to stop screaming and yelling.
Yes, it is like dog training. Modelling positive behaviour and attention for good behaviour are important.
I worked with a psychologist once who said that he started smacking his kids once, out of frustration at their disobedience. It only lasted a week as there was already a marked increase in their violence towards each other.