// Numbas version: exam_results_page_options {"name": "Mean, median and mode from a frequency table with classes 1c", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": [], "parts": [{"notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "integerAnswer": true, "strictPrecision": false, "precisionType": "dp", "showPrecisionHint": true, "showFeedbackIcon": true, "correctAnswerFraction": false, "marks": "2", "precision": 0, "variableReplacements": [], "type": "numberentry", "minValue": "mean", "precisionPartialCredit": 0, "maxValue": "mean", "scripts": {}, "integerPartialCredit": 0, "prompt": "

\n

Calculate the mean of the data to the nearest whole number.

", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "allowFractions": false, "precisionMessage": "You have not given your answer to the correct precision."}, {"notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "integerAnswer": true, "strictPrecision": false, "precisionType": "dp", "showPrecisionHint": true, "showFeedbackIcon": true, "correctAnswerFraction": false, "marks": "4", "precision": 0, "variableReplacements": [], "type": "numberentry", "minValue": "stdev", "precisionPartialCredit": 0, "maxValue": "stdev", "scripts": {}, "integerPartialCredit": 0, "prompt": "

Calculate the standard deviation of the data to the nearest whole number.

", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "allowFractions": false, "precisionMessage": "You have not given your answer to the correct precision."}, {"notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "integerAnswer": true, "strictPrecision": false, "precisionType": "dp", "showPrecisionHint": true, "showFeedbackIcon": true, "correctAnswerFraction": false, "marks": "3", "precision": 0, "variableReplacements": [], "type": "numberentry", "minValue": "median", "precisionPartialCredit": 0, "maxValue": "median", "scripts": {}, "integerPartialCredit": 0, "prompt": "

Calculate the median of the data to the nearest whole number.

", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "allowFractions": false, "precisionMessage": "You have not given your answer to the correct precision."}, {"notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "integerAnswer": true, "strictPrecision": false, "precisionType": "dp", "showPrecisionHint": true, "showFeedbackIcon": true, "correctAnswerFraction": false, "marks": "3", "precision": 0, "variableReplacements": [], "type": "numberentry", "minValue": "mode", "precisionPartialCredit": 0, "maxValue": "mode", "scripts": {}, "integerPartialCredit": 0, "prompt": "

Calculate the mode of the data to the nearest whole number.

", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "allowFractions": false, "precisionMessage": "You have not given your answer to the correct precision."}], "extensions": [], "advice": "

\n

", "ungrouped_variables": ["a", "c", "b", "d", "q", "p", "s", "r", "t", "stdev", "mean", "x", "Total", "data", "mode", "Median"], "statement": "

The following gives the age distribution of the 160 members of a local athletics club

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Class (Age in years)frequency (No of members)
{q-5} but less than {q+5}{a}
{p-5} but less than {p+5}{b}
{s-5} but less than {s+5}{c}
{r-5} but less than {r+5}{d}
", "rulesets": {}, "variablesTest": {"maxRuns": 100, "condition": ""}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Scores  in 20 games and frequency given -- calculate mean.

\n

rebelmaths

"}, "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "variables": {"data": {"group": "Ungrouped variables", "templateType": "anything", "name": "data", "definition": "[ [p,a],[q,b],[r,c],[s,d]]", "description": ""}, "stdev": {"group": "Ungrouped variables", "templateType": "anything", "name": "stdev", "definition": "sqrt((a*q^2 + b*p^2+c*s^2 +d*r^2)/160- (Total/160)^2)", "description": ""}, "r": {"group": "Ungrouped variables", "templateType": "anything", "name": "r", "definition": "x+40", "description": ""}, "mode": {"group": "Ungrouped variables", "templateType": "anything", "name": "mode", "definition": "s-5+10*((c-b)/(2c-(b+d)))", "description": ""}, "c": {"group": "Ungrouped variables", "templateType": "anything", "name": "c", "definition": "160-a-b-d", "description": ""}, "p": {"group": "Ungrouped variables", "templateType": "anything", "name": "p", "definition": "x+20", "description": ""}, "q": {"group": "Ungrouped variables", "templateType": "anything", "name": "q", "definition": "x+10", "description": ""}, "t": {"group": "Ungrouped variables", "templateType": "anything", "name": "t", "definition": "x+50", "description": ""}, "b": {"group": "Ungrouped variables", "templateType": "anything", "name": "b", "definition": "random(30..50)", "description": ""}, "mean": {"group": "Ungrouped variables", "templateType": "anything", "name": "mean", "definition": "Total/160", "description": ""}, "d": {"group": "Ungrouped variables", "templateType": "anything", "name": "d", "definition": "random(20..35)", "description": ""}, "x": {"group": "Ungrouped variables", "templateType": "randrange", "name": "x", "definition": "random(-5..25#10)", "description": ""}, "s": {"group": "Ungrouped variables", "templateType": "anything", "name": "s", "definition": "x+30", "description": ""}, "a": {"group": "Ungrouped variables", "templateType": "anything", "name": "a", "definition": "random(20..30)", "description": "

  

"}, "Total": {"group": "Ungrouped variables", "templateType": "anything", "name": "Total", "definition": "a*q + b*p+c*s +d*r\n", "description": ""}, "Median": {"group": "Ungrouped variables", "templateType": "anything", "name": "Median", "definition": "s-5+10*(80-(a+b))/c", "description": ""}}, "name": "Mean, median and mode from a frequency table with classes 1c", "type": "question", "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}]}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}]}