{"args":{},"checks":[{"abs_tol":null,"bind":"any","column":null,"failure_class":null,"field":"value","interval":false,"key":null,"kind":"answer_backed","min_lre":null,"note":"every number of the answer is stated by a tool call","open_interval":false,"rel_tol":null,"required":true,"source_id":null,"table":null,"tool":null,"value":null,"weight":1.0,"where":null},{"abs_tol":null,"bind":"answer_call","column":null,"failure_class":null,"field":"value","interval":true,"key":null,"kind":"answer_figure_close","min_lre":null,"note":"QRData eval.py: strictly inside gold \u00b1 3% (a '%' gold divided by 100), on the answer figure after meta.answer_format","open_interval":true,"rel_tol":null,"required":true,"source_id":"qrdata.gold.365","table":null,"tool":null,"value":[-7.580800000000001,-7.1392],"weight":1.0,"where":null}],"datasets":{"medicine_impact_recovery":{"columns":null,"description":"To investigate the effect of a medication on the number of days it takes for a patient to recover from an illness, we have a dataset that includes several confounding variables like severity, sex, and age. The dataset medicine_impact_recovery.csv contains data on patients who have been prescribed medication and those who haven't. The variables include sex (0 or 1), age, the severity of the condition, whether the patient was on medication (0 or 1), and the number of days it took for each patient to recover.","file_sha256":"3c3a97cca6fdd96f6856f7856b5f8bc786a31d1a9be78c9f610ef3070783e970","format":"csv","frame_sha256":null,"generator":null,"kind":"file","licence":"CC BY-NC 4.0","member":"data/medicine_impact_recovery.csv","object":null,"params":{},"path":null,"read_kw":{},"records":null,"role":"agent","sha256":"3c3a97cca6fdd96f6856f7856b5f8bc786a31d1a9be78c9f610ef3070783e970","transforms":[],"url":"https://raw.githubusercontent.com/xxxiaol/QRData/de450af45ff7101b328bb064c6b475f73414a7ed/benchmark/data.zip"}},"difficulty":"M","id":"qrdata_socsci.365","level":"T2","meta":{"agent_reach":{"blocked_by":["no_reference_path","no_tool:matching"],"dtypes":{"medicine_impact_recovery":{"medication":"int64","recovery":"int64"}},"named":{"outcome":["recovery"],"treatment":["medication"]},"reachable":false,"rule":"magi_bench.reach/1"},"answer_format":{"figure_transform":"identity","round_to":2,"unit_scale":1.0},"answer_format_from":{"figure_transform":null,"round_to":"two decimal places","unit_scale":"1.0: an estimator's figure is on the gold's own scale"},"cluster":"medicine_impact_recovery.csv","family":"numerical","headline_keys":{},"naive":{"dataset":"medicine_impact_recovery","treatment":"medication","y":"recovery"},"native":{"answer":"-7.36","keywords":["Causality","Observational data","Matching","Average treatment effect"],"multiple_choices":null,"question_type":"numerical","reference":"Causal Inference for the Brave and True 10"},"native_id":365,"reference":{"cite":1,"note":"Sem caminho de refer\u00eancia com as ferramentas registradas: no_tool:matching. A resposta n\u00e3o cita estimativa de efeito.","steps":[{"args":{"dataset":"medicine_impact_recovery"},"tool":"data.describe","why":"Sem caminho de refer\u00eancia com as ferramentas registradas: no_tool:matching."}]},"reference_path":{"calls":[],"needs":["no_tool:matching"],"provenance":"none","quotes":{},"reference_datasets":[],"source_id":null},"reference_why":null},"question":"What is the average treatment effect of the medication on the recovery time when controlling for severity, sex, and age using the K nearest neighbour matching? Please scale the features, use the euclidean norm as the matching measurement, and also adjust for the matching bias. Provide your answer rounded to two decimal places. The answer should be positive if the mediation makes the recovery time longer.","requires":[],"runner":null,"sources":["qrdata.gold.365","qrdata.eval_py"],"split":"public","suite":"qrdata_socsci","tags":["econ-bench","external","qrdata","brave_and_true","numerical","no_reference_path","naive"],"target":"agent","tool":null,"truth":"QRData gold: benchmark/QRData.json item 365 at de450af45ff7101b328bb064c6b475f73414a7ed"}