// Numbas version: exam_results_page_options {"name": "Josh's copy of Decide if variable is binomial or Poisson, from description,", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"parts": [{"type": "m_n_x", "choices": ["{ch1}", "{ch2}", "{ch3}"], "maxAnswers": 0, "minAnswers": 0, "maxMarks": 0, "showCorrectAnswer": true, "marks": 0, "matrix": "mm", "layout": {"type": "all", "expression": ""}, "displayType": "radiogroup", "shuffleAnswers": false, "scripts": {}, "shuffleChoices": true, "answers": ["Binomial Distribution", "Poisson Distribution"], "warningType": "none", "minMarks": 0}], "name": "Josh's copy of Decide if variable is binomial or Poisson, from description,", "variable_groups": [], "statement": "\n

Which of the following random variables could be modelled with a binomial distribution and which could be modelled with a Poisson distribution?

\n

You will lose 1 mark for every incorrect answer. The minimum mark is 0.

\n ", "type": "question", "showQuestionGroupNames": false, "tags": ["ACC1012", "checked2015", "MAS1403"], "rulesets": {}, "metadata": {"notes": "

06/12/2013

\n

Replaced a Poisson scenario that wasn't strictly Poisson. (AJY)

\n

31/12/2012:

\n


Checked choices, OK. Added tag sc as examples can be easily added to via the arrays b and pd.

", "description": "

Given descriptions of  3 random variables, decide whether or not each is from a Poisson or Binomial distribution.

", "licence": "Creative Commons Attribution 4.0 International"}, "ungrouped_variables": ["p2", "p3", "b", "mm", "ch3", "ch1", "ch2", "p1", "t", "pd"], "functions": {}, "preamble": {"js": "", "css": ""}, "advice": "

No solution given.

", "variables": {"t": {"description": "", "definition": "random(0,1)", "name": "t", "templateType": "anything", "group": "Ungrouped variables"}, "p3": {"description": "", "definition": "random(0..abs(pd)-1)", "name": "p3", "templateType": "anything", "group": "Ungrouped variables"}, "mm": {"description": "", "definition": "[[1,-1],[1-2*t,2*t-1],[-1,1]]", "name": "mm", "templateType": "anything", "group": "Ungrouped variables"}, "p1": {"description": "", "definition": "random(0..abs(b)-1)", "name": "p1", "templateType": "anything", "group": "Ungrouped variables"}, "ch2": {"description": "", "definition": "switch(t=0,b[p2],pd[p2])", "name": "ch2", "templateType": "anything", "group": "Ungrouped variables"}, "b": {"description": "", "definition": "\n[\"20% of eggs from a family-run farm are bad. X is the number of bad eggs in a box of a dozen.\",\n \"A salesperson has a 50% chance of making a sale on a customer visit and she arranges 10 visits in a day. Let X be the number of sales that day.\",\n \"30% of items off a factory production line have been shown to have defects. Let A be the number of defectives in a box of 20 such items.\",\n \"One in ten new small businesses in the north-east goes bust within a year. Let X be the number of small businesses that fail in the next year out of thirty that have been set up.\",\n \"The probability that an office photocopier will fail on any given day is 0.15. The human resources office at Newcastle University has ten such photocopiers; Let Y be the number of photocopiers that fail today.\",\n \"Callers to the Vodaphone call centre will get through to an operator immediately with probability 0.25. X is the number of callers that speak to an operator immediately out of thirty such callers.\",\n \"Experience has shown that two in every ten components produced by a circuitboard company will be defective. A random sample of 100 components is inspected for defects, and D is the number of defectives in this sample.\"]\n", "name": "b", "templateType": "anything", "group": "Ungrouped variables"}, "pd": {"description": "", "definition": "\n[\"Y is the number of flights sold per hour by an online travel agency. This travel agency usually sells 10 flights per hour.\",\n \"X is the number of cars sold by a local garage in a month. This garage usually sells about 10 cars per month.\",\n \"The number of calls, Y, received at the British Passport Office in Durham occurs at the rate of 10 a minute.\",\n \"We are interested in X, the number of machine breakdowns in a day. Such breakdowns at a particular IT company occur at a rate of eight per week.\",\n \"X is the number of e-mails arriving in your inbox in a one hour period. On average you receive 3 e-mails per hour.\",\n \"On average, three patients arrive at a local Accident and Emergency department every hour. We count the number, X, of patients in an hour period.\",\n \"About five customers arrive at a fish shop queue every ten minutes during the lunch time rush. We count X, the number of customers arriving during the lunch time rush.\"]\n", "name": "pd", "templateType": "anything", "group": "Ungrouped variables"}, "ch3": {"description": "", "definition": "pd[p3]", "name": "ch3", "templateType": "anything", "group": "Ungrouped variables"}, "ch1": {"description": "", "definition": "b[p1]", "name": "ch1", "templateType": "anything", "group": "Ungrouped variables"}, "p2": {"description": "", "definition": "switch(t=0,random(0..abs(b)-1 except p1),random(0..abs(pd)-1 except p3))", "name": "p2", "templateType": "anything", "group": "Ungrouped variables"}}, "variablesTest": {"maxRuns": 100, "condition": ""}, "question_groups": [{"pickQuestions": 0, "pickingStrategy": "all-ordered", "name": "", "questions": []}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Josh Lim", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2990/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Josh Lim", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2990/"}]}