I've never had hawks deterred by a dog. Sometimes they aren't even deterred by the presence of a person - a Cooper's landed on a young pullet right at my daughter's feet last year.
Some hawks are difficult for chickens to see coming, the local Cooper's in particular. They excel at hunting...