// Numbas version: finer_feedback_settings {"name": "Charlie's copy of John's liquid copy of Calculate mean, median, mode, range, and standard deviation of a sample", "extensions": ["stats"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"parts": [{"gaps": [{"minValue": "mean-0.001", "strictPrecision": false, "precisionType": "dp", "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "maxValue": "mean+0.001", "mustBeReduced": false, "customName": "", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "unitTests": [], "precisionMessage": "You have not given your answer to the correct precision.", "marks": 1, "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "precision": 3, "variableReplacements": [], "scripts": {}, "type": "numberentry", "showPrecisionHint": false, "allowFractions": false, "correctAnswerFraction": false, "precisionPartialCredit": 0, "useCustomName": false}], "extendBaseMarkingAlgorithm": true, "useCustomName": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "scripts": {}, "type": "gapfill", "showFeedbackIcon": true, "sortAnswers": false, "prompt": "
Mean=[[0]] (Enter your answer to 3d.p.)
", "customName": "", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "unitTests": [], "marks": 0}, {"gaps": [{"showFractionHint": true, "minValue": "median", "extendBaseMarkingAlgorithm": true, "correctAnswerFraction": false, "useCustomName": false, "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "scripts": {}, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "type": "numberentry", "maxValue": "median", "allowFractions": false, "mustBeReduced": false, "customName": "", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "unitTests": [], "marks": 1, "mustBeReducedPC": 0}], "extendBaseMarkingAlgorithm": true, "useCustomName": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "scripts": {}, "type": "gapfill", "showFeedbackIcon": true, "sortAnswers": false, "prompt": "Median=[[0]]
", "customName": "", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "unitTests": [], "marks": 0}, {"gaps": [{"showFractionHint": true, "minValue": "mode[0]", "extendBaseMarkingAlgorithm": true, "correctAnswerFraction": false, "useCustomName": false, "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "scripts": {}, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "type": "numberentry", "maxValue": "mode[0]", "allowFractions": false, "mustBeReduced": false, "customName": "", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "unitTests": [], "marks": 1, "mustBeReducedPC": 0}], "extendBaseMarkingAlgorithm": true, "useCustomName": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "scripts": {}, "type": "gapfill", "showFeedbackIcon": true, "sortAnswers": false, "prompt": "Mode=[[0]]
", "customName": "", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "unitTests": [], "marks": 0}, {"gaps": [{"showFractionHint": true, "minValue": "range", "extendBaseMarkingAlgorithm": true, "correctAnswerFraction": false, "useCustomName": false, "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "scripts": {}, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "type": "numberentry", "maxValue": "range", "allowFractions": false, "mustBeReduced": false, "customName": "", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "unitTests": [], "marks": 1, "mustBeReducedPC": 0}], "extendBaseMarkingAlgorithm": true, "useCustomName": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "scripts": {}, "type": "gapfill", "showFeedbackIcon": true, "sortAnswers": false, "prompt": "Range=[[0]]
", "customName": "", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "unitTests": [], "marks": 0}], "name": "Charlie's copy of John's liquid copy of Calculate mean, median, mode, range, and standard deviation of a sample", "variable_groups": [], "preamble": {"css": "", "js": ""}, "metadata": {"description": "Topics covered are calculating the mean, median, mode, range, and standard deviation.
\nCalculate the mean, median, mode, range, and standard deviation of the following set of numbers:
\n\\[\\var{rowvector(number_list)}\\]
", "ungrouped_variables": ["number_list", "median", "tmp_list", "range", "mode", "stdev", "mean"], "functions": {}, "tags": [], "advice": "a)
\nThe mean of a set of numbers $\\left(x_1,\\ldots,x_N\\right)$ is given by
\n\\[\\mu = \\frac{1}{N}\\sum_{i=1}^N x_i.\\]
\n\nb)
\nThe median is the middle value when the set of numbers is ordered.
\n\nc)
\nThe mode is the most common value in the set.
\n\nd)
\nThe range is the difference between the maximum value and the minimum value in the set.
\n\ne)
\nThe standard deviation is given by
\n\\[\\sigma = \\sqrt{ \\frac{1}{N-1} \\left[ \\sum_{i=1}^N x_i^2 \\right] - \\mu^2}.\\]
", "extensions": ["stats"], "type": "question", "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Charlie Earle", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3054/"}, {"name": "John Wick", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3586/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Charlie Earle", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3054/"}, {"name": "John Wick", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3586/"}]}