// Numbas version: exam_results_page_options {"name": "Mean and standard deviation 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": [{"metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

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

\n

rebelmaths

"}, "rulesets": {}, "tags": [], "advice": "

\n

", "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}
", "extensions": [], "functions": {}, "ungrouped_variables": ["a", "c", "b", "d", "q", "p", "s", "r", "t", "stdev", "mean", "x", "Total", "data", "mode", "Median"], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"js": "", "css": ""}, "variable_groups": [], "name": "Mean and standard deviation from a frequency table with classes 1c", "parts": [{"showPrecisionHint": true, "correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "scripts": {}, "type": "numberentry", "precisionPartialCredit": 0, "mustBeReduced": false, "minValue": "mean", "prompt": "

\n

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

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

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

", "showCorrectAnswer": true, "marks": "4", "maxValue": "stdev", "showFeedbackIcon": true, "precision": 0, "precisionMessage": "You have not given your answer to the correct precision.", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "allowFractions": false, "correctAnswerStyle": "plain", "precisionType": "dp", "variableReplacements": []}], "variables": {"d": {"name": "d", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(20..35)"}, "c": {"name": "c", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "160-a-b-d"}, "q": {"name": "q", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "x+10"}, "mode": {"name": "mode", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "s-5+10*((c-b)/(2c-(b+d)))"}, "Median": {"name": "Median", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "s-5+10*(80-(a+b))/c"}, "s": {"name": "s", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "x+30"}, "stdev": {"name": "stdev", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "sqrt((a*q^2 + b*p^2+c*s^2 +d*r^2)/160- (Total/160)^2)"}, "t": {"name": "t", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "x+50"}, "x": {"name": "x", "group": "Ungrouped variables", "templateType": "randrange", "description": "", "definition": "random(-5..25#10)"}, "data": {"name": "data", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "[ [p,a],[q,b],[r,c],[s,d]]"}, "b": {"name": "b", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(30..50)"}, "mean": {"name": "mean", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "Total/160"}, "p": {"name": "p", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "x+20"}, "Total": {"name": "Total", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "a*q + b*p+c*s +d*r\n"}, "a": {"name": "a", "group": "Ungrouped variables", "templateType": "anything", "description": "

  

", "definition": "random(20..30)"}, "r": {"name": "r", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "x+40"}}, "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/"}]}