Skip to content

Commit

Permalink
Merge pull request #19 from virtual-labs/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
singhshakti182 committed Aug 17, 2024
2 parents 9aa55a7 + 51492cc commit fd6022b
Show file tree
Hide file tree
Showing 35 changed files with 6,163 additions and 53 deletions.
2 changes: 1 addition & 1 deletion experiment/aim.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
### Aim of the experiment
### The aim of the experment is to describe the basic statistical features of the data and summaries about the sample and the measures together with the graphical analysis.
17 changes: 17 additions & 0 deletions experiment/contributors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
### Contributors List

<!-- Remove all lines above this line before making changes to the file -->
### Subject Matter Experts
| SNo. | Name | Email | Institute | ID |
| :---: | :---: | :---: | :---: | :---: |
| 1 | Dr. S. Dharmaraja | dharmar@maths.iitd.ac.in | Indian Institute of Technology Delhi | 15984 |
| 2 | Dr. Vidyottama Jain | vidyottama.jain@curaj.ac.in | Central University of Rajasthan | 131042 |



### Developers
| SNo. | Name | Email | Institute | ID |
| :---: | :---: | :---: | :---: | :---: |
| 1 | Anisha | maz188445@iitd.ac.in | Indian Institute of Technology Delhi | 2018MAZ8445 |
| 2 | Shakti Singh | maz208241@iitd.ac.in | Indian Institute of Technology Delhi | 2020MAZ8241 |

2 changes: 1 addition & 1 deletion experiment/experiment-name.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
## Experiment name
## Descriptive statistics
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added experiment/images/Image 27-03-23 at 12.37 PM.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added experiment/images/Image 27-03-23 at 12.38 PM.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added experiment/images/Image 27-03-23 at 12.39 PM.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added experiment/images/Image 27-03-23 at 12.40 PM.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added experiment/images/Image 27-03-23 at 12.43 PM.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added experiment/images/Image 27-03-23 at 4.19 PM.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
89 changes: 70 additions & 19 deletions experiment/posttest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,88 @@
"version": 2.0,
"questions": [
{
"question": "This is a Sample Question 1?",
"question": "Luke counts the number of gummy bears he eats every day for 1 week: {39, 18, 24, 51, 40, 15, 23}. On average, how many gummy bears does Luke eat each day?",
"answers": {
"a": "answer1",
"b": "answer2",
"c": "answer3",
"d": "answer4"
"a": "30",
"b": "40",
"c": "45",
"d": "10"
},
"explanations": {
"a": "Explanation 1 <a href='www.google.com'>here</a>",
"b": "Explanation 2",
"c": "Explanation 2",
"d": "Explanation 2"
"a": "average=(39+18+24+51+40+15+23)/7=30.",
"b": "average=(39+18+24+51+40+15+23)/7=30.",
"c": "average=(39+18+24+51+40+15+23)/7=30.",
"d": "average=(39+18+24+51+40+15+23)/7=30."
},
"correctAnswer": "a",
"difficulty": "beginner"
},
{
"question": "This is a Sample Question 2?",
"question": "Consider this data set: {1,3,4,6,6,7,7,7,9,10}. Order the mean, median, mode, and midrange of the data set from least to greatest.?",
"answers": {
"a": "answer1",
"b": "answer2",
"c": "answer3",
"d": "answer4"
"a": " mean, Midrange, median, mode",
"b": "Midrange, mean, mode, median",
"c": "Midrange,median, mean, mode",
"d": "Midrange, mean, median, mode"
},
"explanations": {
"a": "Explanation 1 <a href='www.google.com'>here</a>",
"b": "Explanation 2",
"c": "Explanation 2",
"d": "Explanation 2"
"a": "The median of a data set with an even number of elements is the arithmetic mean of the two elements that fall in the middle when the elements are arranged in ascending order. These two elements ar 6 and 7, so the median is (6+72)/2=6.5. mean= 6, The mode of the data set is the element which occurs the most frequently. Since 7 appears three times, 6 appears twice, and all other elements appear once, the mode is 7. The midrange of the data set is the arithmetic mean of the least and greatest elements. These two elements are 1 and 10, so the midrange is 1+102=5.5. Hence, option d ",
"b": "The median of a data set with an even number of elements is the arithmetic mean of the two elements that fall in the middle when the elements are arranged in ascending order. These two elements ar 6 and 7, so the median is (6+72)/2=6.5. mean= 6, The mode of the data set is the element which occurs the most frequently. Since 7 appears three times, 6 appears twice, and all other elements appear once, the mode is 7. The midrange of the data set is the arithmetic mean of the least and greatest elements. These two elements are 1 and 10, so the midrange is 1+102=5.5. Hence, option d",
"c": "The median of a data set with an even number of elements is the arithmetic mean of the two elements that fall in the middle when the elements are arranged in ascending order. These two elements ar 6 and 7, so the median is (6+72)/2=6.5. mean= 6, The mode of the data set is the element which occurs the most frequently. Since 7 appears three times, 6 appears twice, and all other elements appear once, the mode is 7. The midrange of the data set is the arithmetic mean of the least and greatest elements. These two elements are 1 and 10, so the midrange is 1+102=5.5. Hence, option d",
"d": "The median of a data set with an even number of elements is the arithmetic mean of the two elements that fall in the middle when the elements are arranged in ascending order. These two elements ar 6 and 7, so the median is (6+72)/2=6.5. mean= 6, The mode of the data set is the element which occurs the most frequently. Since 7 appears three times, 6 appears twice, and all other elements appear once, the mode is 7. The midrange of the data set is the arithmetic mean of the least and greatest elements. These two elements are 1 and 10, so the midrange is 1+102=5.5. Hence, option d"
},
"correctAnswer": "c",
"correctAnswer": "d",
"difficulty": "beginner"
},
{
"question": "What is the median of the following numbers? 1/2,1/3,1/4,1/5,1/6,1/7?",
"answers": {
"a": "1/4",
"b": "9/40",
"c": "1/5",
"d": "2/9"
},
"explanations": {
"a": "The median of a data set with an even number of elements is the mean of its two middle elements, when ranked. The set is already ranked, so just find the mean of middle elements 1/4 and 1/5: 1/2⋅(5/20+4/20) = 9/40.",
"b": "The median of a data set with an even number of elements is the mean of its two middle elements, when ranked. The set is already ranked, so just find the mean of middle elements 1/4 and 1/5: 1/2⋅(5/20+4/20) = 9/40.",
"c": "The median of a data set with an even number of elements is the mean of its two middle elements, when ranked. The set is already ranked, so just find the mean of middle elements 1/4 and 1/5: 1/2⋅(5/20+4/20) = 9/40.",
"d": "The median of a data set with an even number of elements is the mean of its two middle elements, when ranked. The set is already ranked, so just find the mean of middle elements 1/4 and 1/5: 1/2⋅(5/20+4/20) = 9/40."
},
"correctAnswer": "b",
"difficulty": "beginner"
},
{
"question": "Rita keeps track of the number of times she goes to the gym each week for 1260 weeks. She goes 1 day a week for 119 weeks, 2 days a week for 254 weeks, 3 days a week for 376 weeks, and 4 days a week for 511 weeks. What is the mode of the number of days she goes to the gym each week?",
"answers": {
"a": "30",
"b": "10",
"c": "5",
"d": "4 "
},
"explanations": {
"a": "The mode is the number that comes up most frequently in a set. Rita goes to the gym 4 times a week for 511 weeks. She clearly goes 4 times per week far more often than she goes 1, 2, or 3 times per week. Therefore the mode is 4 days/week. It is NOT 511 weeks. That is the frequency with which 4 days/week occurs, but not the mode.",
"b": "The mode is the number that comes up most frequently in a set. Rita goes to the gym 4 times a week for 511 weeks. She clearly goes 4 times per week far more often than she goes 1, 2, or 3 times per week. Therefore the mode is 4 days/week. It is NOT 511 weeks. That is the frequency with which 4 days/week occurs, but not the mode.",
"c": "The mode is the number that comes up most frequently in a set. Rita goes to the gym 4 times a week for 511 weeks. She clearly goes 4 times per week far more often than she goes 1, 2, or 3 times per week. Therefore the mode is 4 days/week. It is NOT 511 weeks. That is the frequency with which 4 days/week occurs, but not the mode.",
"d": "The mode is the number that comes up most frequently in a set. Rita goes to the gym 4 times a week for 511 weeks. She clearly goes 4 times per week far more often than she goes 1, 2, or 3 times per week. Therefore the mode is 4 days/week. It is NOT 511 weeks. That is the frequency with which 4 days/week occurs, but not the mode."
},
"correctAnswer": "d",
"difficulty": "beginner"
},
{
"question": "A biosphere reserve contains 280 trees. Trees were chosen at random, and their heights were recorded in cm: 51, 46, 79, 38, and 57. Calculate their height's standard deviation.?",
"answers": {
"a": "15.51",
"b": "13.31",
"c": "17",
"d": "10"
},
"explanations": {
"a": "Number of observations = 5, mean = 54.2 cm. therefore sd = 15.51. ",
"b": "Number of observations = 5, mean = 54.2 cm. therefore sd = 15.51.",
"c": "Number of observations = 5, mean = 54.2 cm. therefore sd = 15.51.",
"d": "Number of observations = 5, mean = 54.2 cm. therefore sd = 15.51."
},
"correctAnswer": "a",
"difficulty": "beginner"
}
]
Expand Down
89 changes: 70 additions & 19 deletions experiment/pretest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,89 @@
"version": 2.0,
"questions": [
{
"question": "This is a Sample Question 1?",
"question": "The observations X,...,Xn have a mean of 52, a median 52.1, and a standard deviation of 7. Eight percent of the observation are greater than 66%; 7.9% of the observations are below 38. Based on this information, which of the following statements best describes the data ?",
"answers": {
"a": "answer1",
"b": "answer2",
"c": "answer3",
"d": "answer4"
"a": "The distribution has positive skewness",
"b": "The distribution has negative skewness",
"c": "The distribution has high kurtosis",
"d": "The distribution conforms to a normal distribution"
},
"explanations": {
"a": "Explanation 1 <a href='www.google.com'>here</a>",
"b": "Explanation 2",
"c": "Explanation 2",
"d": "Explanation 2"
"a": "Data has high kurtosis.",
"b": "Data has high kurtosis.",
"c": "Data has high kurtosis.",
"d": "Data has high kurtosis."
},
"correctAnswer": "a",
"correctAnswer": "c",
"difficulty": "beginner"
},
{
"question": "This is a Sample Question 2?",
"question": "In a week the prices of a bag of rice were 350, 280, 340, 290, 320, 310, 300. The range is?",
"answers": {
"a": "answer1",
"b": "answer2",
"c": "answer3",
"d": "answer4"
"a": "60",
"b": "80",
"c": "70",
"d": "100"
},
"explanations": {
"a": "Explanation 1 <a href='www.google.com'>here</a>",
"b": "Explanation 2",
"c": "Explanation 2",
"d": "Explanation 2"
"a": "Range= max value - minimum value = 70",
"b": "Range= max value - minimum value = 70",
"c": "Range= max value - minimum value = 70",
"d": "Range= max value - minimum value = 70"
},
"correctAnswer": "c",
"difficulty": "beginner"
},
{
"question": " The mean of 10 observations is 10. All observations are increased by 10%. The mean of the increased observations shall be?",
"answers": {
"a": "20",
"b": "11",
"c": "10",
"d": "25"
},
"explanations": {
"a": "When the observations are increased by 10%, the mean increases by 10%. The mean = 10, The mean increased by 10% of 10 = 10*10/100 = 1. Therefore, the mean of increased observation shall be 11 ",
"b": "When the observations are increased by 10%, the mean increases by 10%. The mean = 10, The mean increased by 10% of 10 = 10*10/100 = 1. Therefore, the mean of increased observation shall be 11 ",
"c": "When the observations are increased by 10%, the mean increases by 10%. The mean = 10, The mean increased by 10% of 10 = 10*10/100 = 1. Therefore, the mean of increased observation shall be 11 ",
"d": "When the observations are increased by 10%, the mean increases by 10%. The mean = 10, The mean increased by 10% of 10 = 10*10/100 = 1. Therefore, the mean of increased observation shall be 11 "
},
"correctAnswer": "b",
"difficulty": "beginner"
},
{
"question": " If the mean (x) is 4 and the data points are 2, 3, 4, 5, and 6, what will be the sum of the squared deviations from the mean (x)?",
"answers": {
"a": "8",
"b": "6",
"c": "10",
"d": "12"
},
"explanations": {
"a": "The sum of the squared deviations from the mean(X)= Sum_{1}^{n}[(Xi-mean(X))^2] = 10 ",
"b": "The sum of the squared deviations from the mean(X)= Sum_{1}^{n}[(Xi-mean(X))^2] = 10 ",
"c": "The sum of the squared deviations from the mean(X)= Sum_{1}^{n}[(Xi-mean(X))^2] = 10 ",
"d": "The sum of the squared deviations from the mean(X)= Sum_{1}^{n}[(Xi-mean(X))^2] = 10 "
},
"correctAnswer": "c",
"difficulty": "beginner"
},
{
"question": " If a distribution is skewed to the left, then it is?",
"answers": {
"a": "Negatively skewed",
"b": "Positively skewed",
"c": "Symmetrically skewed",
"d": "Symmetrical"
},
"explanations": {
"a": "Negatively skewed ",
"b": "Negatively skewed ",
"c": "Negatively skewed ",
"d": "Negatively skewed "
},
"correctAnswer": "a",
"difficulty": "beginner"
}
]
}
18 changes: 17 additions & 1 deletion experiment/procedure.md
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
### Procedure
##### In order to perform the experiment, one needs to go through the following steps sequentially:

###### Step 1: Select Type of Statistics
In the simulation step, choose the type of statistics you want to compute. This could include measures such as mean, median, mode, variance, standard deviation, quartiles, etc.

###### Step 2: Enter Data and Frequencies
Enter the data along with their corresponding frequencies. This step allows you to input the dataset for which you want to compute descriptive statistics.

###### Step 3: Select Graph Type
Choose what type of graph you want to plot to visualize the descriptive statistics. Options may include histograms, box plots, bar charts, etc., depending on the nature of your data and the statistics being calculated.

###### Step 4: Click the 'Calculate' Button
Initiate the experiment by clicking the 'Calculate' button. This triggers the computation of the selected descriptive statistics based on the provided data and frequencies.

###### Step 5: View Descriptive Statistics
After clicking 'Calculate', observe the descriptive statistics of the entered data. This includes measures such as mean, median, mode, variance, standard deviation, quartiles, etc., depending on what you selected in Step 1.

7 changes: 6 additions & 1 deletion experiment/references.md
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
### Link your references in here
### Selvamuthu, D., & Das, D. (2018). Introduction to statistical methods, design of experiments and statistical quality control. Singapore: Springer Singapore. [a link] {https://link.springer.com/book/10.1007/978-981-13-1736-1}

### Castañeda, L. B., Arunachalam, V., & Dharmaraja, S. (2012). Introduction to probability and stochastic processes with applications. John Wiley & Sons.[a link]{https://www.wiley.com/en-us/Introduction+to+Probability+and+Stochastic+Processes+with+Applications-p-9781118344972}


## Sheldon Ross, Introduction to Probability and Statistics for Engineers and Scientists, 5th Edition, Academic Press, 2014. [a link]{https://www.pearson.com/store/p/probability-and-statistical-inference-global-edition/P200000004474/9781292062358}
Loading

0 comments on commit fd6022b

Please sign in to comment.