The dynamics of innovation and investment, with application to Australia 1984 - 1998