## Frequency, Frequency Tables, and Levels of Measurement

"Frequency" is the number of times an event or a value occurs in a dataset. A frequency table lists each item and the number of times the item appears. Read this module on frequency, frequency tables, and the levels of measurement (nominal, ordinal, interval, and ratio scales). Pay attention to each frequency table exercise. After each exercise, use the definitions to identify and explain its level of measurement.

#### Learning Outcomes

• Create and interpret frequency tables.

Once you have a set of data, you will need to organize it so that you can analyze how frequently each datum occurs in the set. However, when calculating the frequency, you may need to round your answers so that they are as precise as possible.

A simple way to round off answers is to carry your final answer one more decimal place than was present in the original data. Round off only the final answer. Do not round off any intermediate results, if possible. If it becomes necessary to round off intermediate results, carry them to at least twice as many decimal places as the final answer. For example, the average of the three quiz scores four, six, and nine is 6.3, rounded off to the nearest tenth, because the data are whole numbers. Most answers will be rounded off in this manner.

#### Levels of Measurement

The way a set of data is measured is called its level of measurement. Correct statistical procedures depend on a researcher being familiar with levels of measurement. Not every statistical operation can be used with every set of data. Data can be classified into four levels of measurement. They are (from lowest to highest level):

• Nominal scale level
• Ordinal scale level
• Interval scale level
• Ratio scale level

Data that is measured using a nominal scale is qualitative. Categories, colors, names, labels and favorite foods along with yes or no responses are examples of nominal level data. Nominal scale data are not ordered. For example, trying to classify people according to their favorite food does not make any sense. Putting pizza first and sushi second is not meaningful.

Smartphone companies are another example of nominal scale data. Some examples are Sony, Motorola, Nokia, Samsung and Apple. This is just a list and there is no agreed upon order. Some people may favor Apple but that is a matter of opinion. Nominal scale data cannot be used in calculations.

Data that is measured using an ordinal scale is similar to nominal scale data but there is a big difference. The ordinal scale data can be ordered. An example of ordinal scale data is a list of the top five national parks in the United States. The top five national parks in the United States can be ranked from one to five but we cannot measure differences between the data.

Another example of using the ordinal scale is a cruise survey where the responses to questions about the cruise are "excellent," "good," "satisfactory," and "unsatisfactory". These responses are ordered from the most desired response to the least desired. But the differences between two pieces of data cannot be measured. Like the nominal scale data, ordinal scale data cannot be used in calculations.

Data that is measured using the interval scale is similar to ordinal level data because it has a definite ordering but there is a difference between data. The differences between interval scale data can be measured though the data does not have a starting point.

Temperature scales like Celsius (C) and Fahrenheit (F) are measured by using the interval scale. In both temperature measurements, 40° is equal to 100° minus 60°. Differences make sense. But 0 degrees does not because, in both scales, 0 is not the absolute lowest temperature. Temperatures like −10° F and −15° C exist and are colder than 0.

Interval level data can be used in calculations, but one type of comparison cannot be done. 80° C is not four times as hot as 20° C (nor is 80° F four times as hot as 20° F). There is no meaning to the ratio of 80 to 20 (or four to one).

Data that is measured using the ratio scale takes care of the ratio problem and gives you the most information. Ratio scale data is like interval scale data, but it has a 0 point and ratios can be calculated. For example, four multiple choice statistics final exam scores are 80, 68, 20 and 92 (out of a possible 100 points). The exams are machine-graded.

The data can be put in order from lowest to highest: 20 , 68, 80, 92.

The differences between the data have meaning. The score 92 is more than the score 68 by 24 points. Ratios can be calculated. The smallest score is 0. So 80 is four times 20. The score of 80 is four times better than the score of 20.

#### Frequency

Twenty students were asked how many hours they worked per day. Their responses, in hours, are as follows: 5, 6, 3, 3, 2, 4, 7, 5, 2, 3, 5, 6, 5, 4, 4, 3, 5, 2, 5, 3.

The following table lists the different data values in ascending order and their frequencies.

Frequency Table of Student Work Hours

Data Value
Frequency
2 3
3 5
4 3
5 6
6 2
7 1

A frequency is the number of times a value of the data occurs. According to the table, there are three students who work two hours, five students who work three hours, and so on. The sum of the values in the frequency column, 20, represents the total number of students included in the sample.

A relative frequency is the ratio (fraction or proportion) of the number of times a value of the data occurs in the set of all outcomes to the total number of outcomes. To find the relative frequencies, divide each frequency by the total number of students in the sample–in this case, 20. Relative frequencies can be written as fractions, percents, or decimals.

Frequency Table of Student Work Hours with Relative Frequencies

Data Value
Frequency
Relative Frequency
2 3 $\frac{3}{20}$ or 0.15
3 5 $\frac{5}{20}$ or 0.25
4 3 $\frac{3}{20}$ or 0.15
5 6
$\frac{6}{20}$ or 0.30
6 2
$\frac{2}{20}$ or 0.10
7 1
$\frac{1}{20}$ or 0.50

The sum of the values in the relative frequency column of the previous table is $\frac{20}{20}$, or 1.

Cumulative relative frequency is the accumulation of the previous relative frequencies. To find the cumulative relative frequencies, add all the previous relative frequencies to the relative frequency for the current row, as shown in the table below.

Frequency Table of Student Work Hours with Relative and Cumulative Relative Frequencies

Data Value
Frequency
Relative Frequency
Cumulative Relative Frequency
2 3 $\frac{3}{20}$ or 0.15
0.15
3 5 $\frac{5}{20}$ or 0.25 0.15 + 0.25 = 0.40
4 3 $\frac{3}{20}$ or 0.15 0.40 + 0.15 = 0.55
5 6
$\frac{6}{20}$ or 0.30 0.55 + 0.30 = 0.85
6 2
$\frac{2}{20}$ or 0.10 0.85 + 0.10 = 0.95
7 1
$\frac{1}{20}$ or 0.50 0.95 + 0.05 = 1.00

The last entry of the cumulative relative frequency column is one, indicating that one hundred percent of the data has been accumulated.

##### NOTE

Because of rounding, the relative frequency column may not always sum to one, and the last entry in the cumulative relative frequency column may not be one. However, they each should be close to one.

#### Concept Review

Some calculations generate numbers that are artificially precise. It is not necessary to report a value to eight decimal places when the measures that generated that value were only accurate to the nearest tenth. Round off your final answer to one more decimal place than was present in the original data. This means that if you have data measured to the nearest tenth of a unit, report the final statistic to the nearest hundredth.

• Nominal scale level: data that cannot be ordered nor can it be used in calculations
• Ordinal scale level: data that can be ordered; the differences cannot be measured
• Interval scale level: data with a definite ordering but no starting point; the differences can be measured, but there is no such thing as a ratio.
• Ratio scale level: data with a starting point that can be ordered; the differences have meaning and ratios can be calculated.

When organizing data, it is important to know how many times a value appears. How many statistics students study five hours or more for an exam? What percent of families on our block own two pets? Frequency, relative frequency, and cumulative relative frequency are measures that answer questions like these.

Source: OpenStax, https://courses.lumenlearning.com/introstats1/chapter/frequency-frequency-tables-and-levels-of-measurement/
{"found_math": true, "script_math_tex": 13, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "https://learn.saylor.org/mod/page/view.php?id=66153", "fetch_time": 1720920342000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2024-30/segments/1720763514527.38/warc/CC-MAIN-20240714002551-20240714032551-00457.warc.gz", "warc_record_offset": 319673206, "warc_record_length": 22222, "token_count": 2004, "char_count": 8491, "score": 3.90625, "int_score": 4, "crawl": "CC-MAIN-2024-30", "snapshot_type": "latest", "language": "en", "language_score": 0.9262639284133911, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00036-of-00064.parquet"}