// Numbas version: exam_results_page_options {"name": "Clasifique las variables descritas como cuantitativas o cualitativas", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"rulesets": {}, "tags": [], "ungrouped_variables": ["quant1", "quant2", "qual2", "cind", "qual1", "m", "ch1", "ch2", "ch3", "quant", "ind", "ind1", "qual"], "variablesTest": {"condition": "", "maxRuns": 100}, "preamble": {"js": "", "css": ""}, "variable_groups": [], "parts": [{"unitTests": [], "showCorrectAnswer": true, "variableReplacements": [], "matrix": "m", "minAnswers": 0, "scripts": {}, "maxMarks": 0, "choices": ["{ch1}", "{ch2}", "{ch3}"], "shuffleChoices": true, "type": "m_n_x", "maxAnswers": 0, "displayType": "radiogroup", "shuffleAnswers": true, "minMarks": 0, "marks": 0, "variableReplacementStrategy": "originalfirst", "layout": {"type": "all", "expression": ""}, "showFeedbackIcon": true, "customMarkingAlgorithm": "", "warningType": "none", "extendBaseMarkingAlgorithm": true, "answers": ["Cualitativa", "Cuantitativa"]}], "statement": "

Determine si las siguientes variables son cualitativas o cuantitativas:

", "advice": "", "name": "Clasifique las variables descritas como cuantitativas o cualitativas", "variables": {"ch2": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "ch2", "definition": "switch(ind[1]=0,random(qual except ch1),random(quant except ch1))"}, "quant2": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "quant2", "definition": "[\"The number of people requiring a special in-flight meal\",\"The average volume of bottles of wine imported from South America\",\"Salaries of Newcastle University graduates six months after graduation\",\"The distance travelled by taxis for a particular cab firm every day\",\"Total annual sales for a large American departmental store\",\"The total cost of a student's text books for this semester\"]"}, "ch3": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "ch3", "definition": "switch(ind[2]=0,random(qual except [ch1,ch2]),random(quant except [ch1,ch2]))"}, "cind": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "cind", "definition": "-1*ind1"}, "quant1": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "quant1", "definition": "[\"The number of orders received by a catering company\",\"The height of students taking Statistics courses at Newcastle this year\", \"Your quarterly gas bill\", \"The time spent on hold at a credit call centre\",\"The average shipping time for orders placed with a TV shopping channel\",\"The annual electricity bill for a large UK Supermarket\"]"}, "quant": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "quant", "definition": "quant1+quant2"}, "qual2": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "qual2", "definition": "[\"Ice cream flavour preferred by children\",\"Brand of sportswear preferred by athletes\",\"Favourite type of film by UK cinema-goers\",\"Mobile phone price-plan\",\"Shape of swimming pools in local authority-run leisure centres\"]"}, "qual1": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "qual1", "definition": "[\"Types of PC used by small businesses in the north-east\",\"Marital status of questionnaire respondents\",\"Month of the year in which small shops record their highest sales\",\"Type of tenure for those in the licensed trade business\",\"Subjects studied at A level by students in this class\"]"}, "ind1": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "ind1", "definition": "2*vector(ind)-vector(1,1,1)"}, "ind": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "ind", "definition": "random([[0,0,0],[1,0,0],[0,1,0],[0,0,1],[0,1,1],[1,0,1],[1,1,0],[1,1,1]])"}, "qual": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "qual", "definition": "qual1+qual2"}, "m": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "m", "definition": "transpose(matrix(list(cind),list(ind1)))"}, "ch1": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "ch1", "definition": "switch(ind[0]=0,random(qual),random(quant))"}}, "functions": {}, "extensions": [], "metadata": {"description": "

Choosing whether given random variables are qualitative or quantitative.

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Javier Morales", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2213/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Javier Morales", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2213/"}]}