Harika22 commited on
Commit
c0fd5a8
·
verified ·
1 Parent(s): 06acee6

Update pages/5_Descriptive Statistics.py

Browse files
Files changed (1) hide show
  1. pages/5_Descriptive Statistics.py +36 -0
pages/5_Descriptive Statistics.py CHANGED
@@ -126,3 +126,39 @@ multi = '''--->N represents the total number of observations in the population -
126
 
127
  --->xi represents each individual observation.'''
128
  st.markdown(multi)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
126
 
127
  --->xi represents each individual observation.'''
128
  st.markdown(multi)
129
+
130
+ st.subheader("2.Median",divider="green")
131
+ multi = '''Median is one of the central tendency measure used to find the central value.
132
+ Median gives the precise central value of the data.
133
+ It uses only central values so we may not get accurate central point of the data.It is used mostly in ordered data.'''
134
+ st.markdown(multi)
135
+
136
+ multi=''':red[Odd number of observations]'''
137
+ st.markdown(multi)
138
+
139
+ st.latex(r"\text{Median} = x_{\left(\frac{n+1}{2}\right)}")
140
+
141
+ multi=''':red[Even number of observations]'''
142
+ st.markdown(multi)
143
+
144
+ st.latex(r"\text{Median} = \frac{x_{\left(\frac{n}{2}\right)} + x_{\left(\frac{n}{2} + 1\right)}}{2}")
145
+
146
+ st.subheader("3.Mode",divider="green")
147
+ multi = '''Mode is one of the central tendency value used to find the central data.
148
+ Mode gives the datapoint or value which is frequently occuring.It is mostly used in categorical data.
149
+
150
+ Types of Mode:
151
+ There are 5 types of mode. They are No mode, Unimode, Bimode, Trimode, and Multimode
152
+
153
+ :red[No mode] - set of data which has no frequently ocuuring value then it contains no mode
154
+
155
+ :red[Unimodal Mode] - set of data with one mode (frequently repeated values are 1) is known as a unimode.
156
+
157
+ :red[Bimodal Mode] - set of data with two modes (frequently repeated values are 2) is known as a bimode
158
+
159
+ :red[Trimodal Mode] - set of data with three modes(frequently repeated values are 3) is known as a Trimode
160
+
161
+ :red[Multimodal Mode] - set of data with more than three modes(frequently repeated values are more than 3) is known as a multimode.'''
162
+ st.markdown(multi)
163
+
164
+