// Numbas version: finer_feedback_settings {"name": "Descriptive Statistics (P): Mean", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a", "b", "c", "d", "f"], "name": "Descriptive Statistics (P): Mean", "tags": [], "advice": "

a)

\n

To find the mean you first need to sum the numbers, i.e.:

\n

\\[ \\simplify[]{{a}+{b}+{c}} = \\var{a+b+c} \\]

\n

Then divide through by the number of values being summed:

\n

\\[ \\text{Mean} = \\simplify{{a+b+c}/3} \\]

\n

b)

\n

The mean is

\n

\\[ \\simplify[]{({a}+{b}+{f}+{c}+{d})/5} = \\simplify[fractionnumbers]{{(a+b+f+c+d)/5}} \\]

", "rulesets": {}, "parts": [{"prompt": "

$\\var{a}, \\var{b}, \\var{c}$

", "allowFractions": true, "variableReplacements": [], "maxValue": "(a+b+c)/3", "minValue": "(a+b+c)/3", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"prompt": "

$\\var{a},\\var{b},\\var{f},\\var{c},\\var{d}$

", "allowFractions": true, "variableReplacements": [], "maxValue": "(a+b+c+f+d)/5", "minValue": "(a+b+c+f+d)/5", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "statement": "

Find the means of the following sets of numbers. Enter your answers as whole numbers or fractions, not decimals.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"a": {"definition": "random(1..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "c": {"definition": "random(1..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "random(1..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "d": {"definition": "random(11..15)", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}, "f": {"definition": "random(11..15)", "templateType": "anything", "group": "Ungrouped variables", "name": "f", "description": ""}}, "metadata": {"notes": "", "description": "

Compute the means of two small samples.

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Hayley Moore", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/495/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Hayley Moore", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/495/"}]}