Harika22 commited on
Commit
040ca6e
·
verified ·
1 Parent(s): 58faf30

Update pages/5_Descriptive Statistics.py

Browse files
Files changed (1) hide show
  1. pages/5_Descriptive Statistics.py +11 -5
pages/5_Descriptive Statistics.py CHANGED
@@ -311,7 +311,8 @@ st.latex(r'''
311
  \text{Coefficient of Quartile Deviation} = (\frac{Q_3 - Q_1}{Q_3 + Q_1})*100''')
312
 
313
  st.subheader("Variance",divider="violet")
314
- multi = '''Variance is used for measuring the dispersion or spread.Average of spread or dispersion is known as variance.'''
 
315
  st.markdown(multi)
316
  st.latex(r'''
317
  \sigma^2 = \frac{\sum (X_i - \mu)^2}{N}''')
@@ -347,9 +348,7 @@ multi = '''Variance can't be easily interpreted because we are doubling the devi
347
 
348
  --->**More the spread it means more the standard deviation**
349
 
350
- --->**spread is directly proportional to the standard deviation**
351
-
352
- --->to check the consistency of data co-efficient of variance is used'''
353
  st.markdown(multi)
354
  st.latex(r'''
355
  \sigma = \sqrt{\frac{\sum (X_i - \mu)^2}{N}}''')
@@ -378,6 +377,12 @@ st.subheader("Sample standard deviation")
378
  st.latex(r'''
379
  s = \sqrt{\frac{\sum (X_i - \bar{X})^2}{n - 1}}''')
380
 
 
 
 
 
 
 
381
  multi = '''--->σ is the population standard deviation
382
 
383
  --->s is the sample standard deviation
@@ -391,4 +396,5 @@ multi = '''--->σ is the population standard deviation
391
  --->N is the total number of data points in the population
392
 
393
  --->n is the number of data points in the sample.'''
394
- st.markdown(multi)
 
 
311
  \text{Coefficient of Quartile Deviation} = (\frac{Q_3 - Q_1}{Q_3 + Q_1})*100''')
312
 
313
  st.subheader("Variance",divider="violet")
314
+ multi = '''Variance is used for measuring the dispersion or spread.Average of spread or dispersion is known as variance.
315
+ -->to check the consistency of data co-efficient of variance is used'''
316
  st.markdown(multi)
317
  st.latex(r'''
318
  \sigma^2 = \frac{\sum (X_i - \mu)^2}{N}''')
 
348
 
349
  --->**More the spread it means more the standard deviation**
350
 
351
+ --->**spread is directly proportional to the standard deviation**'''
 
 
352
  st.markdown(multi)
353
  st.latex(r'''
354
  \sigma = \sqrt{\frac{\sum (X_i - \mu)^2}{N}}''')
 
377
  st.latex(r'''
378
  s = \sqrt{\frac{\sum (X_i - \bar{X})^2}{n - 1}}''')
379
 
380
+ st.latex(r'''
381
+ \text{Population Coefficient of Standard Deviation} = \frac{\sigma}{\mu}''')
382
+
383
+ st.latex(r'''
384
+ \text{Sample Coefficient of Standard Deviation} = \frac{s}{\bar{X}}''')
385
+
386
  multi = '''--->σ is the population standard deviation
387
 
388
  --->s is the sample standard deviation
 
396
  --->N is the total number of data points in the population
397
 
398
  --->n is the number of data points in the sample.'''
399
+ st.markdown(multi)
400
+