DATAanalysis / app.py
satya11's picture
Update app.py
9c609a5 verified
import streamlit as st
import pandas as pd
import numpy as np
st.header("INTRODCTION TO STATISTICS")
st.subheader("understanding statistics")
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")
st.header("Types of statistics")
st.write("there are mainly 2 type of statistics")
st.markdown(":red[1.discriptive statistics]")
st.markdown(":blue[2.inferencial statistics]")
st.subheader("1.Descriptive statistics:")
st.write("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.")
st.markdown("- population: The population referes to compleate data . The outcome is called as parameter.")
st.markdown("- sample : small amount of population is called sample. The outcome is called statistics")
st.subheader("2. Inferencial Statistics:")
st.write("this refers to understanding of the data and draw conclusions based on analysing on a sample data of the population.")
st.subheader("descriptive statistics are mainly divided into three types:")
st.markdown("1.Measures of central tendency")
st.markdown("2.Measures of variability(despersion)")
st.markdown("3.distribution")
st.subheader("1.Measures of central tendency")
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,")
st.markdown("**1.Arithmetic Mean**")
st.markdown("**2.Geometric Mean**")
st.markdown("**3.HarmonicMean**")
st.markdown("**4.Median**")
st.markdown("**5.Mode**")
st.subheader("Measures of variability")
st.write("This measure is used to measure how the collected data is spreding or dispersing around the central value.The measures which are used to measure the dispersion are,")
st.write("Measures of variability are classified into two types:")
st.subheader("**1.Absolute**")
st.write("a.Range")
st.write("b.Quartile deviation")
st.write("c.Variance")
st.write("d.Standard deviation")
st.subheader("**2.Relative**")
st.write("a.Co-efficient of Range")
st.write("b.Co-efficient of Quartile deviation")
st.write("c.Co-efficient of Variance")
st.write("d.Co-efficient of Standard deviation")
st.write("THE END")