// Numbas version: finer_feedback_settings {"name": "Correlation Coefficient", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["o1", "o2", "o3", "o4", "o5", "o6", "o7", "b1", "b2", "b3", "b4", "b5", "b6", "b7", "meano", "meanb", "covob", "varo", "varb"], "name": "Correlation Coefficient", "tags": [], "advice": "", "rulesets": {}, "parts": [{"prompt": "
Determine the mean of both the obesity and the blood pressure to two decimal places.
\nObesity: [[0]]
\nBlood Pressure: [[1]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "meano+0.05", "minValue": "meano-0.05", "variableReplacementStrategy": "originalfirst", "strictPrecision": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "meanb+0.05", "minValue": "meanb-0.05", "variableReplacementStrategy": "originalfirst", "strictPrecision": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"precisionType": "dp", "prompt": "What is the covariance between the two variables to two decimal places?
", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "covob+0.05", "minValue": "covob-0.05", "variableReplacementStrategy": "originalfirst", "strictPrecision": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"prompt": "Determine the variance of both the obesity and the blood pressure to two decimal places.
\nObesity: [[0]]
\nBlood Pressure: [[1]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "varo+0.05", "minValue": "varo-0.05", "variableReplacementStrategy": "originalfirst", "strictPrecision": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "varb+0.05", "minValue": "varb-0.05", "variableReplacementStrategy": "originalfirst", "strictPrecision": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"precisionType": "dp", "prompt": "What is the correlation coefficient, to two decimal places, between these two quantities?
", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "(covob/(varo*varb)^0.5)+0.05", "minValue": "(covob/(varo*varb)^0.5)-0.05", "variableReplacementStrategy": "originalfirst", "strictPrecision": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "statement": "The data below gives the obesity and blood pressure of seven females (aged 35-60) in a small town:
\nObesity | \nBlood Pressure | \n
{o1} | \n{b1} | \n
{o2} | \n{b2} | \n
{o3} | \n{b3} | \n
{o4} | \n{b4} | \n
{o5} | \n{b5} | \n
{o6} | \n{b6} | \n
{o7} | \n{b7} | \n