// Numbas version: exam_results_page_options {"name": "Calculate confidence interval for the mean, sample variance n>30", "extensions": ["stats"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [{"name": "Unnamed group", "variables": ["scenario1", "scenario2", "sample_size", "scenario3", "lower"]}], "preamble": {"css": "", "js": ""}, "variables": {"sample_size": {"name": "sample_size", "templateType": "anything", "definition": "random(60..140#10)", "description": "", "group": "Unnamed group"}, "stuff": {"name": "stuff", "templateType": "anything", "definition": "[\"assembly time\", \"amount spent on books\"]", "description": "", "group": "Ungrouped variables"}, "upper": {"name": "upper", "templateType": "anything", "definition": "m[Index]+Z[Index]*(s[Index]/sqrt(sample_size))", "description": "", "group": "Ungrouped variables"}, "percentage": {"name": "percentage", "templateType": "anything", "definition": "[\"95\",\"99\"]", "description": "", "group": "Ungrouped variables"}, "amount": {"name": "amount", "templateType": "anything", "definition": "[\"number of grams\", \"volume (in ml)\"]", "description": "", "group": "Ungrouped variables"}, "scenario1": {"name": "scenario1", "templateType": "anything", "definition": "[\"The operations manager of a large production plant would like to estimate the mean\namount of time a worker takes to assemble a new electronic component. After observing\",\"Suppose we would like to estimate the mean amount of money spent on books by CIT students in a semester. A sample of\"]\n\n", "description": "", "group": "Unnamed group"}, "scenario3": {"name": "scenario3", "templateType": "anything", "definition": "[\"minutes with a standard deviation of\", \"\u20ac with a standard deviation of\"]", "description": "", "group": "Unnamed group"}, "Index": {"name": "Index", "templateType": "anything", "definition": "random(0,1)", "description": "", "group": "Ungrouped variables"}, "scenario2": {"name": "scenario2", "templateType": "anything", "definition": "[\"workers assembling similar devices, the manager noticed that their average time was\", \"randomly chosen students was found to spend an average of\"]", "description": "", "group": "Unnamed group"}, "units1": {"name": "units1", "templateType": "anything", "definition": "[\"minutes\", \"\u20ac\"]", "description": "", "group": "Ungrouped variables"}, "tol": {"name": "tol", "templateType": "anything", "definition": "0.01", "description": "", "group": "Ungrouped variables"}, "m": {"name": "m", "templateType": "anything", "definition": "[random(14..18#0.2),random(80..200#5)]", "description": "", "group": "Ungrouped variables"}, "s": {"name": "s", "templateType": "anything", "definition": "[random(3.2..4#0.1), random(15..20#1)]", "description": "", "group": "Ungrouped variables"}, "lower": {"name": "lower", "templateType": "anything", "definition": "m[Index]-Z[Index]*s[Index]/sqrt(sample_size)", "description": "", "group": "Unnamed group"}, "Z": {"name": "Z", "templateType": "anything", "definition": "[precround(normalinv(0.975,0,1),2),precround(normalinv(0.995,0,1),2)]", "description": "", "group": "Ungrouped variables"}}, "statement": "

{scenario1[Index]} {sample_size} {scenario2[Index]}  {m[Index]} {units1[Index]} with a standard deviation of {s[Index]} {units1[Index]}. Construct a {percentage[Index]}% confidence interval for the mean {stuff[Index]}.

\n

\n

\n

 

", "rulesets": {}, "tags": [], "advice": "

\n

 

", "parts": [{"variableReplacementStrategy": "originalfirst", "prompt": "

Does the sample mean follow a Z-distribution or a t-distribution?

", "minMarks": 0, "showCorrectAnswer": true, "scripts": {}, "unitTests": [], "maxMarks": 0, "showFeedbackIcon": true, "displayType": "radiogroup", "displayColumns": 0, "variableReplacements": [], "type": "1_n_2", "choices": ["Z-distribution", "t-distribution"], "marks": 0, "matrix": ["1", 0], "customMarkingAlgorithm": "", "distractors": ["", ""], "shuffleChoices": false, "extendBaseMarkingAlgorithm": true}, {"variableReplacementStrategy": "originalfirst", "prompt": "

Lower limit = [[0]]

\n

Upper limit = [[1]]

", "showCorrectAnswer": true, "scripts": {}, "unitTests": [], "showFeedbackIcon": true, "variableReplacements": [], "sortAnswers": false, "type": "gapfill", "gaps": [{"maxValue": "lower", "precisionMessage": "You have not given your answer to the correct precision.", "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "strictPrecision": false, "showPrecisionHint": true, "variableReplacements": [], "type": "numberentry", "allowFractions": false, "minValue": "lower", "precisionPartialCredit": 0, "mustBeReduced": false, "precisionType": "dp", "variableReplacementStrategy": "originalfirst", "correctAnswerStyle": "plain", "showCorrectAnswer": true, "scripts": {}, "unitTests": [], "showFeedbackIcon": true, "precision": "2", "marks": 1, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "correctAnswerFraction": false}, {"maxValue": "upper", "precisionMessage": "You have not given your answer to the correct precision.", "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "strictPrecision": false, "showPrecisionHint": true, "variableReplacements": [], "type": "numberentry", "allowFractions": false, "minValue": "upper", "precisionPartialCredit": 0, "mustBeReduced": false, "precisionType": "dp", "variableReplacementStrategy": "originalfirst", "correctAnswerStyle": "plain", "showCorrectAnswer": true, "scripts": {}, "unitTests": [], "showFeedbackIcon": true, "precision": "2", "marks": 1, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "correctAnswerFraction": false}], "marks": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true}], "functions": {}, "extensions": ["stats"], "variablesTest": {"maxRuns": 100, "condition": ""}, "ungrouped_variables": ["units1", "upper", "m", "s", "amount", "tol", "stuff", "Index", "percentage", "Z"], "name": "Calculate confidence interval for the mean, sample variance n>30", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

\n

Calculate confidence interval for the mean, sample variance n>30

"}, "type": "question", "contributors": [{"name": "Clodagh Carroll", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/384/"}, {"name": "Catherine Palmer", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/423/"}]}]}], "contributors": [{"name": "Clodagh Carroll", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/384/"}, {"name": "Catherine Palmer", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/423/"}]}