A test of the intertemporal asset pricing model