Statistics for Imitation Learning and Direct Perception for Autonomous Driving