We study the impact of stochastic interest rates and capital illiquidity on investment and firm value by incorporating a widely used arbitrage-free term structure model of interest rates into a standard q theoretic framework. Our generalized q model informs us to use corporate credit-risk...