// Numbas version: exam_results_page_options {"showstudentname": true, "metadata": {"licence": "Creative Commons Attribution-ShareAlike 4.0 International", "description": ""}, "duration": 0, "feedback": {"intro": "", "showactualmark": true, "feedbackmessages": [], "showtotalmark": true, "allowrevealanswer": true, "advicethreshold": 0, "showanswerstate": true}, "showQuestionGroupNames": false, "name": "Block 3 SPSS Quiz", "timing": {"allowPause": true, "timeout": {"message": "", "action": "none"}, "timedwarning": {"message": "", "action": "none"}}, "question_groups": [{"pickingStrategy": "all-ordered", "name": "Group", "pickQuestions": 1, "questions": [{"name": "chi squ sex v victim of crime", "extensions": ["chemistry", "geogebra", "jsxgraph", "codewords", "permutations", "polynomials", "quantities", "random_person", "stats", "visjs"], "custom_part_types": [{"source": {"pk": 28, "author": {"name": "Marie Nicholson", "pk": 1799}, "edit_page": "/part_type/28/edit"}, "name": "True/False", "short_name": "true-false", "description": "

The answer is either 'True' or 'False'

", "help_url": "", "input_widget": "radios", "input_options": {"correctAnswer": "if(eval(settings[\"correct_answer_expr\"]), 0, 1)", "hint": {"static": true, "value": ""}, "choices": {"static": true, "value": ["True", "False"]}}, "can_be_gap": true, "can_be_step": true, "marking_script": "mark:\nif(studentanswer=correct_answer,\n correct(),\n incorrect()\n)\n\ninterpreted_answer:\nstudentAnswer=0\n\ncorrect_answer:\nif(eval(settings[\"correct_answer_expr\"]),0,1)", "marking_notes": [{"name": "mark", "description": "This is the main marking note. It should award credit and provide feedback based on the student's answer.", "definition": "if(studentanswer=correct_answer,\n correct(),\n incorrect()\n)"}, {"name": "interpreted_answer", "description": "A value representing the student's answer to this part.", "definition": "studentAnswer=0"}, {"name": "correct_answer", "description": "", "definition": "if(eval(settings[\"correct_answer_expr\"]),0,1)"}], "settings": [{"name": "correct_answer_expr", "label": "Is the answer \"True\"", "help_url": "", "hint": "", "input_type": "mathematical_expression", "default_value": "true", "subvars": false}], "public_availability": "always", "published": true, "extensions": []}], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Nuala Davis", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/821/"}, {"name": "JAYNE CARRICK", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3557/"}], "tags": ["#block3", "#spssquiz"], "variables": {}, "variable_groups": [], "preamble": {"js": "", "css": ""}, "ungrouped_variables": [], "functions": {}, "metadata": {"licence": "Creative Commons Attribution-ShareAlike 4.0 International", "description": ""}, "variablesTest": {"condition": "", "maxRuns": 100}, "parts": [{"variableReplacements": [], "marks": 1, "customName": "", "scripts": {}, "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

There is a statistically significant relationship between sex and having experienced crime in the last 12 months

", "settings": {"correct_answer_expr": "false"}, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "type": "true-false", "useCustomName": false, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true}], "statement": "", "advice": "

Conduct a Chi Squ test between the 'sex' variable and 'experience of crime in the last 12 months' variable (Analyse, Descriptive Statistics, Crosstabs). Remember to select 'chi-square' in the 'statistics' menu.

\n

The results show that the p-value is 0.78 (more than 0.05), meaning that there is not a statitically significant relationship between the variables.

", "rulesets": {}}, {"name": "Chi Squ sex v safe in home at night", "extensions": [], "custom_part_types": [{"source": {"pk": 1, "author": {"name": "Christian Lawson-Perfect", "pk": 7}, "edit_page": "/part_type/1/edit"}, "name": "Yes/no", "short_name": "yes-no", "description": "

The student is shown two radio choices: \"Yes\" and \"No\". One of them is correct.

", "help_url": "", "input_widget": "radios", "input_options": {"correctAnswer": "if(eval(settings[\"correct_answer_expr\"]), 0, 1)", "hint": {"static": true, "value": ""}, "choices": {"static": true, "value": ["Yes", "No"]}}, "can_be_gap": true, "can_be_step": true, "marking_script": "mark:\nif(studentanswer=correct_answer,\n correct(),\n incorrect()\n)\n\ninterpreted_answer:\nstudentAnswer=0\n\ncorrect_answer:\nif(eval(settings[\"correct_answer_expr\"]),0,1)", "marking_notes": [{"name": "mark", "description": "This is the main marking note. It should award credit and provide feedback based on the student's answer.", "definition": "if(studentanswer=correct_answer,\n correct(),\n incorrect()\n)"}, {"name": "interpreted_answer", "description": "A value representing the student's answer to this part.", "definition": "studentAnswer=0"}, {"name": "correct_answer", "description": "", "definition": "if(eval(settings[\"correct_answer_expr\"]),0,1)"}], "settings": [{"name": "correct_answer_expr", "label": "Is the answer \"Yes\"?", "help_url": "", "hint": "An expression which evaluates to true or false.", "input_type": "mathematical_expression", "default_value": "true", "subvars": false}], "public_availability": "always", "published": true, "extensions": []}], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "JAYNE CARRICK", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3557/"}], "ungrouped_variables": [], "variables": {}, "statement": "", "tags": ["#block3", "#spssquiz"], "parts": [{"mustBeReduced": false, "type": "numberentry", "correctAnswerStyle": "plain", "showFeedbackIcon": true, "marks": 1, "prompt": "

What percentage of women said they felt very safe when they are alone in their home at night? 

", "maxValue": "56", "customMarkingAlgorithm": "", "minValue": "55", "showFractionHint": true, "customName": "", "allowFractions": false, "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "variableReplacements": [], "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "scripts": {}, "mustBeReducedPC": 0, "unitTests": [], "notationStyles": ["plain", "en", "si-en"], "useCustomName": false}, {"prompt": "

Is there a statistically significant relationship between how safe someone feels when alone in their home at night, and their sex? 

", "useCustomName": false, "type": "yes-no", "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "marks": 1, "unitTests": [], "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "customName": "", "settings": {"correct_answer_expr": "true"}}], "metadata": {"licence": "Creative Commons Attribution-ShareAlike 4.0 International", "description": ""}, "advice": "

Conduct a Chi Squ test between the sex' variable and 'how safe do you feel when alone in home at night' variable (Analyse, Descriptive Statistics, Crosstabs). Remember to select 'chi-square' in the 'statistics' menu, and to display the percentages of the independent variable by selecting 'show percentages' in the cells menu

\n

Looking at the crosstabs, 55.6% of women feel very safe when alone at night, compared to 76.3% of men.

\n

The results show that the p-value is 0.00 (less than 0.05), meaning that there is a statistically significant relationship between the variables.

", "functions": {}, "preamble": {"js": "", "css": ""}, "variablesTest": {"condition": "", "maxRuns": 100}, "variable_groups": [], "rulesets": {}}, {"name": "Chi Squ Area v Rubbish", "extensions": [], "custom_part_types": [{"source": {"pk": 1, "author": {"name": "Christian Lawson-Perfect", "pk": 7}, "edit_page": "/part_type/1/edit"}, "name": "Yes/no", "short_name": "yes-no", "description": "

The student is shown two radio choices: \"Yes\" and \"No\". One of them is correct.

", "help_url": "", "input_widget": "radios", "input_options": {"correctAnswer": "if(eval(settings[\"correct_answer_expr\"]), 0, 1)", "hint": {"static": true, "value": ""}, "choices": {"static": true, "value": ["Yes", "No"]}}, "can_be_gap": true, "can_be_step": true, "marking_script": "mark:\nif(studentanswer=correct_answer,\n correct(),\n incorrect()\n)\n\ninterpreted_answer:\nstudentAnswer=0\n\ncorrect_answer:\nif(eval(settings[\"correct_answer_expr\"]),0,1)", "marking_notes": [{"name": "mark", "description": "This is the main marking note. It should award credit and provide feedback based on the student's answer.", "definition": "if(studentanswer=correct_answer,\n correct(),\n incorrect()\n)"}, {"name": "interpreted_answer", "description": "A value representing the student's answer to this part.", "definition": "studentAnswer=0"}, {"name": "correct_answer", "description": "", "definition": "if(eval(settings[\"correct_answer_expr\"]),0,1)"}], "settings": [{"name": "correct_answer_expr", "label": "Is the answer \"Yes\"?", "help_url": "", "hint": "An expression which evaluates to true or false.", "input_type": "mathematical_expression", "default_value": "true", "subvars": false}], "public_availability": "always", "published": true, "extensions": []}], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "JAYNE CARRICK", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3557/"}], "tags": ["#block3", "#spss"], "variables": {}, "variable_groups": [], "preamble": {"js": "", "css": ""}, "ungrouped_variables": [], "functions": {}, "metadata": {"licence": "Creative Commons Attribution-ShareAlike 4.0 International", "description": ""}, "variablesTest": {"condition": "", "maxRuns": 100}, "parts": [{"variableReplacements": [], "marks": 1, "customName": "", "scripts": {}, "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

Conduct a Chi square test to investigate the following hypothesis:

\n

Litter/rubbish is more common in urban areas.

\n

Interpreting the results this hypothesis should be accepted.

", "settings": {"correct_answer_expr": "true"}, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "type": "yes-no", "useCustomName": false, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true}], "statement": "", "advice": "

Conduct a Chi Squ test between the 'urban/rural' variable and 'how common is rubbish' variable (Analyse, Descriptive Statistics, Crosstabs). Remember to select 'chi-square' in the 'statistics' menu, and to display the percentages of the independent variable by selecting 'show percentages' in the cells menu

\n

The results show that the p-value is 0.00 (less than 0.05), meaning that there is a statitically significant relationship between the variables. Looking at the crosstabs, rubbish is more common in urban areas, as indicated in our hypothesis. The hypothesis can therefore be accepted.

", "rulesets": {}}, {"name": "Chi Squ live here 12 months v safe at home", "extensions": [], "custom_part_types": [{"source": {"pk": 1, "author": {"name": "Christian Lawson-Perfect", "pk": 7}, "edit_page": "/part_type/1/edit"}, "name": "Yes/no", "short_name": "yes-no", "description": "

The student is shown two radio choices: \"Yes\" and \"No\". One of them is correct.

", "help_url": "", "input_widget": "radios", "input_options": {"correctAnswer": "if(eval(settings[\"correct_answer_expr\"]), 0, 1)", "hint": {"static": true, "value": ""}, "choices": {"static": true, "value": ["Yes", "No"]}}, "can_be_gap": true, "can_be_step": true, "marking_script": "mark:\nif(studentanswer=correct_answer,\n correct(),\n incorrect()\n)\n\ninterpreted_answer:\nstudentAnswer=0\n\ncorrect_answer:\nif(eval(settings[\"correct_answer_expr\"]),0,1)", "marking_notes": [{"name": "mark", "description": "This is the main marking note. It should award credit and provide feedback based on the student's answer.", "definition": "if(studentanswer=correct_answer,\n correct(),\n incorrect()\n)"}, {"name": "interpreted_answer", "description": "A value representing the student's answer to this part.", "definition": "studentAnswer=0"}, {"name": "correct_answer", "description": "", "definition": "if(eval(settings[\"correct_answer_expr\"]),0,1)"}], "settings": [{"name": "correct_answer_expr", "label": "Is the answer \"Yes\"?", "help_url": "", "hint": "An expression which evaluates to true or false.", "input_type": "mathematical_expression", "default_value": "true", "subvars": false}], "public_availability": "always", "published": true, "extensions": []}], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "JAYNE CARRICK", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3557/"}], "tags": ["#block3", "#spss"], "variables": {}, "variable_groups": [], "preamble": {"js": "", "css": ""}, "ungrouped_variables": [], "functions": {}, "metadata": {"licence": "Creative Commons Attribution-ShareAlike 4.0 International", "description": ""}, "variablesTest": {"condition": "", "maxRuns": 100}, "parts": [{"variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "maxValue": "0.14", "showFractionHint": true, "customMarkingAlgorithm": "", "useCustomName": false, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "allowFractions": false, "customName": "", "mustBeReducedPC": 0, "minValue": "0.13", "unitTests": [], "mustBeReduced": false, "correctAnswerStyle": "plain", "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "correctAnswerFraction": false, "type": "numberentry", "marks": 1, "prompt": "

Conduct a Chi Squ test using the variables: 'how safe do you feel when alone in home at night' and 'were you living at this address 12 months ago'

\n

What is the p-value?

"}, {"variableReplacements": [], "marks": 1, "customName": "", "scripts": {}, "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

Is the relationship between the variables statistically significant?

", "settings": {"correct_answer_expr": "false"}, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "type": "yes-no", "useCustomName": false, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true}], "statement": "", "advice": "

Conduct a Chi Squ test between the 'were you living at this address 12 months ago' variable and 'how safe do you feel alone at home' variable (Analyse, Descriptive Statistics, Crosstabs). Remember to select 'chi-square' in the 'statistics' menu.

\n

The results show that the p-value is 0.137 (more than 0.05), meaning that there is not a statistically significant relationship between the variables.

", "rulesets": {}}, {"name": "Chi squ ethnic origin v paid work", "extensions": [], "custom_part_types": [{"source": {"pk": 1, "author": {"name": "Christian Lawson-Perfect", "pk": 7}, "edit_page": "/part_type/1/edit"}, "name": "Yes/no", "short_name": "yes-no", "description": "

The student is shown two radio choices: \"Yes\" and \"No\". One of them is correct.

", "help_url": "", "input_widget": "radios", "input_options": {"correctAnswer": "if(eval(settings[\"correct_answer_expr\"]), 0, 1)", "hint": {"static": true, "value": ""}, "choices": {"static": true, "value": ["Yes", "No"]}}, "can_be_gap": true, "can_be_step": true, "marking_script": "mark:\nif(studentanswer=correct_answer,\n correct(),\n incorrect()\n)\n\ninterpreted_answer:\nstudentAnswer=0\n\ncorrect_answer:\nif(eval(settings[\"correct_answer_expr\"]),0,1)", "marking_notes": [{"name": "mark", "description": "This is the main marking note. It should award credit and provide feedback based on the student's answer.", "definition": "if(studentanswer=correct_answer,\n correct(),\n incorrect()\n)"}, {"name": "interpreted_answer", "description": "A value representing the student's answer to this part.", "definition": "studentAnswer=0"}, {"name": "correct_answer", "description": "", "definition": "if(eval(settings[\"correct_answer_expr\"]),0,1)"}], "settings": [{"name": "correct_answer_expr", "label": "Is the answer \"Yes\"?", "help_url": "", "hint": "An expression which evaluates to true or false.", "input_type": "mathematical_expression", "default_value": "true", "subvars": false}], "public_availability": "always", "published": true, "extensions": []}], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "JAYNE CARRICK", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3557/"}], "functions": {}, "metadata": {"description": "", "licence": "Creative Commons Attribution-ShareAlike 4.0 International"}, "advice": "

Conduct a Chi Squ test between the 'the 'ethnic origin' variable and the 'any paid work in the last week' variable' (Analyse, Descriptive Statistics, Crosstabs). Remember to select 'chi-square' in the 'statistics' menu.

\n

The results show that the p-value is 0.334 (more than 0.05), meaning that there is not a statistically significant relationship between the variables.

", "rulesets": {}, "tags": ["#block3", "#spss"], "variable_groups": [], "parts": [{"variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true, "scripts": {}, "customName": "", "showCorrectAnswer": true, "showFeedbackIcon": true, "useCustomName": false, "unitTests": [], "settings": {"correct_answer_expr": "false"}, "marks": 1, "variableReplacements": [], "prompt": "

Conduct a Chi square to explore the link between the 'ethnic origin' variable and the 'any paid work in the last week' variable

\n

Is there a statistically significant relationship between ethnic origin and having had paid work?

", "type": "yes-no", "customMarkingAlgorithm": ""}], "statement": "", "ungrouped_variables": [], "variables": {}, "preamble": {"js": "", "css": ""}, "variablesTest": {"condition": "", "maxRuns": 100}}]}], "percentPass": 0, "navigation": {"reverse": true, "onleave": {"message": "", "action": "none"}, "startpassword": "", "browse": true, "showresultspage": "oncompletion", "showfrontpage": true, "allowsteps": true, "allowregen": true, "preventleave": true}, "contributors": [{"name": "Nuala Davis", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/821/"}, {"name": "JAYNE CARRICK", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3557/"}], "extensions": ["chemistry", "geogebra", "jsxgraph", "codewords", "permutations", "polynomials", "quantities", "random_person", "stats"], "custom_part_types": [{"source": {"pk": 28, "author": {"name": "Marie Nicholson", "pk": 1799}, "edit_page": "/part_type/28/edit"}, "name": "True/False", "short_name": "true-false", "description": "

The answer is either 'True' or 'False'

", "help_url": "", "input_widget": "radios", "input_options": {"correctAnswer": "if(eval(settings[\"correct_answer_expr\"]), 0, 1)", "hint": {"static": true, "value": ""}, "choices": {"static": true, "value": ["True", "False"]}}, "can_be_gap": true, "can_be_step": true, "marking_script": "mark:\nif(studentanswer=correct_answer,\n correct(),\n incorrect()\n)\n\ninterpreted_answer:\nstudentAnswer=0\n\ncorrect_answer:\nif(eval(settings[\"correct_answer_expr\"]),0,1)", "marking_notes": [{"name": "mark", "description": "This is the main marking note. It should award credit and provide feedback based on the student's answer.", "definition": "if(studentanswer=correct_answer,\n correct(),\n incorrect()\n)"}, {"name": "interpreted_answer", "description": "A value representing the student's answer to this part.", "definition": "studentAnswer=0"}, {"name": "correct_answer", "description": "", "definition": "if(eval(settings[\"correct_answer_expr\"]),0,1)"}], "settings": [{"name": "correct_answer_expr", "label": "Is the answer \"True\"", "help_url": "", "hint": "", "input_type": "mathematical_expression", "default_value": "true", "subvars": false}], "public_availability": "always", "published": true, "extensions": []}, {"source": {"pk": 1, "author": {"name": "Christian Lawson-Perfect", "pk": 7}, "edit_page": "/part_type/1/edit"}, "name": "Yes/no", "short_name": "yes-no", "description": "

The student is shown two radio choices: \"Yes\" and \"No\". One of them is correct.

", "help_url": "", "input_widget": "radios", "input_options": {"correctAnswer": "if(eval(settings[\"correct_answer_expr\"]), 0, 1)", "hint": {"static": true, "value": ""}, "choices": {"static": true, "value": ["Yes", "No"]}}, "can_be_gap": true, "can_be_step": true, "marking_script": "mark:\nif(studentanswer=correct_answer,\n correct(),\n incorrect()\n)\n\ninterpreted_answer:\nstudentAnswer=0\n\ncorrect_answer:\nif(eval(settings[\"correct_answer_expr\"]),0,1)", "marking_notes": [{"name": "mark", "description": "This is the main marking note. It should award credit and provide feedback based on the student's answer.", "definition": "if(studentanswer=correct_answer,\n correct(),\n incorrect()\n)"}, {"name": "interpreted_answer", "description": "A value representing the student's answer to this part.", "definition": "studentAnswer=0"}, {"name": "correct_answer", "description": "", "definition": "if(eval(settings[\"correct_answer_expr\"]),0,1)"}], "settings": [{"name": "correct_answer_expr", "label": "Is the answer \"Yes\"?", "help_url": "", "hint": "An expression which evaluates to true or false.", "input_type": "mathematical_expression", "default_value": "true", "subvars": false}], "public_availability": "always", "published": true, "extensions": []}], "resources": []}