// Numbas version: finer_feedback_settings {"name": "Stats Quiz Part 2 (Skewed)", "extensions": ["stats"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Stats Quiz Part 2 (Skewed)", "tags": [], "metadata": {"description": "Finding the measures, distribution and using Chebyshev's rule.", "licence": "All rights reserved"}, "statement": "
Given are the prices for the first 15 airbnb in {city} (in Euros). Answer the following questions for each using whichever method you see fit.
\n{datac}
\nNotes:
\nNo solution available
", "rulesets": {}, "extensions": ["stats"], "variables": {"city": {"name": "city", "group": "Ungrouped variables", "definition": "random(\"Paris\", \"Rome\", \"Berlin\", \"Brussels\", \"Amsterdam\", \"Prague\")", "description": "", "templateType": "anything"}, "av": {"name": "av", "group": "Ungrouped variables", "definition": "mean(datac)", "description": "", "templateType": "anything"}, "sd": {"name": "sd", "group": "Ungrouped variables", "definition": "stdev(datac)", "description": "", "templateType": "anything"}, "sd1": {"name": "sd1", "group": "Ungrouped variables", "definition": "stdev(datac)*sqrt(15/14)", "description": "", "templateType": "anything"}, "tm": {"name": "tm", "group": "Ungrouped variables", "definition": "random(115..135)", "description": "", "templateType": "anything"}, "tsd": {"name": "tsd", "group": "Ungrouped variables", "definition": "int+dec*10^(-1)", "description": "", "templateType": "anything"}, "int": {"name": "int", "group": "Ungrouped variables", "definition": "random(5..10)", "description": "", "templateType": "anything"}, "dec": {"name": "dec", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "templateType": "anything"}, "data1": {"name": "data1", "group": "Ungrouped variables", "definition": "repeat(precround(normalsample(tm-tsd,tsd/2),2),11)", "description": "", "templateType": "anything"}, "data2": {"name": "data2", "group": "Ungrouped variables", "definition": "repeat(precround(normalsample(tm+1.5*tsd,tsd),2),4)", "description": "", "templateType": "anything"}, "datac": {"name": "datac", "group": "Ungrouped variables", "definition": "data1+data2", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "length(mean(datac)-median(datac)) >= 1.5", "maxRuns": "100"}, "ungrouped_variables": ["tm", "int", "dec", "tsd", "city", "av", "sd", "sd1", "data1", "data2", "datac"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": true, "customName": "Question 1: Measures", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "For the following question, you might use google sheet or do it by hand, whichever you are most comfortable. (If you use google sheet, provide the link to your spreadsheet)
\na) What is the mean of the sample? $\\bar{x}=$ [[0]]
\nb) What is the median of the sample? [[1]]
\nc) What is the standard deviation of the sample? $s=$[[2]]
\nd) Using the information you found out, should you assume the population follows a normal distribution or a skewed distribution? [[3]]
\ne) Given this information, which measure of central tendency is the most representative? [[4]]
", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": false, "showFeedbackIcon": false, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "av-0.2", "maxValue": "av+0.2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": false, "showFeedbackIcon": false, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "median(datac)-0.5", "maxValue": "median(datac)+0.5", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "showCorrectAnswer": false, "showFeedbackIcon": false, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "sd-0.2", "maxValue": "sd1+0.2", "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": [], "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": false, "choices": ["Normal", "Skewed"], "matrix": ["0", "2"], "distractors": ["", ""]}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": false, "showFeedbackIcon": false, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": false, "choices": ["The mean", "The median", "Both the mean and the median"], "matrix": ["0", "1", "0"], "distractors": ["", "", ""]}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": true, "customName": "Question 2: Rules", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "Fill the blanks:
\nUsing [[0]], I find out that [[1]] [[2]]% (<--write percentage) of the data is within two standard deviations from the mean. In other words, [[2]]% of the data is contained in the interval: [[[3]],[[4]]]
", "gaps": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": false, "showFeedbackIcon": false, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "dropdownlist", "displayColumns": 0, "showCellAnswerState": false, "choices": ["the Empirical Rule", "Chebyshev's Rule"], "matrix": ["0", "1"], "distractors": ["", ""]}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": false, "showFeedbackIcon": false, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "dropdownlist", "displayColumns": 0, "showCellAnswerState": false, "choices": ["approximately", "at least"], "matrix": ["0", "1"], "distractors": ["", ""]}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": false, "showFeedbackIcon": false, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "75", "maxValue": "75", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "showCorrectAnswer": false, "showFeedbackIcon": false, "scripts": {}, "variableReplacements": [{"variable": "av", "part": "p0g0", "must_go_first": true}, {"variable": "sd", "part": "p0g2", "must_go_first": true}], "variableReplacementStrategy": "alwaysreplace", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "av-2*sd-0.2", "maxValue": "av-2*sd+0.2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "showCorrectAnswer": false, "showFeedbackIcon": false, "scripts": {}, "variableReplacements": [{"variable": "av", "part": "p0g0", "must_go_first": true}, {"variable": "sd", "part": "p0g2", "must_go_first": true}], "variableReplacementStrategy": "alwaysreplace", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "av+2*sd-0.2", "maxValue": "av+2*sd+0.2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "type": "question", "contributors": [{"name": "Kariane Ouellet", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4505/"}]}]}], "contributors": [{"name": "Kariane Ouellet", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4505/"}]}