DOMMETI commited on
Commit
c1a50c4
·
verified ·
1 Parent(s): a42f56d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +24 -1
app.py CHANGED
@@ -162,4 +162,27 @@ st.image("https://cdn-uploads.huggingface.co/production/uploads/64c972774515835c
162
  # Introduction to Statistics
163
  st.title("2 : INTRODUCTION TO STATISTICS")
164
  st.markdown("""
165
- _Statistics is a branch of mathematics focused on collecting, analyzing, interpreting
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
162
  # Introduction to Statistics
163
  st.title("2 : INTRODUCTION TO STATISTICS")
164
  st.markdown("""
165
+ _Statistics is a branch of mathematics focused on collecting, analyzing, interpreting, and presenting data. It can be divided into two main categories:_
166
+ """, unsafe_allow_html=True)
167
+
168
+ # Descriptive Statistics Section with interactive elements
169
+ st.subheader("2.1 Descriptive Statistics")
170
+ st.markdown("""
171
+ Descriptive statistics summarize and describe the main features of a dataset. Key concepts include:
172
+ <ul class="icon-bullet">
173
+ <li>Measures of Central Tendency (Mean, Median, Mode)</li>
174
+ <li>Measures of Dispersion (Range, Variance, Standard Deviation)</li>
175
+ <li>Data Distributions (e.g., Gaussian, Random, Normal)</li>
176
+ </ul>
177
+ """, unsafe_allow_html=True)
178
+
179
+ # Example of an interactive chart for Central Tendency
180
+ values = st.slider('Select a range of values', 0, 100, (25, 75))
181
+ mean_value = sum(values) / len(values)
182
+ st.write(f"Mean Value: {mean_value}")
183
+
184
+ # Inferential Statistics Section
185
+ st.subheader("2.2 Inferential Statistics")
186
+ st.markdown("""
187
+ 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.
188
+ """, unsafe_allow_html=True)