Essays on ride-sharing and sequential hypothesis testing