The experimental basis of the philosophy of legislation