Hand hygiene compliance was strongly influenced by attitudes ( perceived outcomes of preventive actions ) , self - efficacy ( perception of the ability to perform hand hygiene at the clinical ward ) and habit , but was not associated with knowledge and risk perception .