Stochastic specification and estimation of share equation systems