// Numbas version: exam_results_page_options {"name": "Confidence intervals - true/false", "extensions": [], "custom_part_types": [], "resources": [["question-resources/image_sVvEOS7.png", "/srv/numbas/media/question-resources/image_sVvEOS7.png"], ["question-resources/image_p4jjlJH.png", "/srv/numbas/media/question-resources/image_p4jjlJH.png"], ["question-resources/image_gZBy9wj.png", "/srv/numbas/media/question-resources/image_gZBy9wj.png"], ["question-resources/image_UQZZaZk.png", "/srv/numbas/media/question-resources/image_UQZZaZk.png"], ["question-resources/image_ph6Guj3.png", "/srv/numbas/media/question-resources/image_ph6Guj3.png"], ["question-resources/image_5KG1Gyo.png", "/srv/numbas/media/question-resources/image_5KG1Gyo.png"], ["question-resources/image_wWxcyWh.png", "/srv/numbas/media/question-resources/image_wWxcyWh.png"], ["question-resources/image_nZP3hBO.png", "/srv/numbas/media/question-resources/image_nZP3hBO.png"], ["question-resources/image_0eHHbAf.png", "/srv/numbas/media/question-resources/image_0eHHbAf.png"], ["question-resources/image_SV5QhIX.png", "/srv/numbas/media/question-resources/image_SV5QhIX.png"], ["question-resources/image_Xixvvd4.png", "/srv/numbas/media/question-resources/image_Xixvvd4.png"], ["question-resources/image_zpD7DZM.png", "/srv/numbas/media/question-resources/image_zpD7DZM.png"], ["question-resources/image_oIhvizN.png", "/srv/numbas/media/question-resources/image_oIhvizN.png"], ["question-resources/image_qYn4CPy.png", "/srv/numbas/media/question-resources/image_qYn4CPy.png"], ["question-resources/image_O4tRXac.png", "/srv/numbas/media/question-resources/image_O4tRXac.png"], ["question-resources/image_SaXNlxZ.png", "/srv/numbas/media/question-resources/image_SaXNlxZ.png"], ["question-resources/image_o4XLRTS.png", "/srv/numbas/media/question-resources/image_o4XLRTS.png"], ["question-resources/image_zL2GId9.png", "/srv/numbas/media/question-resources/image_zL2GId9.png"], ["question-resources/image_mhZ1noy.png", "/srv/numbas/media/question-resources/image_mhZ1noy.png"], ["question-resources/image_1RZ0SFu.png", "/srv/numbas/media/question-resources/image_1RZ0SFu.png"], ["question-resources/image_B4lQfZK.png", "/srv/numbas/media/question-resources/image_B4lQfZK.png"], ["question-resources/image_46Pbo9p.png", "/srv/numbas/media/question-resources/image_46Pbo9p.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Confidence intervals - true/false", "tags": [], "metadata": {"description": "

True/false question type to assess basic knowledge of confidence intervals.

", "licence": "Creative Commons Attribution-ShareAlike 4.0 International"}, "statement": "

Identify each of the following statements as true or false in relation to confidence intervals (CIs):

", "advice": "

Check the literature on Confidence Intervals (e.g., Chapter 5 in OpenIntro Statistics).

", "rulesets": {"std": ["all", "fractionNumbers", "!collectNumbers", "!noLeadingMinus"]}, "extensions": [], "variables": {"choices": {"name": "choices", "group": "Statements", "definition": "shuffle(0..len(statements)-1)[0..6]", "description": "", "templateType": "anything"}, "t_statements": {"name": "t_statements", "group": "Statements", "definition": "[ safe(\"The central limit theorem states that the distribution of sample means is normally distributed when the sample size is greater than 30.\"), safe(\"We typically don\u2019t know the true standard deviation $\\\\sigma$, so we use the sample standard deviation $s$ instead.\"), safe(\"With small samples (size less than 30), we use the Student $t$-distribution instead of the normal distribution.\"), safe(\"A 95% CI is a numerical interval within which we are 95% confident that the true mean $\\\\mu$ lies.\"), safe(\"For a sample size $n=\\\\var{n}$, the number of degrees of freedom is $n=\\\\var{df}$.\"), safe(\"The true mean $\\\\mu$ may be outside the corresponding confidence interval.\"), safe(\"If we repeat an experiment 100 times (using 100 different samples) and construct a 95% CI each time, then approximately 5 of those 100 CIs would $not$ contain the true mean \ud835\udf07.\"), safe(\"If we repeat an experiment 100 times (using 100 different samples) and construct a 95% CI each time, then approximately 95 of those 100 CIs would contain the true mean \ud835\udf07.\") ]", "description": "", "templateType": "list of strings"}, "statements": {"name": "statements", "group": "Statements", "definition": "t_statements+f_statements", "description": "", "templateType": "anything"}, "statement_marks": {"name": "statement_marks", "group": "Statements", "definition": "map([2,0],x,t_statements)+map([0,2],x,f_statements)", "description": "", "templateType": "anything"}, "f_statements": {"name": "f_statements", "group": "Statements", "definition": "[ safe(\"The central limit theorem states that the distribution of sample means is normally distributed when the sample size is less than 30.\"), safe(\"We typically don\u2019t know the sample standard deviation $s$, so we use the population standard deviation $\\\\sigma$ instead.\"), safe(\"With large samples (size greater than 30), we use the Student $t$-distribution instead of the normal distribution.\"), safe(\"A 95% CI is a numerical interval within which we are 95% confident that the sample mean $\\\\overline{x}$ lies.\"), safe(\"For a sample size $n=\\\\var{n}$, the number of degrees of freedom is $n=\\\\var{n+1}$.\"), safe(\"The true mean $\\\\mu$ is always inside the corresponding confidence interval.\"), safe(\"If we repeat an experiment 100 times (using 100 different samples) and construct a 95% CI each time, then approximately 5 of those 100 CIs would contain the true mean $\\\\mu$.\"), safe(\"If we repeat an experiment 100 times (using 100 different samples) and construct a 95% CI each time, then approximately 95 of those 100 CIs would $not$ contain the true mean $\\\\mu$.\") ]", "description": "", "templateType": "list of strings"}, "n": {"name": "n", "group": "Statements", "definition": "random(10..29)", "description": "", "templateType": "anything"}, "df": {"name": "df", "group": "Statements", "definition": "n-1", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "Statements", "variables": ["t_statements", "f_statements", "statements", "statement_marks", "choices", "n", "df"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "\n \n \n

[[0]]

\n \n \n ", "gaps": [{"type": "m_n_x", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minMarks": 0, "maxMarks": 0, "minAnswers": 0, "maxAnswers": 0, "shuffleChoices": true, "shuffleAnswers": false, "displayType": "radiogroup", "warningType": "none", "showCellAnswerState": true, "choices": ["{statements[choices[0]]}", "{statements[choices[1]]}", "{statements[choices[2]]}", "{statements[choices[3]]}", "{statements[choices[4]]}"], "matrix": "map(statement_marks[choices[j]],j,0..4)", "layout": {"type": "all", "expression": ""}, "answers": ["True", "False"]}], "sortAnswers": false}], "contributors": [{"name": "Mario Orsi", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/427/"}, {"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Mario Orsi", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/427/"}]}]}], "contributors": [{"name": "Mario Orsi", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/427/"}, {"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Mario Orsi", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/427/"}]}