// Numbas version: exam_results_page_options {"name": "One sample z test (Resit )", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "One sample z test (Resit )", "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

A magazine is writing an article about how expensive it is to visit tourist attractions in the UK. The magazine claim that it costs a family of four on average £82.00 to spend the day at a tourist attraction such as a Zoo or a Castle.

\n

 Edinburgh Zoo decide to investigate this claim as they believe visitors spend less than this. They ask a sample of 150 visitors how much they have spent during their day at the Zoo. The sample average was £75 with a standard deviation of £22.                       

\n

Assuming that the amount spent by visitors is normally distributed, Use a Z-test with a 5% significance level to determine if the magazine claim is correct.

", "advice": "", "rulesets": {}, "extensions": [], "variables": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": false, "showFeedbackIcon": false, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

Which one is the null hypothesis?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "dropdownlist", "displayColumns": 0, "showCellAnswerState": false, "choices": ["

H0: µ = £82

", "

H0: µ < £82

", "

H0: µ > £82

", "

H0: µ ≠ £82 

"], "matrix": ["2", 0, 0, 0], "distractors": ["", "", "", ""]}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": false, "showFeedbackIcon": false, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

Which one is the correct alternative hypothesis?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "dropdownlist", "displayColumns": 0, "showCellAnswerState": false, "choices": ["

H1: µ > £82

", "

H1: µ < £82

", "

H1: µ = £82 

", "

H1: µ ≠ £82 

"], "matrix": [0, "2", 0, 0], "distractors": ["", "", "", ""]}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "showCorrectAnswer": false, "showFeedbackIcon": false, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

What is the critical value at 5% significance level?

", "minValue": "1.64", "maxValue": "1.65", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "4", "showCorrectAnswer": false, "showFeedbackIcon": false, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

Calculate the test statistics in 2 decimal places.

", "minValue": "-3.95", "maxValue": "-3.80", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": false, "showFeedbackIcon": false, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

Which one is the conclusion?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "dropdownlist", "displayColumns": 0, "showCellAnswerState": false, "choices": ["Reject null hypothesis.", "Accept null hypothesis."], "matrix": ["2", 0], "distractors": ["", ""]}], "contributors": [{"name": "Shihan Miah", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4456/"}]}]}], "contributors": [{"name": "Shihan Miah", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4456/"}]}