Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,10 +2,50 @@ import streamlit as st
|
|
| 2 |
import pandas as pd
|
| 3 |
import numpy as np
|
| 4 |
st.header("INTRODCTION TO STATISTICS")
|
|
|
|
| 5 |
st.subheader("understanding statistics")
|
|
|
|
| 6 |
st.write("it is a huge field where we are going to deal with data. Mostly we are dealing with *data* in 4-ways. statistics is a mathematical operation uses and the study of collecting data, analysing, interpeting,presenting,and organizing data")
|
| 7 |
-
st.subheader("Types of statistics")
|
| 8 |
-
st.write("there are mainly 2 type of statistics\n")
|
| 9 |
-
st.markdown("1.discriptive statistics")
|
| 10 |
-
st.markdown("2.inferencial statistics")
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
import pandas as pd
|
| 3 |
import numpy as np
|
| 4 |
st.header("INTRODCTION TO STATISTICS")
|
| 5 |
+
|
| 6 |
st.subheader("understanding statistics")
|
| 7 |
+
|
| 8 |
st.write("it is a huge field where we are going to deal with data. Mostly we are dealing with *data* in 4-ways. statistics is a mathematical operation uses and the study of collecting data, analysing, interpeting,presenting,and organizing data")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
+
st.header("Types of statistics")
|
| 11 |
+
|
| 12 |
+
st.write("there are mainly 2 type of statistics")
|
| 13 |
+
|
| 14 |
+
st.markdown("red[1.discriptive statistics]")
|
| 15 |
+
|
| 16 |
+
st.markdown("blue[2.inferencial statistics]")
|
| 17 |
+
|
| 18 |
+
st.subheader("1.Descriptive statistics:")
|
| 19 |
+
|
| 20 |
+
st.markdown("So basically in this type we describe the data and helps to describe and summarize in terms of population or sample. population referes to compleate data whereas the sample leads to a sub part of the population.
|
| 21 |
+
|
| 22 |
+
population: The population referes to compleate data . The outcome is called as parameter.
|
| 23 |
+
|
| 24 |
+
sample : small amount of population is called sample. The outcome is called statistics")
|
| 25 |
+
|
| 26 |
+
st.subheader("2. Inferencial Statistics:")
|
| 27 |
+
|
| 28 |
+
st.markdown("t refers to understanding of the data and draw conclusions based on analysing on a sample data of the population.")
|
| 29 |
+
|
| 30 |
+
st.subheader("descriptive statistics are mainly divided into three types:")
|
| 31 |
+
|
| 32 |
+
st.markdown("Measures of central tendency")
|
| 33 |
+
|
| 34 |
+
st.markdown("Measures of variability(despersion)")
|
| 35 |
+
|
| 36 |
+
st.markdown("distribution")
|
| 37 |
+
|
| 38 |
+
st.header("Measures of central tendency")
|
| 39 |
+
|
| 40 |
+
st.write("This measure is used to calculate the central or average value of the data.The measures which are used to calculate central tendency are,
|
| 41 |
+
|
| 42 |
+
1.Arithmetic Mean
|
| 43 |
+
|
| 44 |
+
2.Geometric Mean
|
| 45 |
+
|
| 46 |
+
3.Harmonic Mean
|
| 47 |
+
|
| 48 |
+
4.Median
|
| 49 |
+
|
| 50 |
+
5.Mode")
|
| 51 |
+
|