 As a gymnasium student he studied the works of Immanuel Kant and Arthur Schopenhauer at Lessing-Gymnasium in Frankfurt.Later he studied medicine in Würzburg and Berlin, where he received his doctorate in 1885.While a medical student he studied the writings of David Hume, Spinoza, Plato and George Berkeley.