{"call_id":"call_24e89660","run_id":"20261015T171300Z-suite-closed_form-scripted-9fb914/closed_form.welfare_change.compression_e2/e1a1","step":"analysis","kind":"tool","name":"core.welfare_change","version":"0.1.0","code_version":"2925aeab2262","inputs":{"dataset":"grid","income_before":"income","income_after":"after","epsilon":2.0,"weights":"weight"},"input_digest":"722b072714d79d3cd399c4efff4ea2d9b15fc1b3f8cde386fd8d2fc74436110d","dataset_digests":{"grid":"cba146d4d573d4dd9ac181a186f50bb5234fea7744650e9eaa87bc9d043037e5"},"result":{"tool":"core.welfare_change","version":"0.1.0","call_id":"call_24e89660","status":"ok","reason":"","figures":[{"key":"welfare_change","value":97.22883343455419,"unit":"unit of after","label":"Change in equally-distributed-equivalent income at ε = 2, income to after","se":null,"ci_low":null,"ci_high":null,"ci_level":null,"derivation":{"steps":[{"text_pt":"A renda equivalente igualmente distribuída de income: a renda que, dada a todos, gera o mesmo bem-estar social (utilidade CRRA) que a distribuição.","formula":"EDE_antes = (Σw·y_antes^(1−ε) / Σw)^(1 / (1 − ε))","terms":[{"symbol":"Σw·y_antes^(1−ε)","value":0.0012557779397310417,"unit":"","note":""},{"symbol":"Σw","value":1.0,"unit":"pessoas","note":""},{"symbol":"ε","value":2.0,"unit":"","note":""}],"result":796.319132835043,"unit":"unit of after"},{"text_pt":"A renda equivalente igualmente distribuída de after: a renda que, dada a todos, gera o mesmo bem-estar social (utilidade CRRA) que a distribuição.","formula":"EDE_depois = (Σw·y_depois^(1−ε) / Σw)^(1 / (1 − ε))","terms":[{"symbol":"Σw·y_depois^(1−ε)","value":0.0011191341010766563,"unit":"","note":""},{"symbol":"Σw","value":1.0,"unit":"pessoas","note":""},{"symbol":"ε","value":2.0,"unit":"","note":""}],"result":893.5479662695972,"unit":"unit of after"},{"text_pt":"A variação do bem-estar social, em dinheiro, é a variação da renda equivalente igualmente distribuída.","formula":"ΔW = EDE_depois − EDE_antes","terms":[],"result":97.22883343455419,"unit":"unit of after"}],"note_pt":""}},{"key":"ede_before","value":796.319132835043,"unit":"unit of after","label":"Equally-distributed-equivalent income at ε = 2","se":null,"ci_low":null,"ci_high":null,"ci_level":null,"derivation":{"steps":[{"text_pt":"A renda equivalente igualmente distribuída de income: a renda que, dada a todos, gera o mesmo bem-estar social (utilidade CRRA) que a distribuição.","formula":"EDE_antes = (Σw·y_antes^(1−ε) / Σw)^(1 / (1 − ε))","terms":[{"symbol":"Σw·y_antes^(1−ε)","value":0.0012557779397310417,"unit":"","note":""},{"symbol":"Σw","value":1.0,"unit":"pessoas","note":""},{"symbol":"ε","value":2.0,"unit":"","note":""}],"result":796.319132835043,"unit":"unit of after"}],"note_pt":""}},{"key":"ede_after","value":893.5479662695972,"unit":"unit of after","label":"Equally-distributed-equivalent after at ε = 2","se":null,"ci_low":null,"ci_high":null,"ci_level":null,"derivation":{"steps":[{"text_pt":"A renda equivalente igualmente distribuída de after: a renda que, dada a todos, gera o mesmo bem-estar social (utilidade CRRA) que a distribuição.","formula":"EDE_depois = (Σw·y_depois^(1−ε) / Σw)^(1 / (1 − ε))","terms":[{"symbol":"Σw·y_depois^(1−ε)","value":0.0011191341010766563,"unit":"","note":""},{"symbol":"Σw","value":1.0,"unit":"pessoas","note":""},{"symbol":"ε","value":2.0,"unit":"","note":""}],"result":893.5479662695972,"unit":"unit of after"}],"note_pt":""}}],"diagnostics":[{"name":"n_obs","value":20000,"flag":false,"note":"rows used"},{"name":"weighted_population","value":1.0,"flag":false,"note":"Σw: the population the rows stand for"},{"name":"weights_used","value":true,"flag":false,"note":"weighted by 'weight'"},{"name":"epsilon","value":2.0,"flag":false,"note":"inequality aversion"}],"tables":{},"datasets":{},"warnings":[],"assumptions":[],"notes":""},"outputs":null,"output_digest":"98d9bd91e5d290ded6687d572c4e10b98d176fe16b7b85ac349ac0ba29bccb34","params_versions":[],"sources":[],"started_at":"2026-10-15T17:13:00.409768Z","duration_ms":6.078667007386684,"error":null,"decided_by":"code","rationale":"","cached":false,"informed_by":[],"model":null,"prompt":null,"response":null,"tokens_in":null,"tokens_out":null,"meta":{}}
