Harika22 commited on
Commit
7bde81c
·
verified ·
1 Parent(s): 162df52

Update pages/5_Descriptive Statistics.py

Browse files
Files changed (1) hide show
  1. pages/5_Descriptive Statistics.py +37 -1
pages/5_Descriptive Statistics.py CHANGED
@@ -242,4 +242,40 @@ Q_3 \text{ is the third quartile (75th percentile)}
242
  ''')
243
  st.latex(r'''
244
  Q_1 \text{ is the first quartile (25th percentile)}
245
- ''')
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
242
  ''')
243
  st.latex(r'''
244
  Q_1 \text{ is the first quartile (25th percentile)}
245
+ ''')
246
+ st.subheader("Quartile Deviation",divider="violet")
247
+ multi = '''Quartile deviation is inter-quartile range divided by two .
248
+ Inter-quartile range is difference between upper quartile and lower quartile in the distribution.
249
+ IQR is to know the central 50% tendency value
250
+
251
+ Interquartile Range = Upper Quartile (Q3)–Lower Quartile(Q1)
252
+ It is known as Semi-Inter-Quartile Range i.e. half of the difference between the upper quartile and lower quartile'''
253
+ st.markdown(multi)
254
+
255
+ st.latex(r'''
256
+ \text{Quartile Deviation} = \frac{Q_3 - Q_1}{2}
257
+ ''')
258
+
259
+ st.write("Where:")
260
+ st.latex(r'''
261
+ Q_3 \text{ is the third quartile (75th percentile)}
262
+ ''')
263
+ st.latex(r'''
264
+ Q_1 \text{ is the first quartile (25th percentile)}
265
+ ''')
266
+
267
+ multi = '''Quartile deviation only gives central 50% values that are close to median or not (it basically gives the behaviour of central data).
268
+
269
+ --->**More the spread then the deviation is high**
270
+ --->**spread is directly proportional to deviation**
271
+
272
+ Quartile deviation has some basic terms:
273
+ :red[Quantile]:To summarize the central tendency or dispersion - when quantiles(values) are dividing the data into equal parts then the part of dividing into equal parts are quantiles which are of 3 types
274
+
275
+ There are 3 types of quantile which divide the data:
276
+ :violet[1.Quartile]: divides the data into 4 equal parts
277
+ :violet[2.Percentile]: when the data is going to divide into 100 equal parts that particular quantile is known as percentile
278
+ :violet[3.Decile]:when the data is going to divide into 10 equal parts that particular quantile is known as decile
279
+ '''
280
+ st.markdown(multi)
281
+