// Numbas version: exam_results_page_options {"name": "Multiple regression - 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"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Multiple regression - true/false", "tags": [], "metadata": {"description": "

True/false question type to assess basic knowledge of multiple regression.

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

Identify each of the following statements as true or false in relation to multiple regression:

", "advice": "

Revise linear regression (e.g., Chapter 9 in OpenIntro Statistics).

", "rulesets": {"std": ["all", "fractionNumbers", "!collectNumbers", "!noLeadingMinus"]}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"choices": {"name": "choices", "group": "Statements", "definition": "shuffle(0..len(statements)-1)[0..6]", "description": "", "templateType": "anything", "can_override": false}, "t_statements": {"name": "t_statements", "group": "Statements", "definition": "[ \"Multiple regression studies the relation between one outcome (response) variable and many predictor variables.\", \"A multiple regression model is a linear model with many predictors.\", \"The general form of a multiple regression model with $k$ predictors is: $\\\\hat{y}=\\\\beta_0+\\\\beta_1x_1+\\\\beta_2x_2+\\\\dots+\\\\beta_kx_k$.\", \"Two predictor variables that are correlated are called \\'collinear\\'.\", \"$R^2_{adj}$ quantifies the amount of variability in the response that is explained (predicted) by the model.\", \"\\'Backward elimination\\' involves removing variables one-at-a-time from the full model to maximise $R^2_{adj}$.\", \"\\'Forward selection\\' involves adding variables one-at-a-time to maximise $R^2_{adj}$.\", \"We must check that the variability of the residuals is nearly constant.\", \"We must check that each variable is linearly related to the outcome.\", \"Data can sometimes be transformed to improve a model (e.g., transforming $x$ to $log\\\\,x$).\", \"\\'Backward elimination with the p-value\\' involves removing variables one-at-a-time from the full model when corresponding p-values are greater than the significance level.\", \"\\'Forward selection with the p-value\\' involves adding variables one-at-a-time when corresponding p-values are smaller than the significance level.\", \"The full model, which includes all available explanatory variables, is not always the best model.\", \"An indicator variable takes the value 1 if the specified characteristic is present and 0 otherwise.\", \"When fitting a model with a $\\\\var{k}$-level categorical variable, statistical software will provide a separate coefficient for $\\\\var{kMinusOne}$ of those levels.\" ]", "description": "", "templateType": "list of strings", "can_override": false}, "statements": {"name": "statements", "group": "Statements", "definition": "t_statements+f_statements", "description": "", "templateType": "anything", "can_override": false}, "statement_marks": {"name": "statement_marks", "group": "Statements", "definition": "map([2,0],x,t_statements)+map([0,2],x,f_statements)", "description": "", "templateType": "anything", "can_override": false}, "f_statements": {"name": "f_statements", "group": "Statements", "definition": "[ \"Multiple regression studies the relation between many outcome (response) variables and one predictor variable.\", \"A multiple regression model is a non-linear model with many predictors.\", \"The general form of a multiple regression model with $k$ predictors is: $\\\\hat{y}=\\\\beta_0+\\\\beta_1x+\\\\beta_2x^2+\\\\dots+\\\\beta_kx^k$.\", \"Two response variables that are correlated are called \\'collinear\\'.\", \"$R^2_{adj}$ quantifies the amount of variability in the predictors that is explained (predicted) by the model.\", \"\\'Forward selection\\' involves removing variables one-at-a-time to maximise $R^2_{adj}$.\", \"We must check that the variability of the residuals is nearly normal.\", \"We must check that each variable is independent from the outcome.\", \"\\'Backward elimination\\' involves removing variables one-at-a-time from the full model to minimize $R^2_{adj}$.\", \"Data should never be transformed to improve a model (e.g., transforming $x$ to $log\\\\,x$).\", \"\\'Backward elimination with the p-value\\' involves removing variables one-at-a-time from the full model when corresponding p-values are smaller than the significance level.\", \"\\'Forward selection with the p-value\\' involves adding variables one-at-a-time when corresponding p-values are larger than the significance level.\", \"The full model, which includes all available explanatory variables, is always the best model.\", \"An indicator variable takes the value 1 if it is significant and 0 otherwise.\", \"When fitting a model with a $\\\\var{k}$-level categorical variable, statistical software will provide a separate coefficient for all $\\\\var{k}$ of those levels.\" ]", "description": "", "templateType": "list of strings", "can_override": false}, "k": {"name": "k", "group": "Statements", "definition": "random(3..9)", "description": "", "templateType": "anything", "can_override": false}, "kMinusOne": {"name": "kMinusOne", "group": "Statements", "definition": "k-1", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "Statements", "variables": ["t_statements", "f_statements", "statements", "statement_marks", "choices", "k", "kMinusOne"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "\n \n \n

[[0]]

\n \n \n ", "gaps": [{"type": "m_n_x", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "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}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "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/"}]}