This study’s purpose was to investigate the relationships among learning through experience, learning for stress resistance, learning cognition, learning outcomes, the entrepreneurial mindset, and the discrimination of social information. The main research methods adopted in the study were the partial least squares (PLS) and the Sobel test. We adopted PLS to test the relationships between six variables, including mediating and moderating effects. In addition to PLS, this study used the Sobel test to verify the mediating effects. Large samples may cause a mediating effect testing error when PLS is used; however, the Sobel test can resolve this issue. According to our test results, learning through experience and learning for stress resistance can change students’ learning cognition and improve their learning outcomes. In addition, an entrepreneurial mindset has a mediating effect on the relationship between learning through experience, learning for stress resistance, and learning cognition. That is, for the student, having an entrepreneurial mindset strengthens the effect of learning through experience, as well as learning for stress resistance, and improves learning cognition. However, the discrimination of social information has a moderating effect on the relationship between learning cognition and learning outcomes. That is, a lower discrimination capability with respect to social information changes learning cognition and results in poor learning outcomes.