Statistics can be defined as the branch of mathematics that deals with interpretation, analysis, collection and…