// Numbas version: finer_feedback_settings {"name": "Simon's copy of population Standard deviation of a list of numbers with hints", "extensions": ["stats"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": [], "name": "Simon's copy of population Standard deviation of a list of numbers with hints", "extensions": ["stats"], "variable_groups": [], "rulesets": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "parts": [{"notationStyles": ["plain", "en", "si-en"], "precisionPartialCredit": 0, "strictPrecision": false, "variableReplacements": [], "maxValue": "{sigma}", "prompt": "

Find the population standard deviation $\\sigma$ of the following list of numbers {data}.

\n

Give your answer correct to 2 d.p.

", "scripts": {}, "correctAnswerStyle": "plain", "marks": "5", "useCustomName": false, "precision": "2", "type": "numberentry", "showPrecisionHint": false, "mustBeReduced": false, "unitTests": [], "extendBaseMarkingAlgorithm": true, "allowFractions": false, "variableReplacementStrategy": "originalfirst", "customName": "", "precisionMessage": "

You have not given your answer to the correct number of decimal places.

", "steps": [{"extendBaseMarkingAlgorithm": true, "variableReplacements": [], "prompt": "

To calculate the population standard deviation, we can use the formula:

\n

Standard deviation = $\\sqrt{\\frac{\\Sigma (x-\\text{mean})^2}{n}}$

\n

\n

So we must:

\n", "variableReplacementStrategy": "originalfirst", "type": "information", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "marks": 0, "scripts": {}, "useCustomName": false, "showCorrectAnswer": true, "customName": ""}], "customMarkingAlgorithm": "", "mustBeReducedPC": 0, "showFeedbackIcon": true, "precisionType": "dp", "correctAnswerFraction": false, "showCorrectAnswer": true, "minValue": "{sigma}", "stepsPenalty": "1"}], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Just showing how to use the stdev function from the stats extension to calculate the standard deviation of a list of numbers.

\n

rebelmaths

"}, "ungrouped_variables": ["data", "sigma", "x", "mean", "var"], "preamble": {"js": "", "css": ""}, "statement": "", "variables": {"var": {"name": "var", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "sigma^2"}, "data": {"name": "data", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "repeat(random(1..30),x)"}, "mean": {"name": "mean", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "mean(data)"}, "x": {"name": "x", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "random(4,5,8)"}, "sigma": {"name": "sigma", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "stdev(data)"}}, "functions": {}, "advice": "

To calculate the population standard deviation, $\\sigma$, we can use the formula:

\n

Population standard deviation, $\\sigma = \\sqrt{\\frac{\\Sigma (x-\\text{mean})^2}{n}}$

\n

\n

(note this is slightly different to the formula used to calculate the sample standard deviation, $s$)

\n

\n

So we must:

\n", "type": "question", "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}