Identifying the factors that influence self-confidence