{"call_id":"call_63b8fcda","run_id":"20261015T171414Z-suite-official-scripted-391f79/official.sis2024.poverty_2023/e1a1","step":"analysis","kind":"tool","name":"core.fgt","version":"0.1.0","code_version":"2925aeab2262","inputs":{"dataset":"pessoas","income":"renda_pc","line":665.0,"alpha":0,"weights":"peso"},"input_digest":"4a0aabde3d80979a2c81869f3a922772e9c1e574505fa0daaaa7077703e1cf71","dataset_digests":{"pessoas":"ed7a2245fbbdb39402c432c84143be664c5247971620ccba7fe42bd9deb7d2f8"},"result":{"tool":"core.fgt","version":"0.1.0","call_id":"call_63b8fcda","status":"ok","reason":"","figures":[{"key":"headcount","value":0.27577278267553385,"unit":"share","label":"Poverty headcount ratio: share of people below the line (renda_pc, weighted by peso)","se":null,"ci_low":null,"ci_high":null,"ci_level":null,"derivation":{"steps":[{"text_pt":"Somam-se, com os pesos, as pessoas cuja renda fica abaixo da linha z, e divide-se pela população ponderada.","formula":"P0 = Σw·1[y<z] / Σw","terms":[{"symbol":"Σw·1[y<z]","value":58165431.03609345,"unit":"pessoas","note":"população ponderada abaixo da linha"},{"symbol":"Σw","value":210917953.8015874,"unit":"pessoas","note":"população ponderada"},{"symbol":"z","value":665.0,"unit":"","note":"linha de pobreza"}],"result":0.27577278267553385,"unit":"parcela"}],"note_pt":""}}],"diagnostics":[{"name":"n_obs","value":382937,"flag":false,"note":"rows used"},{"name":"weighted_population","value":210917953.8015874,"flag":false,"note":"Σw: the population the rows stand for"},{"name":"weights_used","value":true,"flag":false,"note":"weighted by 'peso'"},{"name":"line","value":665.0,"flag":false,"note":"poverty line, in the income column's unit"},{"name":"n_poor","value":121128,"flag":false,"note":"rows below the line"},{"name":"weighted_poor","value":58165431.03609345,"flag":false,"note":"Σw·1[y<z]: people below the line when the weights expand to the population"},{"name":"n_zero_income","value":4879,"flag":false,"note":"rows with income exactly 0"}],"tables":{},"datasets":{},"warnings":[],"assumptions":["a person is poor when income is strictly below the line (y < z)"],"notes":""},"outputs":null,"output_digest":"1ef424380a3ffd5248e2147b4233aef017976290fc35b73bf377b95f646daf27","params_versions":[],"sources":[],"started_at":"2026-10-15T17:14:14.803864Z","duration_ms":94.65774986892939,"error":null,"decided_by":"code","rationale":"","cached":false,"informed_by":[],"model":null,"prompt":null,"response":null,"tokens_in":null,"tokens_out":null,"meta":{}}
