Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,92 +1,16 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
-
|
| 3 |
-
st.
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
st.write("
|
| 9 |
-
st.
|
| 10 |
-
st.
|
| 11 |
-
st
|
| 12 |
-
st.
|
| 13 |
-
st.write("
|
| 14 |
-
st.write("
|
| 15 |
-
st.write("
|
| 16 |
-
st.write("
|
| 17 |
-
st.subheader("Sample")
|
| 18 |
-
st.write("For the problem statement, if we find observations for only some observations which represent the whole data, then it is Sample. ")
|
| 19 |
-
st.markdown("**Example**")
|
| 20 |
-
st.write("consider If we have to find how many are non veg lovers present all over the world.")
|
| 21 |
-
st.write("In the above example, It is not possible to enquire each and every person around the world to know their preferences.Instead , we can enquire some people from each country as a survey and consider those responses to find the desired results. This is Sample.")
|
| 22 |
-
st.write("When we measure the Sample then its :blue[_Statistics_]")
|
| 23 |
-
|
| 24 |
-
st.markdown("***There are two types of Statistics namely, Descriptive and Inferential statistics***")
|
| 25 |
-
st.subheader("Inferential Statistics")
|
| 26 |
-
st.write(" This method is used to describe about whole population based on the sample we have.")
|
| 27 |
-
st.subheader("Descriptive Statistics")
|
| 28 |
-
st.write("This method is maily used to summarise or describe you collected data with different types of measures")
|
| 29 |
-
st.write("We can use descriptive statistics even when we have sample as well as population.")
|
| 30 |
-
multi='''The descriptive statistics is majorily divided into 3 types -
|
| 31 |
-
|
| 32 |
-
1.Measures of Central tendency
|
| 33 |
-
|
| 34 |
-
2.Measures of Dispersion / Variability
|
| 35 |
-
|
| 36 |
-
3.Distribution'''
|
| 37 |
-
|
| 38 |
-
st.markdown(multi)
|
| 39 |
-
st.subheader("Measures of Central Tendency")
|
| 40 |
-
st.write("These are the measures that finds the central or average value of Data.")
|
| 41 |
-
st.write("These mainly include Mean , Median and mode")
|
| 42 |
-
st.markdown("**MODE**")
|
| 43 |
-
st.write("Mode mainly states about the occurences of particular value.")
|
| 44 |
-
st.write("Mode is of many types like, 0 modes,uni mode Bi-mode, Tri-modes and multi-modes.")
|
| 45 |
-
st.write("**The main disadvantage of mode is**")
|
| 46 |
-
st.write("Due to its dependency on frequency , sometimes we can calculate mode and sometimes we cannot.")
|
| 47 |
-
st.markdown("**MEDIAN**")
|
| 48 |
-
st.write("""Median is mainly used to give precise central value
|
| 49 |
-
|
| 50 |
-
This process maily consists of sorting the data and then finding the central value.""")
|
| 51 |
-
st.write("**The main disadvantage of median is**")
|
| 52 |
-
st.write("Its complete concentration will be on the central value and sorting takes time")
|
| 53 |
-
st.markdown("***Both median and mode will not consider all the observations so we wont opt to these measure mostly.***" )
|
| 54 |
-
st.markdown("**MEAN**")
|
| 55 |
-
st.write("Mean is the average value of our whole dataset. It is the mostly used measure to find the central tendency.")
|
| 56 |
-
st.write("Mean can be given by ratio of sum of all observations and total number of observations")
|
| 57 |
-
st.write("""Mean is of 3 types :
|
| 58 |
-
|
| 59 |
-
1.Arithematic mean
|
| 60 |
-
|
| 61 |
-
2.Geometric mean
|
| 62 |
-
|
| 63 |
-
3.Harmonic mean""")
|
| 64 |
-
st.subheader("Measures of Dispersion/Variablity")
|
| 65 |
-
st.write("These are the measures to find how our data is spread or organised around the central value.")
|
| 66 |
-
st.write("Measures of Dispersion are of two types namely, Absolute and Relative")
|
| 67 |
-
st.subheader("Absolute")
|
| 68 |
-
st.write("Absolute value is a single value that describes the spread. This has units.")
|
| 69 |
-
st.write('''Absolute measures are further divided into:
|
| 70 |
-
|
| 71 |
-
**Range** : we use range when we are given with minimum and maximum values.
|
| 72 |
-
|
| 73 |
-
**Quartile Deviation** : we use this when a list is given and we must split them with equal intervals.
|
| 74 |
-
|
| 75 |
-
**Variance** : we use this when we need to find the spread using mean.
|
| 76 |
-
|
| 77 |
-
**Standard Deviation** : It is the root value of variance, this is the most used measure as it gives accurate spread.''')
|
| 78 |
-
st.subheader("Relative")
|
| 79 |
-
st.write("Relative measure is used when we have different type of data and we need to find its relation. This doesnot have units.")
|
| 80 |
-
st.write('''Relative measures are further divided into:
|
| 81 |
-
|
| 82 |
-
**Coefficient of Range**
|
| 83 |
-
|
| 84 |
-
**Coefficient of Quartile Deviation**
|
| 85 |
-
|
| 86 |
-
**Coefficient of Variance** : We use this in most of times, its main function is to know about the consistency in data.When data has high variance it has less consistency
|
| 87 |
-
|
| 88 |
-
**Coefficient of Standard Deviation** ''')
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
+
st.title("WELCOME TO DATA ANAYSIS...!!")
|
| 3 |
+
st.image("
|
| 4 |
+
|
| 5 |
+
![Uploading image.png…]()
|
| 6 |
+
|
| 7 |
+
, caption="DATA ANALYSIS")
|
| 8 |
+
st.write("Embark your journey with us to honour the progress in Data Analysis.")
|
| 9 |
+
st.subheader("What is Data Analysis")
|
| 10 |
+
st.write("Data analysis is the process of examining, cleaning, transforming, and interpreting data to find insights, patterns, and make informed decisions.")
|
| 11 |
+
st,subheader("What we learn Here:")
|
| 12 |
+
st.write("1.Basics of Data Analysis")
|
| 13 |
+
st.write("2.How Statistics are used to analyze data.")
|
| 14 |
+
st.write("3.What are the different types in data used for performing statistics.")
|
| 15 |
+
st.write("4.Levels of Measurements")
|
| 16 |
+
st.write("5.Descriptive Stastistics")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|