Harika22 commited on
Commit
fdfe72c
·
verified ·
1 Parent(s): d2f1d8c

Update pages/5_Descriptive Statistics.py

Browse files
Files changed (1) hide show
  1. pages/5_Descriptive Statistics.py +31 -1
pages/5_Descriptive Statistics.py CHANGED
@@ -34,7 +34,7 @@ st.markdown(multi)
34
  multi=''':red[3. Mode]'''
35
  st.markdown(multi)
36
 
37
- st.image("https://cdn-uploads.huggingface.co/production/uploads/66bde9bf3c885d04498227a0/uFpmO9i5sXkOK4gwl3By-.png",width=300)
38
 
39
  st.subheader("1.Mean",divider="green")
40
  multi = '''Mean is one of the best central tendency measure used to find the central value.
@@ -57,3 +57,33 @@ multi = '''
57
  st.markdown(multi)
58
  st.image("https://cdn-uploads.huggingface.co/production/uploads/66bde9bf3c885d04498227a0/UZDbaPifn2kfsYA5NlSNw.png",width=300)
59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  multi=''':red[3. Mode]'''
35
  st.markdown(multi)
36
 
37
+ st.image("https://cdn-uploads.huggingface.co/production/uploads/66bde9bf3c885d04498227a0/uFpmO9i5sXkOK4gwl3By-.png",width=400)
38
 
39
  st.subheader("1.Mean",divider="green")
40
  multi = '''Mean is one of the best central tendency measure used to find the central value.
 
57
  st.markdown(multi)
58
  st.image("https://cdn-uploads.huggingface.co/production/uploads/66bde9bf3c885d04498227a0/UZDbaPifn2kfsYA5NlSNw.png",width=300)
59
 
60
+ st.subheader("a. Arithemetic Mean",divider="red")
61
+ multi = '''Arithmetic mean is sum of all the observations divided by the total number of observations.The data follows the arithmetic sequence'''
62
+ st.markdown(multi)
63
+ st.latex(r"\text{Arithmetic Mean} = \frac{\sum_{i=1}^{n} x_i}{n}")
64
+ multi = '''--->xi represents each data point
65
+
66
+ --->n is the total number of data points.'''
67
+ st.markdown(multi)
68
+
69
+ st.subheader("b. Geometric Mean",divider="red")
70
+ multi = '''Geometric mean of a series containing n observations is the nth root of the product of the observations.The data follows geometric sequence'''
71
+ st.markdown(multi)
72
+ st.latex(r"\text{Geometric Mean} = \left( \prod_{i=1}^{n} x_i \right)^{\frac{1}{n}}")
73
+ multi = '''--->xi represents each data point.
74
+
75
+ --->n is the total number of data points.
76
+
77
+ --->∏ denotes the product of all data points.'''
78
+ st.markdown(multi)
79
+
80
+ st.subheader("c. Harmonic Mean",divider="red")
81
+ multi = '''Harmonic mean is the reciprocal of the arithmetic mean.The data follows the harmonic sequence it means ratio'''
82
+ st.markdown(multi)
83
+ st.latex(r"\text{Harmonic Mean} = \frac{n}{\sum_{i=1}^{n} \frac{1}{x_i}}")
84
+ multi = '''--->xi represents each data point.
85
+
86
+ --->n is the total number of data points.
87
+
88
+ ---> harmonic mean is particularly used for rates or ratios.'''
89
+ st.markdown(multi)