In statistics, data measurement scales can be divided into four…