Spaces:
Build error
Build error
Update pages/Descriptive Statistics.py
Browse files
pages/Descriptive Statistics.py
CHANGED
|
@@ -13,7 +13,7 @@ st.graphviz_chart('''
|
|
| 13 |
Descriptive_statistics -> Measures_of_Distribution
|
| 14 |
}
|
| 15 |
''')
|
| 16 |
-
st.subheader(":blue
|
| 17 |
st.write(" It is used to find the central value, average of value of data.")
|
| 18 |
st.write('It gives us 3 different mesaures, they are')
|
| 19 |
st.graphviz_chart('''
|
|
@@ -26,10 +26,10 @@ st.graphviz_chart('''
|
|
| 26 |
Measures_of_central_tendency -> Mode
|
| 27 |
}
|
| 28 |
''')
|
| 29 |
-
st.subheader(":Tan[Mean]:
|
| 30 |
st.write("Sum of observations/Total no of observations.")
|
| 31 |
st.write("Three types of means")
|
| 32 |
-
st.subheader(":Tan[Arthmatic_Mean]:
|
| 33 |
st.write("It is used when ever the data is following the arthematic sequence (2,5,8,11,14)(2,2+3,5+3,8+3,11+3)")
|
| 34 |
st.write("adding(addition) by 3, that means we have a difference of 3 with equal distances.")
|
| 35 |
code='''#arthamethic mean
|
|
@@ -83,7 +83,7 @@ st.code(code,language="python")
|
|
| 83 |
st.write("+ :Navy blue-background[Mode]:-The mode denotes the value that appears most frequently within the dataset.The dataset may include more than one mode at times, or it may not include any modes at all.")
|
| 84 |
st.write("Examine the following dataset: 5, 4, 2, 3, 2, 1, 5, 4, 5.")
|
| 85 |
|
| 86 |
-
st.subheader(
|
| 87 |
st.write("It will measure how the data is collected data is spread around the central value.")
|
| 88 |
st.write("**It gives us 2 measures of dispersions, they are**")
|
| 89 |
st.graphviz_chart('''
|
|
@@ -93,7 +93,8 @@ st.graphviz_chart('''
|
|
| 93 |
|
| 94 |
}
|
| 95 |
''')
|
| 96 |
-
st.write(":Orange-background[Absolute]:
|
|
|
|
| 97 |
st.graphviz_chart('''
|
| 98 |
digraph {
|
| 99 |
Absolute -> Range
|
|
@@ -119,7 +120,8 @@ st.code('''import numpy as np
|
|
| 119 |
data=[11,32,23,13,51]
|
| 120 |
print(np.std(data))
|
| 121 |
''')
|
| 122 |
-
st.write(":Orange-background[Relative]:
|
|
|
|
| 123 |
st.graphviz_chart('''
|
| 124 |
digraph {
|
| 125 |
node [shape=plaintext]
|
|
|
|
| 13 |
Descriptive_statistics -> Measures_of_Distribution
|
| 14 |
}
|
| 15 |
''')
|
| 16 |
+
st.subheader(":blue[1. Measures_of_central_tendency]:")
|
| 17 |
st.write(" It is used to find the central value, average of value of data.")
|
| 18 |
st.write('It gives us 3 different mesaures, they are')
|
| 19 |
st.graphviz_chart('''
|
|
|
|
| 26 |
Measures_of_central_tendency -> Mode
|
| 27 |
}
|
| 28 |
''')
|
| 29 |
+
st.subheader(":Tan[Mean]:")
|
| 30 |
st.write("Sum of observations/Total no of observations.")
|
| 31 |
st.write("Three types of means")
|
| 32 |
+
st.subheader(":Tan[Arthmatic_Mean]:")
|
| 33 |
st.write("It is used when ever the data is following the arthematic sequence (2,5,8,11,14)(2,2+3,5+3,8+3,11+3)")
|
| 34 |
st.write("adding(addition) by 3, that means we have a difference of 3 with equal distances.")
|
| 35 |
code='''#arthamethic mean
|
|
|
|
| 83 |
st.write("+ :Navy blue-background[Mode]:-The mode denotes the value that appears most frequently within the dataset.The dataset may include more than one mode at times, or it may not include any modes at all.")
|
| 84 |
st.write("Examine the following dataset: 5, 4, 2, 3, 2, 1, 5, 4, 5.")
|
| 85 |
|
| 86 |
+
st.subheader(":Navyblue[Measures of Variability]:")
|
| 87 |
st.write("It will measure how the data is collected data is spread around the central value.")
|
| 88 |
st.write("**It gives us 2 measures of dispersions, they are**")
|
| 89 |
st.graphviz_chart('''
|
|
|
|
| 93 |
|
| 94 |
}
|
| 95 |
''')
|
| 96 |
+
st.write(":Orange-background[Absolute]:")
|
| 97 |
+
st.write("The original data set's units are used for the absolute measure of dispersion. This metric is used to determine deviations from the mean or standard deviation in terms of the average of the deviations. It includes things like quartile deviation, range, and standard deviation.")
|
| 98 |
st.graphviz_chart('''
|
| 99 |
digraph {
|
| 100 |
Absolute -> Range
|
|
|
|
| 120 |
data=[11,32,23,13,51]
|
| 121 |
print(np.std(data))
|
| 122 |
''')
|
| 123 |
+
st.write(":Orange-background[Relative]:")
|
| 124 |
+
st.write("The distribution of two or more data sets can be compared using the relative measures of dispersion. They serve as a comparison tool for various unit sets.")
|
| 125 |
st.graphviz_chart('''
|
| 126 |
digraph {
|
| 127 |
node [shape=plaintext]
|