Law and Politics
Arbitrary actions are closely related to teleology, the study of purpose. Actions lacking a telos, a goal, are necessarily arbitrary. With no end to measure against, there can be no standard applied to choices, so all decisions are alike. Note that arbitrary or random methods in the standard sense of arbitrary may not qualify as arbitrary choices philosophically, if they were done in furtherance of a larger purpose; in the examples above, discipline in school and avoiding overcrowding at gas stations.
Nihilism is the philosophy that believes that there is no purpose in the universe, and that every choice is arbitrary. According to nihilism, the universe contains no value and is essentially meaningless. Because the universe and all of its constituents contain no higher goal for us to make subgoals from, all aspects of human life and experiences are completely arbitrary. There is no right or wrong decision, thought or practice, and whatever choice a human being makes is just as meaningless and empty as any other choice he or she could've made.
Many brands of theism, the belief in a deity or deities, believe that everything has a purpose and that nothing is arbitrary. In these philosophies, God created the universe for a reason, and every event flows from that. Even seemingly random events cannot escape God's hand and purpose. This is somewhat related to the argument from design, the argument for God's existence because a purpose can be found in the universe.
Arbitrariness is also related to ethics, the philosophy of decision-making. Even if a person has a goal, they may choose to attempt to achieve it in ways that may be considered arbitrary. Rationalism holds that knowledge comes about through intellectual calculation and deduction; many rationalists (though not all) apply this to ethics as well. All decisions should be made through reason and logic, not via whim or how one "feels" what is right. Randomness may occasionally be acceptable as part of a subtask in furtherance of a larger goal, but not in general.