Statistics for Constrained portfolio selection with Markov and non-Markov processes and insiders