Solution Found!
A qualitative variable with three classes (X, Y, and Z) is
Chapter , Problem 2E(choose chapter or problem)
A qualitative variable with three classes (X, Y, and Z) is measured for each of 20 units randomly sampled from a target population. The data (observed class for each unit) are listed below.
\(\begin{array}{llllllllllll}
\hline \mathrm{Y} & \mathrm{X} & \mathrm{X} & \mathrm{Z} & \mathrm{X} & \mathrm{Y} & \mathrm{Y} & \mathrm{Y} & \mathrm{X} & \mathrm{X} & \mathrm{Z} & \mathrm{X} \\
\mathrm{Y} & \mathrm{Y} & \mathrm{X} & \mathrm{Z} & \mathrm{Y} & \mathrm{Y} & \mathrm{Y} & \mathrm{X} & & & & \\
\hline
\end{array}\)
a. Compute the frequency for each of the three classes.
b. Compute the relative frequency for each of the three classes.
c. Display the results, part a, in a frequency bar graph.
d. Display the results, part b, in a pie chart.
Questions & Answers
QUESTION:
A qualitative variable with three classes (X, Y, and Z) is measured for each of 20 units randomly sampled from a target population. The data (observed class for each unit) are listed below.
\(\begin{array}{llllllllllll}
\hline \mathrm{Y} & \mathrm{X} & \mathrm{X} & \mathrm{Z} & \mathrm{X} & \mathrm{Y} & \mathrm{Y} & \mathrm{Y} & \mathrm{X} & \mathrm{X} & \mathrm{Z} & \mathrm{X} \\
\mathrm{Y} & \mathrm{Y} & \mathrm{X} & \mathrm{Z} & \mathrm{Y} & \mathrm{Y} & \mathrm{Y} & \mathrm{X} & & & & \\
\hline
\end{array}\)
a. Compute the frequency for each of the three classes.
b. Compute the relative frequency for each of the three classes.
c. Display the results, part a, in a frequency bar graph.
d. Display the results, part b, in a pie chart.
ANSWER:Step 1 of 4
(a)
A qualitative variable with three classes (X, Y, and Z) is measured for each of 20 units.
The data are listed below.
\(\begin{array}{|c|c|c|c|c|c|c|c|c|c|c|c|} \hline \mathrm{Y} & \mathrm{X} & \mathrm{X} & \mathrm{Z} & \mathrm{X} & \mathrm{Y} & \mathrm{Y} & \mathrm{Y} & \mathrm{X} & \mathrm{X} & \mathrm{Z} & \mathrm{X} \\ \hline \mathrm{Y} & \mathrm{Y} & \mathrm{X} & \mathrm{Z} & \mathrm{Y} & \mathrm{Y} & \mathrm{Y} & \mathrm{X} & & & & \\ \hline \end{array}\)
We need to find the frequency for each of the three classes.
To find the frequency for each class, count the number of times each letter occurs. The frequencies for the three classes are:
\(\begin{array}{|c|c|} \hline \text { Class } & \text { Frequency } \\ \hline \mathrm{X} & 8 \\ \hline \mathrm{Y} & 9 \\ \hline \mathrm{Z} & 3 \\ \hline \text { Total } & 20 \\ \hline \end{array}\)