// Numbas version: exam_results_page_options {"name": "Descriptive Stats (P): Standard Error", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"advice": "

The standard error of the sample mean is given by 

\n

\\[ \\text{Standard error} = \\frac{s}{\\sqrt{n}} \\]

\n

where $s$ is the sample standard deviation, and $n$ is the size of the sample.

\n

In this case, the standard error is

\n

\\[ \\simplify{{sd}/sqrt({people})} = \\var{dpformat(se,3)} \\text{ (to 3 d.p.)} \\]

", "parts": [{"precision": "3", "correctAnswerFraction": false, "minValue": "se", "variableReplacements": [], "showCorrectAnswer": true, "prompt": "

What is the standard error of the sample mean? Round your answer to 3 decimal places.

", "type": "numberentry", "maxValue": "se", "allowFractions": false, "marks": 1, "strictPrecision": false, "precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "variableReplacementStrategy": "originalfirst", "scripts": {}, "showPrecisionHint": false, "precisionPartialCredit": 0}], "variable_groups": [], "ungrouped_variables": ["people", "average", "sd", "se"], "rulesets": {}, "name": "Descriptive Stats (P): Standard Error", "tags": [], "type": "question", "functions": {}, "preamble": {"css": "", "js": ""}, "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "questions": [], "pickQuestions": 0}], "variablesTest": {"condition": "", "maxRuns": 100}, "metadata": {"description": "

Compute the standard error of a sample mean, given the sample size and standard deviation.

", "notes": "", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

A recent survey asked people \"How long do you spend relaxing each day? For example wating TV, reading, or listening to the radio.\"

\n

The survey received $\\var{people}$ responses with a mean of $\\var{average}$ hours and a standard deviation of $\\var{sd}$ hours.

", "variables": {"sd": {"templateType": "anything", "definition": "random(1.9..(average-0.1)#0.01)", "description": "", "group": "Ungrouped variables", "name": "sd"}, "average": {"templateType": "anything", "definition": "random(2..4#0.01)", "description": "", "group": "Ungrouped variables", "name": "average"}, "people": {"templateType": "anything", "definition": "random(1000..2000)", "description": "", "group": "Ungrouped variables", "name": "people"}, "se": {"templateType": "anything", "definition": "sd/sqrt(people)", "description": "", "group": "Ungrouped variables", "name": "se"}}, "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/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}]}], "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/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}