Harika22 commited on
Commit
b158d42
·
verified ·
1 Parent(s): 0fb2d68

Update pages/5_Descriptive Statistics.py

Browse files
Files changed (1) hide show
  1. pages/5_Descriptive Statistics.py +26 -1
pages/5_Descriptive Statistics.py CHANGED
@@ -93,4 +93,29 @@ st.markdown('''Relation between above 3 types of mean is :
93
  st.latex(r"\text{Harmonic Mean} \leq \text{Geometric Mean} \leq \text{Arithmetic Mean}")
94
  st.markdown('''If the every observation of collected data is same then mean is :
95
  ''')
96
- st.latex(r"\text{Harmonic Mean} \eq \text{Geometric Mean} \eq \text{Arithmetic Mean}")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  st.latex(r"\text{Harmonic Mean} \leq \text{Geometric Mean} \leq \text{Arithmetic Mean}")
94
  st.markdown('''If the every observation of collected data is same then mean is :
95
  ''')
96
+ st.latex(r"\text{Harmonic Mean} = \text{Geometric Mean} = \text{Arithmetic Mean}")
97
+ multi = '''Collected data has 2 types of mean :
98
+
99
+ population mean(**parameter**)
100
+
101
+ sample mean(**statistics**)
102
+ '''
103
+ st.markdown(multi)
104
+ st.latex(r"\text{Population Arithmetic Mean} (\mu) = \frac{1}{N} \sum_{i=1}^{N} x_i")
105
+
106
+ st.latex(r"\text{Sample Arithmetic Mean} (\bar{x}) = \frac{1}{n} \sum_{i=1}^{n} x_i")
107
+
108
+ st.latex(r"\text{Population Geometric Mean} = \left( \prod_{i=1}^{N} x_i \right)^{\frac{1}{N}}")
109
+
110
+ st.latex(r"\text{Sample Geometric Mean} = \left( \prod_{i=1}^{n} x_i \right)^{\frac{1}{n}}")
111
+
112
+ st.latex(r"\text{Population Harmonic Mean} = \frac{N}{\sum_{i=1}^{N} \frac{1}{x_i}}")
113
+
114
+ st.latex(r"\text{Sample Harmonic Mean} = \frac{n}{\sum_{i=1}^{n} \frac{1}{x_i}}")
115
+
116
+ multi = '''N represents the total number of observations in the population - size of population data
117
+
118
+ n represents the total number of observations in the sample - subset of population data
119
+
120
+ xi represents each individual observation.'''
121
+ st.markdown(multi)