Simulations of a model pension scheme are run with stochastic economic and demographic factors, with an aim to investigate the impact of these factors on movements in funding ratio and average contribution rates. These impacts are analysed by running regressions of movements in funding ratio and average contribution rates against the economic and demographic factors. It is found that, for a typical scheme closed to new entrants and a balanced asset allocation including equity investment, the mismatch between discount rate movements and investment returns is by far the biggest predictor of funding ratio movements, with average contribution rates affected more by events in a few individual years rather than averaged over an entire simulation. Where the scheme invests to cash-flow match liabilities, mortality improvement becomes the most significant predictor of funding ratio movements, although mortality improvement still has little impact on average contribution rates.