Sreeja6600 commited on
Commit
3918b92
·
verified ·
1 Parent(s): 01c17c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -91
app.py CHANGED
@@ -1,92 +1,16 @@
1
  import streamlit as st
2
-
3
- st.title("Statistics:The Pathway for Data Analysis")
4
- st.header("What is Statistics")
5
- st.write("Statistics is the science of analysing data.")
6
- st.write("Statistics involve analysing data , interpreting data and processing it into meaningful insights which are used further to build a model.")
7
- st.header("Types of Statistics")
8
- st.write("The data we collect will decide which type of statistics we must use.")
9
- st.write("The data we collect may be of two types namely, Population and Sample.")
10
- st.subheader("Population")
11
- st.write("For the problem statement, if we find each and every observation and whole data is involved then it is Population")
12
- st.markdown("**Example**")
13
- st.write("consider a family of 10 members . If we have to find how many are non veg lovers, we can ask each and every person of the family and can know it.")
14
- st.write("In the above example we consider opinion of every person in the family and come to the conclusion about how many love non-veg. So we take in every observation to provide desired result. This is Population.")
15
- st.write("It is practically impossible to find population of large datasets , that is why Sample came into play.")
16
- st.write("When we measure the population then its :blue[_Parameter_]")
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")