Spaces:
Build error
Build error
File size: 4,189 Bytes
4e867cf 7858fc6 4e867cf 2ea8ab4 4e867cf 4fee41b 4944200 4fee41b b11f59f 0c4836c bb49acb 0bcc64d bb49acb d26e48b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 |
import streamlit as st
import pandas as pd
st.markdown("""
<style>
/* Set a soft background color */
body {
background-color: #eef2f7;
}
/* Style for main title */
h1 {
color: #00FFFF;
font-family: 'Roboto', sans-serif;
font-weight: 700;
text-align: center;
margin-bottom: 25px;
}
/* Style for headers */
h2 {
color: #FFFACD;
font-family: 'Roboto', sans-serif;
font-weight: 600;
margin-top: 30px;
}
/* Style for subheaders */
h3 {
color: #ba95b0;
font-family: 'Roboto', sans-serif;
font-weight: 500;
margin-top: 20px;
}
.custom-subheader {
color: #00FFFF;
font-family: 'Roboto', sans-serif;
font-weight: 600;
margin-bottom: 15px;
}
/* Paragraph styling */
p {
font-family: 'Georgia', serif;
line-height: 1.8;
color: #FFFFFF; /* Darker text color for better visibility */
margin-bottom: 20px;
}
/* List styling with checkmark bullets */
.icon-bullet {
list-style-type: none;
padding-left: 20px;
}
.icon-bullet li {
font-family: 'Georgia', serif;
font-size: 1.1em;
margin-bottom: 10px;
color: #FFFFF0; /* Darker text color for better visibility */
}
.icon-bullet li::before {
content: "✔️";
padding-right: 10px;
color: #17a2b8;
}
/* Sidebar styling */
.sidebar .sidebar-content {
background-color: #ffffff;
border-radius: 10px;
padding: 15px;
}
.sidebar h2 {
color: #495057;
}
/* Mobile specific styles */
@media only screen and (max-width: 600px) {
.stApp {
background-color: #070109;
}
h1, h2 {
font-size: 18px; /* Adjust font size for mobile devices */
}
}
</style>
""", unsafe_allow_html=True)
st.title("INTRODUCTION TO STATISTICS")
st.markdown("""Statistics is a branch of mathematics focused on collecting, analyzing, interpreting, and presenting data. It can be divided into two main categories
""", unsafe_allow_html=True)
st.subheader("Descriptive Statistics")
st.markdown("""
Descriptive statistics summarize and describe the main features of a dataset. Key concepts include:
<ul class="icon-bullet">
<li>Measures of Central Tendency (Mean, Median, Mode)</li>
<li>Measures of Dispersion (Range, Variance, Standard Deviation)</li>
<li>Data Distributions (e.g., Gaussian, Random, Normal)</li>
</ul>
""", unsafe_allow_html=True)
st.subheader("Inferential Statistics")
st.markdown("""
Inferential statistics involve making predictions or inferences about a population based on a sample. These methods are used to test hypotheses and estimate population parameters.
<ul class="icon-bullet">
<li>Hypothesis Testing (t-tests,Chi-square tests,ANOVA)</li>
<li>Confidence Intervals </li>
<li>Regression Analysis(Simple Linear Regression,Multiple Regression,Logistic Regression)</li>
</u>
""", unsafe_allow_html=True)
st.header("While collecting the data we tend to collect the data based on")
st.markdown("""
<ul class="icon-bullet">
<li>Poulation</li>
<li>Sample</li>
</ul>
""",unsafe_allow_html=True)
st.subheader("Population")
st.markdown("""Population refers to the entire set of data or all possible observations relevant to a particular study or analysis.
""",unsafe_allow_html=True)
st.markdown("""Population Measure are **Parameters**
""",unsafe_allow_html=True)
st.image("https://cdn-uploads.huggingface.co/production/uploads/64c972774515835c4dadd754/NqR4Aud2KosmHI4GDsCvF.png",caption="Population Data",width=400)
st.subheader("Sample")
st.markdown("""A sample is a smaller subset of a population, selected to represent the entire population in a study or analysis.
""",unsafe_allow_html=True)
st.markdown("""Sample Measure are **Statistics**
""",unsafe_allow_html=True)
st.image("https://cdn-uploads.huggingface.co/production/uploads/64c972774515835c4dadd754/u73pY9APXB0kpickkqbjo.png",caption="Sample Data",width=400) |