// 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": [{"functions": {}, "ungrouped_variables": ["people", "average", "sd", "se"], "name": "Descriptive Stats (P): Standard Error", "tags": [], "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.)} \\]

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

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

", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "3", "maxValue": "se", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "minValue": "se", "type": "numberentry", "showPrecisionHint": false}], "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.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"average": {"definition": "random(2..4#0.01)", "templateType": "anything", "group": "Ungrouped variables", "name": "average", "description": ""}, "sd": {"definition": "random(1.9..(average-0.1)#0.01)", "templateType": "anything", "group": "Ungrouped variables", "name": "sd", "description": ""}, "se": {"definition": "sd/sqrt(people)", "templateType": "anything", "group": "Ungrouped variables", "name": "se", "description": ""}, "people": {"definition": "random(1000..2000)", "templateType": "anything", "group": "Ungrouped variables", "name": "people", "description": ""}}, "metadata": {"notes": "", "description": "

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

", "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/"}]}