Statistics for Inverse optimal control and positive real systems