Spaces:
Build error
Build error
Update pages/4_Levels_of_Measurement.py
Browse files
pages/4_Levels_of_Measurement.py
CHANGED
|
@@ -96,3 +96,33 @@ st.latex(r'''
|
|
| 96 |
\quad \quad \textbf{Absolute Zero} \quad \text{\small (e.g., Height, Weight, Age)} \\[5pt]
|
| 97 |
\end{array}
|
| 98 |
''')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
\quad \quad \textbf{Absolute Zero} \quad \text{\small (e.g., Height, Weight, Age)} \\[5pt]
|
| 97 |
\end{array}
|
| 98 |
''')
|
| 99 |
+
st.subheader("Nominal Level")
|
| 100 |
+
st.markdown("""The **nominal level** of measurement categorizes data without any order or ranking, such as gender or colors.
|
| 101 |
+
""",unsafe_allow_html=True)
|
| 102 |
+
st.markdown("""
|
| 103 |
+
For **nominal data**, only **equality operators** (e.g., `=`, `!=`) can be used.
|
| 104 |
+
This is because nominal data categorizes items without any inherent order or numerical value,
|
| 105 |
+
so you can only check if two values are the same or different.
|
| 106 |
+
""",unsafe_allow_html=True)
|
| 107 |
+
st.subheader("Ordinal Level")
|
| 108 |
+
st.markdown("""
|
| 109 |
+
**Ordinal level** represents categories with a meaningful order, but the intervals between values are not consistent or meaningful.
|
| 110 |
+
""",unsafe_allow_html=True)
|
| 111 |
+
st.markdown("""
|
| 112 |
+
**Ordinal data** supports the use of comparison operators (e.g., greater than, less than) to determine the relative ranking or order of categories.
|
| 113 |
+
""",unsafe_allow_html=True)
|
| 114 |
+
st.subheader("Interval Level")
|
| 115 |
+
st.markdown("""
|
| 116 |
+
**Interval level** data has ordered categories with equal intervals between values, but lacks a true zero point (e.g., temperature in Celsius).
|
| 117 |
+
""",unsafe_allow_html=True)
|
| 118 |
+
st.markdown("""
|
| 119 |
+
**Interval data** supports arithmetic operators (e.g., addition, subtraction) and comparison operators (e.g., greater than, less than) since it has equal intervals between values but no true zero point.
|
| 120 |
+
""",unsafe_allow_html=True)
|
| 121 |
+
st.subheader("Ratio Level")
|
| 122 |
+
st.markdown("""
|
| 123 |
+
**Ratio level** data has ordered categories with equal intervals and a true zero point, allowing for meaningful ratios between values (e.g., height, weight).
|
| 124 |
+
""",unsafe_allow_html=True)
|
| 125 |
+
|
| 126 |
+
st.markdown("""
|
| 127 |
+
**Ratio data** supports all arithmetic operators (e.g., addition, subtraction, multiplication, division) and comparison operators (e.g., greater than, less than) due to its true zero point and meaningful ratios.
|
| 128 |
+
""",unsafe_allow_html=True)
|