Your accuracy is determined mostly by agility and partly by survival. It is independent of the weapon used, AFAIK, neglecting any weapon speciality skills.
Evasion is determined mostly by speed and partly by agility. I'm not sure how the chance to hit / be hit are calculated from your accuracy / evasion and that of the opponent in question.