Tarefa paper_repro.angrist_evans_1998.tab7_c5_weeks.agent
paper_reproagentT2publicépoca 1, tentativa 1Execução: 20261015T165744Z-suite-paper_repro-scripted-def9dfVeredito
Família do método (das chamadas de ferramentas): iv (two-stage least squares)
Pergunta feita ao analista
Angrist and Evans (1998), 'Children and Their Parents' Labor Supply', Table 7, column (5): in the 1980 Census sample of married women aged 21-35 with two or more children, estimate by two-stage least squares the effect of having more than 2 children on the mother's weeks worked in 1979, using as the instrument the indicator that the first two children are of the same sex. Include as covariates the mother's age and indicators for a first-born boy, a second-born boy, and Black, Hispanic and other race; the paper also includes the age at first birth, which this file does not have. Report the coefficient on having more than 2 children.
Estimativa (infer.iv_2sls): coef.morekids = -5,746.
Valores esperados e de onde vêm
angrist_evans_1998.tab7_c5_weeks.software
- Fonte
- linearmodels 7.0: the reference specification of angrist_evans_1998 tab7_c5_weeks (infer.iv_2sls, figure 'coef.morekids') on an independent code path
- Tipo
- software
- Localização
- angrist_evans_1998: Table 7 (OLS and 2SLS estimates of labor-supply models using 1980 Census data), column (5) married women, 2SLS with Same sex as the instrument, row 'Weeks worked'
- Valor
- -5,74641
-5.746409761252153(se 1,237251.2372527665238475) - Conferido por
- execução de software · IV2SLS(dependent=weeksm1, exog=[const, agem1, boy1st, boy2nd, blackm, hispm, othracem], endog=['morekids'], instruments=['samesex']).fit(cov_type='unadjusted', debiased=True) on fertility (the file pinned at sha256 ca9be592b79dddbc2f49ff80f45d0dbe31aac4afb57ff88dec57376c3f3e3452, after its 10 declared transforms); n_obs = 254654. The tool infer.iv_2sls (magi_infer, numpy) does not call linearmodels. Written by scripts/paper_repro_reference.py.
- Implementação
- independente da ferramenta
- Endereço
https://pypi.org/project/linearmodels/7.0/
- #8 figura da resposta próxima: -5,74641
-5.746409761252153· relativa 0.000001 · absoluta 0.0000012372527665238475 - #9 figura da resposta próxima: 1,23725
1.2372527665238475· relativa 0.000001 · absoluta 0.0000012372527665238475
angrist_evans_1998.tab7_c5_weeks.paper
- Fonte
- Angrist, J. D. and Evans, W. N. (1998). Children and Their Parents' Labor Supply: Evidence from Exogenous Variation in Family Size. American Economic Review 88(3): 450-477.
- Tipo
- paper
- Localização
- Table 7 (OLS and 2SLS estimates of labor-supply models using 1980 Census data), column (5) married women, 2SLS with Same sex as the instrument, row 'Weeks worked'
- Página
- 465
- Trecho
Weeks worked −5.40 (1.20)
- Valor como publicado
−5.40- Erro-padrão como publicado
1.20- Valor
- -5,4
-5.4(se 1,21.2) weeks worked in 1979 - Conferido por
- fonte primária · Read on 2026-10-15 from the JSTOR copy of the AER article (course copy read through the Internet Archive: https://web.archive.org/web/2023id_/https://www.fsb.miamioh.edu/lij14/411_paper_iv_labor.pdf), from the rendered page image of Table 7 (printed page 465): married women, column (5), 2SLS with Same sex as the instrument, Weeks worked. Notes: other covariates are Age, Age at first birth, Boy 1st, Boy 2nd, Black, Hispanic and Other race. No Wald estimate for married women is printed: Table 5's Wald estimates use the all-women sample (its first stage is Table 6 column (1), not column (4)), which the Fertility file does not hold, so Table 7's 2SLS cell is the married-women weeks-worked target.
- sha256 da cópia lida
156590dc0af119e6fc00109c19dc261eacc7f30cff27f3ecb6fb8a42fa9d4ed7(identifica a cópia lida, não um arquivo canônico)- Desvio conhecido
- versão dos dadosSet from the data's provenance before any tool or reference run: Table 7's covariates include the mother's age at first birth, which the AER package's Fertility extract does not carry (its columns are morekids, gender1, gender2, age, afam, hispanic, other and work), so the reference specification omits it and the printed cell is not expected to be reproduced.
- Endereço
https://www.jstor.org/stable/116844- Licença
- Copyright of the publisher; cited, not reproduced.
- #10 figura da resposta próxima: -5,4
-5.4· published_cell d=2 · absoluta 0.0050000054 - #11 figura da resposta próxima: 1,2
1.2· published_cell d=2 (the SE as printed) · absoluta 0.0050000012000000005
Verificações
| # | Verificação | Obrigatória | Resultado | Esperado | Observado | Tolerância | Fonte | Chamada |
|---|---|---|---|---|---|---|---|---|
| 0 | resposta com lastro every number backed | obrigatória | passou | — | [] | — | — | — |
| 1 | figura da resposta escolhida answer figure call_b0f4b4b2:coef.morekids (infer.iv_2sls) | obrigatória | passou | — | "call_b0f4b4b2:coef.morekids" | — | — | call_b0f4b4b2 |
| 2 | ferramenta chamada answer call is infer.iv_2sls | obrigatória | passou | — | "infer.iv_2sls" | — | — | call_b0f4b4b2 |
| 3 | argumento igual infer.iv_2sls.y = 'weeksm1' | obrigatória | passou | "weeksm1" | "weeksm1" | — | — | call_b0f4b4b2 |
| 4 | argumento igual infer.iv_2sls.endog = ['morekids'] | obrigatória | passou | ["morekids"] | ["morekids"] | — | — | call_b0f4b4b2 |
| 5 | argumento igual infer.iv_2sls.instruments = ['samesex'] | obrigatória | passou | ["samesex"] | ["samesex"] | — | — | call_b0f4b4b2 |
| 6 | argumento igual infer.iv_2sls.exog = ['agem1', 'boy1st', 'boy2nd', 'blackm', 'hispm', 'othracem'] | obrigatória | passou | ["agem1","boy1st","boy2nd","blackm","hispm","othracem"] | ["agem1","boy1st","boy2nd","blackm","hispm","othracem"] | — | — | call_b0f4b4b2 |
| 7 | diagnóstico 254654 vs 254654 | obrigatória | passou | 254.654254654 | 254.654254654 | default rel 1e-6 (abs floor 1e-6) | — | call_b0f4b4b2 |
| 8 | figura da resposta próxima -5.746409761 vs -5.746409761252153 | obrigatória | passou | -5,74641-5.746409761252153 | -5,74641-5.746409761250555 | relativa 0.000001 · absoluta 0.0000012372527665238475 | angrist_evans_1998.tab7_c5_weeks.software | call_b0f4b4b2 |
| 9 | figura da resposta próxima 1.237252767 vs 1.2372527665238475 | registrada | passou | 1,237251.2372527665238475 | 1,237251.2372527665239512 | relativa 0.000001 · absoluta 0.0000012372527665238475 | angrist_evans_1998.tab7_c5_weeks.software | call_b0f4b4b2 |
| 10 | figura da resposta próxima -5.746409761 vs -5.4 | registrada | falhou | -5,4-5.4 | -5,74641-5.746409761250555 | published_cell d=2 · absoluta 0.0050000054 | angrist_evans_1998.tab7_c5_weeks.paper | call_b0f4b4b2 |
| 11 | figura da resposta próxima 1.237252767 vs 1.2 | registrada | falhou | 1,21.2 | 1,237251.2372527665239512 | published_cell d=2 (the SE as printed) · absoluta 0.0050000012000000005 | angrist_evans_1998.tab7_c5_weeks.paper | call_b0f4b4b2 |
Caminho de referência e caminho do agente
A chamada de referência ao lado da chamada que deu a resposta, argumento por argumento.
a tarefa T1 do mesmo alvo (paper_repro.angrist_evans_1998.tab7_c5_weeks.tool)
| Argumento | Referência | Agente | |
|---|---|---|---|
| cluster | — | — | não fixado pela referência |
| dataset | "fertility" | "fertility" | igual |
| endog | ["morekids"] | ["morekids"] | igual |
| exog | ["agem1","boy1st","boy2nd","blackm","hispm","othracem"] | ["agem1","boy1st","boy2nd","blackm","hispm","othracem"] | igual |
| instruments | ["samesex"] | ["samesex"] | igual |
| level | — | 0,950.95 | não fixado pela referência |
| se | "classical" | "classical" | igual |
| subset | — | — | não fixado pela referência |
| y | "weeksm1" | "weeksm1" | igual |
Trajetória
Cada evento na ordem em que aconteceu: turnos do modelo, chamadas de ferramentas, guardas, transformações e pontuação.
- 0Início
Angrist and Evans (1998), 'Children and Their Parents' Labor Supply', Table 7, column (5): in the 1980 Census sample of married women aged 21-35 with two or more children, estimate by two-stage least squares the effect of having more than 2 children on the mother's weeks worked in 1979, using as the instrument the indicator that the first two children are of the same sex. Include as covariates the mother's age and indicators for a first-born boy, a second-born boy, and Black, Hispanic and other race; the paper also includes the age at first birth, which this file does not have. Report the coefficient on having more than 2 children.
fertility(agent)The 1980 Census sample of Angrist and Evans (1998), 'Children and Their Parents' Labor Supply', as distributed in the R package AER (data set Fertility, served by Rdatasets): married women aged 21-35 with two or more children, one row per woman (254,654 rows). Columns: gender1 and gender2, the sex of the first and the second child ('male' or 'female'); boy1st and boy2nd, 1 if the first (second) child is a boy; samesex, 1 if the first two children are of the same sex (two boys or two girls); morekids, 1 if the mother has more than 2 children; agem1, the mother's age in years; blackm, hispm and othracem, 1 if the mother is Black, Hispanic, or of another race (white is the reference); weeksm1, the number of weeks the mother worked in 1979. The file has no age at first birth.
fileca9be592b79dddbc2f49ff80f45d0dbe31aac4afb57ff88dec57376c3f3e3452· frame —derive{"args":{"column":"morekids","default":null,"keep_unmapped":false,"mapping":[{"source":"yes","target":1},{"source":"no","target":0}]},"name":"morekids","op":"map"}derive{"args":{"column":"afam","default":null,"keep_unmapped":false,"mapping":[{"source":"yes","target":1},{"source":"no","target":0}]},"name":"blackm","op":"map"}derive{"args":{"column":"hispanic","default":null,"keep_unmapped":false,"mapping":[{"source":"yes","target":1},{"source":"no","target":0}]},"name":"hispm","op":"map"}derive{"args":{"column":"other","default":null,"keep_unmapped":false,"mapping":[{"source":"yes","target":1},{"source":"no","target":0}]},"name":"othracem","op":"map"}derive{"args":{"column":"gender1","default":null,"keep_unmapped":false,"mapping":[{"source":"male","target":1},{"source":"female","target":0}]},"name":"boy1st","op":"map"}derive{"args":{"column":"gender2","default":null,"keep_unmapped":false,"mapping":[{"source":"male","target":1},{"source":"female","target":0}]},"name":"boy2nd","op":"map"}derive{"args":{"left":"boy1st","right":"boy2nd"},"name":"sex_gap","op":"diff"}derive{"args":{"cmp":"eq","column":"sex_gap","value":0},"name":"samesex","op":"indicator"}rename{"map":{"age":"agem1","work":"weeksm1"}}select{"columns":["gender1","gender2","boy1st","boy2nd","samesex","morekids","agem1","blackm","hispm","othracem","weeksm1"]}
- 1Transformação
fertility·derive{"args":{"column":"morekids","default":null,"keep_unmapped":false,"mapping":[{"source":"yes","target":1},{"source":"no","target":0}]},"name":"morekids","op":"map"}254654 → 254654 linhasFrame antes → depois:14e3e85c163d→5a972366e3e8 - 2Transformação
fertility·derive{"args":{"column":"afam","default":null,"keep_unmapped":false,"mapping":[{"source":"yes","target":1},{"source":"no","target":0}]},"name":"blackm","op":"map"}254654 → 254654 linhasFrame antes → depois:5a972366e3e8→18ccebde6b6d - 3Transformação
fertility·derive{"args":{"column":"hispanic","default":null,"keep_unmapped":false,"mapping":[{"source":"yes","target":1},{"source":"no","target":0}]},"name":"hispm","op":"map"}254654 → 254654 linhasFrame antes → depois:18ccebde6b6d→904f43a67031 - 4Transformação
fertility·derive{"args":{"column":"other","default":null,"keep_unmapped":false,"mapping":[{"source":"yes","target":1},{"source":"no","target":0}]},"name":"othracem","op":"map"}254654 → 254654 linhasFrame antes → depois:904f43a67031→8aaea27cf87b - 5Transformação
fertility·derive{"args":{"column":"gender1","default":null,"keep_unmapped":false,"mapping":[{"source":"male","target":1},{"source":"female","target":0}]},"name":"boy1st","op":"map"}254654 → 254654 linhasFrame antes → depois:8aaea27cf87b→666ccf9c0cdf - 6Transformação
fertility·derive{"args":{"column":"gender2","default":null,"keep_unmapped":false,"mapping":[{"source":"male","target":1},{"source":"female","target":0}]},"name":"boy2nd","op":"map"}254654 → 254654 linhasFrame antes → depois:666ccf9c0cdf→b2ccbd1a7c9a - 7Transformação
fertility·derive{"args":{"left":"boy1st","right":"boy2nd"},"name":"sex_gap","op":"diff"}254654 → 254654 linhasFrame antes → depois:b2ccbd1a7c9a→b25bee20ec5a - 8Transformação
fertility·derive{"args":{"cmp":"eq","column":"sex_gap","value":0},"name":"samesex","op":"indicator"}254654 → 254654 linhasFrame antes → depois:b25bee20ec5a→935084af856b - 9Transformação
fertility·rename{"map":{"age":"agem1","work":"weeksm1"}}254654 → 254654 linhasFrame antes → depois:935084af856b→ccc82e5f5788 - 10Transformação
fertility·select{"columns":["gender1","gender2","boy1st","boy2nd","samesex","morekids","agem1","blackm","hispm","othracem","weeksm1"]}254654 → 254654 linhasFrame antes → depois:ccc82e5f5788→c7a28c42496c - 11Turno do modelo
call_17cf55abreferenceFim:tool_use0 ms0 de entrada · 0 de saída · 0 de raciocínio · 0 em cacheTexto visívelTable 7, column (5): 2SLS of the mother's weeks worked on having more than 2 children, instrumented by the same-sex indicator, with age, boy first, boy second and race indicators (the file has no age at first birth).
Chamadas pedidasinfer.iv_2sls{ "dataset": "fertility", "endog": [ "morekids" ], "exog": [ "agem1", "boy1st", "boy2nd", "blackm", "hispm", "othracem" ], "instruments": [ "samesex" ], "se": "classical", "y": "weeksm1" }
- 12Ferramenta
infer.iv_2slsv0.1.0call_b0f4b4b2decidido pelo modeloreexecutávelMotivo: Table 7, column (5): 2SLS of the mother's weeks worked on having more than 2 children, instrumented by the same-sex indicator, with age, boy first, boy second and race indicators (the file has no age at first birth).
Argumentos
{ "cluster": null, "dataset": "fertility", "endog": [ "morekids" ], "exog": [ "agem1", "boy1st", "boy2nd", "blackm", "hispm", "othracem" ], "instruments": [ "samesex" ], "level": 0.95, "se": "classical", "subset": null, "y": "weeksm1" }Figuras call_b0f4b4b2 Chave Valor Valor bruto Erro-padrão IC coef.morekids 2SLS effect of morekids on weeksm1-5,74641 -5.7464097612505551,23725 1.2372527665239512-8,17139 – -3,32143 Diagnósticosfirst_stage_F.morekids= 1.298,941298.942196093575partial_r2.morekids= 0,005075080.0050750844496005865weak_instrument=falsen_obs= 254.654254654se_type="classical"n_clusters= —
Tabelas (3)
{ "coefficients": [ { "ci_high": -3.894651510371974, "ci_low": -5.491977005383414, "coef": -4.693314257877694, "p": 1.0932058054319445e-30, "se": 0.4074865444776059, "t": -11.51771591352662, "term": "Intercept" }, { "ci_high": 0.875148243667443, "ci_low": 0.7858626101564906, "coef": 0.8305054269119668, "p": 2.5050309446894502e-290, "se": 0.02277725759996795, "t": 36.462046550904155, "term": "agem1" }, { "ci_high": 0.15518801551433226, "ci_low": -0.18002344638465373, "coef": -0.012417715435160728, "p": 0.8845434780405558, "se": 0.08551429292595505, "t": -0.14521216290606478, "term": "boy1st" }, { "ci_high": -0.00032404877909639196, "ci_low": -0.3349607069276821, "coef": -0.16764237785338926, "p": 0.04955794736073631, "se": 0.08536765731866344, "t": -1.9637692203220218, "term": "boy2nd" }, { "ci_high": 12.062028946268919, "ci_low": 11.166822394341962, "coef": 11.61442567030544, "p": 0, "se": 0.2283721292733859, "t": 50.85745667502941, "term": "blackm" }, { "ci_high": 0.8986363842058386, "ci_low": -0.11579272307197519, "coef": 0.3914218305669317, "p": 0.13040077454447038, "se": 0.258786460764015, "t": 1.512528242054617, "term": "hispm" }, { "ci_high": 2.5330211340198474, "ci_low": 1.7261705227176998, "coef": 2.1295958283687737, "p": 4.40078106016244e-25, "se": 0.2058320414567736, "t": 10.346279487375176, "term": "othracem" }, { "ci_high": -3.321427372843427, "ci_low": -8.171392149657683, "coef": -5.746409761250555, "p": 0.0000034108531610220233, "se": 1.2372527665239512, "t": -4.64449134140555, "term": "morekids" } ], "first_stage": [ { "ci_high": 0.0722833255575446, "ci_low": 0.06482699115994814, "coef": 0.06855515835874637, "endog": "morekids", "instrument": "samesex", "p": 1.0026728179589989e-283, "se": 0.0019021520332800665, "t": 36.040840668519024 } ], "reduced_form": [ { "ci_high": -0.2260938175644005, "ci_low": -0.5617982447890114, "coef": -0.39394603117670596, "instrument": "samesex", "p": 0.000004226513983905047, "se": 0.08564005109967326, "t": -4.600020972876427 } ] }- Digests dos dados
fertilityc7a28c42496c51fa4ea223123cad6242aaa393634242d66e383c351dd0f471ef- sha256 do resultado
85979bffd55ae499705f92ec835a5c8aaaf7185c732032e32c6ed9d9186719d8
- 13Turno do modelo
call_8f9f3140referenceFim:tool_use0 ms0 de entrada · 0 de saída · 0 de raciocínio · 0 em cacheChamadas pedidassubmit_answer(meta-ferramenta){ "answer": "Estimativa (infer.iv_2sls): coef.morekids = -5,746.", "caveats": [], "figure_refs": [ "call_b0f4b4b2:coef.morekids" ] }
- 14Guardaresposta aceita
- Números encontrados
- -5,746
- Sem lastro
- —
- Não citados
- —
1 nova(s) tentativa(s) restante(s) - 15Resposta
Estimativa (infer.iv_2sls): coef.morekids = -5,746.
Figuras citadas:call_b0f4b4b2:coef.morekids· Parada:answeredFigura da resposta:call_b0f4b4b2:coef.morekids= -5,74641-5.746409761250555(se 1,237251.2372527665239512) - 16Pontuação#0resposta com lastropassouobrigatória
every number backed - 17Pontuação#1figura da resposta escolhidapassouobrigatória
answer figure call_b0f4b4b2:coef.morekids (infer.iv_2sls) - 18Pontuação#2ferramenta chamadapassouobrigatória
answer call is infer.iv_2sls - 19Pontuação#3argumento igualpassouobrigatória
infer.iv_2sls.y = 'weeksm1' - 20Pontuação#4argumento igualpassouobrigatória
infer.iv_2sls.endog = ['morekids'] - 21Pontuação#5argumento igualpassouobrigatória
infer.iv_2sls.instruments = ['samesex'] - 22Pontuação#6argumento igualpassouobrigatória
infer.iv_2sls.exog = ['agem1', 'boy1st', 'boy2nd', 'blackm', 'hispm', 'othracem'] - 23Pontuação#7diagnósticopassouobrigatória
254654 vs 254654 - 24Pontuação#8figura da resposta próximapassouobrigatória
-5.746409761 vs -5.746409761252153 - 25Pontuação#9figura da resposta próximapassouregistrada
1.237252767 vs 1.2372527665238475 - 26Pontuação#10figura da resposta próximafalhouregistrada
-5.746409761 vs -5.4 - 27Pontuação#11figura da resposta próximafalhouregistrada
1.237252767 vs 1.2
Épocas × verificações
| # | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Época 1 | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou | falhou | falhou |
Tentativas
Cada tentativa é seu próprio arquivo e é publicada; só a última de cada época é pontuada.
- época 1, tentativa 1passoupontuada(exibindo)
Downloads desta tarefa
379bbe71dfb32ef6b25a646e322c1572aa174fc589d7a4e74d3c92be073ee3b9O hash de um zip é só de transporte: o que ancora a integridade é o RUN_SHA256SUMS que vai dentro dele, cópia exata do SHA256SUMS da execução.