A glass-half-full attitude can be passed down from ones' parents. An optimistic temperament is around 25% heritable, but it can also be learned and shaped by social mechanisms, such as attachments to friends and family (Meevissen, 2011).