The stock market is driven primarily by three factors: corporate earnings, interest rates and investor psychology. An appreciation of these factors may help us cope with inevitable downturns in the future.