Harika22 commited on
Commit
3232ce8
·
verified ·
1 Parent(s): fa8f42e

Update pages/4_Levels of Measurement.py

Browse files
Files changed (1) hide show
  1. pages/4_Levels of Measurement.py +29 -13
pages/4_Levels of Measurement.py CHANGED
@@ -21,33 +21,49 @@ st.image("https://cdn-uploads.huggingface.co/production/uploads/66bde9bf3c885d04
21
  st.subheader("1.Nominal Data",divider="red")
22
  multi = '''Nominal data is categorical and represent distinct categories . Data don't have any quantitative value or order or ranking
23
  Data at this level is qualitative and lack any inherent order or ranking..
24
- Ex- types of animals (dog, cat, bird) and Gender (male and female).'''
 
 
 
 
 
 
 
25
  st.markdown(multi)
26
- st.columns(It is only categorized data.
27
- Measures of central tendency performed are frequency and mode
28
- Mathematical operations performed are ** ==, != ** )
29
  st.subheader("2.Ordinal Data",divider="red")
30
  multi = '''Ordinal data is categorical data and represent distinct categories which have an inherent order or ranking among the categories.
31
  The intervals between the categories are not necessarily equal as the order matters, but the difference between values is not consistent or meaningful.
32
- It is categorized and ordered data.
33
  Ex- Economic Status - (poor, middle, high) here you can compare the relative order of categories but you cannot assume that the differences between them are equal or meaningful
34
- Measures of central tendency performed are Frequency, mode, median(only for odd no.of elements), percentiles
35
- Mathematical operations performed are ** ==, !=, >, < **'''
 
 
 
 
36
  st.markdown(multi)
37
  st.subheader("3.Interval",divider="red")
38
  multi = '''Interval data is numeric and have equal intervals between values.
39
  They do not have a true zero point - zero doesn't indicate the absence of the measured quantity.
40
- It is categorized, ordered and have equal intervals.
41
  Ex- Temperature in Celsius or Fahrenheit - In interval data you can perform addition and subtraction operations but you cannot meaningfully calculate ratios (e.g., 20°C is not twice as hot as 10°C)
42
- Measures of central tendency performed are Mean(Arithmetic mean), mode, median
43
- Mathematical operations performed are ** ==, !=, >, <, +, - **'''
 
 
 
 
44
  st.markdown(multi)
45
  st.subheader("4.Ratio",divider="red")
46
  multi = '''Ratio data is numeric and have all the properties of interval data and a meaningful and absolute zero point.
47
  Zero in ratio data represents the complete absence of the measured quantity.
48
- It is categorized, ordered, have equal intervals and have true zero point.
49
  Ex- heught, age, income etc..,we can calculate meaningful ratios (e.g., someone with a height of 180 cm is twice as tall as someone with a height of 90 cm).
50
- Measures of central tendency performed are Mean(Arithmetic mean, Geometric mean, Harmonic mean), mode, median
51
- All mathematical operations are performed'''
 
 
 
 
52
  st.markdown(multi)
53
  st.image("https://cdn-uploads.huggingface.co/production/uploads/66bde9bf3c885d04498227a0/hlUBcfEK2beldv8OzLQUM.webp")
 
21
  st.subheader("1.Nominal Data",divider="red")
22
  multi = '''Nominal data is categorical and represent distinct categories . Data don't have any quantitative value or order or ranking
23
  Data at this level is qualitative and lack any inherent order or ranking..
24
+
25
+ Ex- types of animals (dog, cat, bird) and Gender (male and female).
26
+
27
+ --->"**It is only categorized data.**""
28
+
29
+ --->"**Measures of central tendency performed are frequency and mode**""
30
+
31
+ --->"**Mathematical operations performed are ** ==, != ** **"'''
32
  st.markdown(multi)
 
 
 
33
  st.subheader("2.Ordinal Data",divider="red")
34
  multi = '''Ordinal data is categorical data and represent distinct categories which have an inherent order or ranking among the categories.
35
  The intervals between the categories are not necessarily equal as the order matters, but the difference between values is not consistent or meaningful.
36
+
37
  Ex- Economic Status - (poor, middle, high) here you can compare the relative order of categories but you cannot assume that the differences between them are equal or meaningful
38
+
39
+ --->"**It is categorized and ordered data.**"
40
+
41
+ --->"**Measures of central tendency performed are Frequency, mode, median(only for odd no.of elements), percentiles**"
42
+
43
+ --->"**Mathematical operations performed are ** ==, !=, >, < ** **"'''
44
  st.markdown(multi)
45
  st.subheader("3.Interval",divider="red")
46
  multi = '''Interval data is numeric and have equal intervals between values.
47
  They do not have a true zero point - zero doesn't indicate the absence of the measured quantity.
48
+
49
  Ex- Temperature in Celsius or Fahrenheit - In interval data you can perform addition and subtraction operations but you cannot meaningfully calculate ratios (e.g., 20°C is not twice as hot as 10°C)
50
+
51
+ --->"**It is categorized, ordered and have equal intervals**"
52
+
53
+ --->"**Measures of central tendency performed are Mean(Arithmetic mean), mode, median**""
54
+
55
+ --->"**Mathematical operations performed are ** ==, !=, >, <, +, - ** **"'''
56
  st.markdown(multi)
57
  st.subheader("4.Ratio",divider="red")
58
  multi = '''Ratio data is numeric and have all the properties of interval data and a meaningful and absolute zero point.
59
  Zero in ratio data represents the complete absence of the measured quantity.
60
+
61
  Ex- heught, age, income etc..,we can calculate meaningful ratios (e.g., someone with a height of 180 cm is twice as tall as someone with a height of 90 cm).
62
+
63
+ --->"**It is categorized, ordered, have equal intervals and have true zero point.**"
64
+
65
+ --->"**Measures of central tendency performed are Mean(Arithmetic mean, Geometric mean, Harmonic mean), mode, median**"
66
+
67
+ --->"**All mathematical operations are performed**"'''
68
  st.markdown(multi)
69
  st.image("https://cdn-uploads.huggingface.co/production/uploads/66bde9bf3c885d04498227a0/hlUBcfEK2beldv8OzLQUM.webp")