Determinates of skill formation: An anlysis in terms of interractions between the education market and the rest of the economy