Update pages/Statistics.py
Browse files- pages/Statistics.py +22 -0
pages/Statistics.py
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
import pandas as pd
|
| 3 |
+
import numpy as np
|
| 4 |
+
|
| 5 |
+
st.header("Introduction to Statistics")
|
| 6 |
+
st.write("Statistics is the science of collecting, organizing, analyzing, interpreting, and presenting data. It's a powerful tool used to make sense of the world around us, from understanding trends in the economy to predicting the outcome of elections.")
|
| 7 |
+
st.subheader("Key Concepts in Statistics")
|
| 8 |
+
st.markdown("""
|
| 9 |
+
* **Data:** Information gathered from observations or experiments.
|
| 10 |
+
* **Population:** The entire group of individuals or objects being studied.
|
| 11 |
+
* **Sample:** A subset of the population used to represent the whole.
|
| 12 |
+
* **Variable:** A characteristic or property that can take on different values for different individuals or objects.""")
|
| 13 |
+
st.subheader("Applications of Statistics")
|
| 14 |
+
|
| 15 |
+
st.markdown
|
| 16 |
+
("""Statistics is used in a wide variety of fields, including:
|
| 17 |
+
* **Business:** Market research, financial analysis, quality control
|
| 18 |
+
* **Science:** Research design, data analysis, hypothesis testing
|
| 19 |
+
* **Government:** Policy development, economic forecasting, public opinion polls
|
| 20 |
+
* **Healthcare:** Clinical trials, epidemiology, health outcomes research
|
| 21 |
+
* **Education:** Educational research, student assessment, program evaluation
|
| 22 |
+
In essence, statistics provides the tools to turn raw data into meanin""")
|