Tarefa paper_repro.mroz_1987.ex15_1.design
paper_reproagentT3designépoca 1, tentativa 1Execução: 20261015T165744Z-suite-paper_repro-scripted-def9dfVeredito
Família do método (das chamadas de ferramentas): Variáveis instrumentais por mínimos quadrados em dois estágios (MQ2E) · infer.iv_2sls (iv · mínimos quadrados em dois estágios)
coef.educ =0,05917350.05917347999936612coef.educ =0,05917350.05917347999936595Pergunta feita ao analista
What is the return to a year of education for married women who work? Using Mroz's sample of married women in 1975, estimate the causal effect of a year of schooling on the log hourly wage of the women who worked, using a source of variation in schooling that is not driven by the woman's own ability.
Estimativa (infer.iv_2sls): coef.educ = 0,05917.
Como o agente resolveu e como foi validado
Resumo passo a passo do que o agente executou, por que o caminho está correto e como cada verificação conferiu o resultado.
- 1Preparação da base de dados
mroz— Wooldridge's MROZ data set (the R package wooldridge, served by Rdatasets): Mroz's (1987) sample of married women from the Panel Study of Income Dynamics, for 1975; one row per woman (753 rows). Columns used here: inlf, 1 if the woman was in the labour force in 1975; lwage, log hourly wage (missing for women who did not work); wage, hourly wage; educ, years of schooling; exper, years of labour-market experience; expersq, exper squared; fatheduc, father's years of schooling; motheduc, mother's years of schooling; also hours, kidslt6, kidsge6, age, repwage, hushrs, husage, huseduc, huswage, faminc, mtr, unem, city, nwifeinc and rownames. - 2Chamada que gerou a resposta finalVer chamada call_37683c97 nos detalhes
infer.iv_2sls(Variáveis instrumentais por mínimos quadrados em dois estágios (MQ2E))citada na respostacoincide com a referênciaExample 15.1, equation (15.17): simple IV regression of the log wage on education, with father's education as the instrument, for the working women.
Por que este é o caminho de referência: Example 15.1, equation (15.17): simple IV regression of the log wage on education, with father's education as the instrument, for the working women.Argumentos principais- dataset:
"mroz"- endog:
["educ"]- instruments:
["fatheduc"]- level:
- 0,95
0.95 - se:
"classical"- subset:
"inlf == 1"- y:
"lwage"
Resultado calculadocoef.educ= 0,05917350.059173479999366122SLS effect of educ on lwage
Diagnósticos:first_stage_F.educ= 88,840888.84076437074765(Wald F of the excluded instruments in the first stage for educ (classical (homoskedastic) standard errors)) ·partial_r2.educ= 0,172560.17255969324676745(share of the variation the instruments explain beyond the controls) ·weak_instrument=false(every first-stage F is at least 10) ·n_obs= 428428·se_type="classical"(classical (homoskedastic) standard errors) - 3Conferência de lastro e resposta final
Todos os 1 números escritos na resposta foram conferidos contra as ferramentas e o enunciado (nenhum número sem lastro).
Números encontrados:0,05917Figuras citadas:call_37683c97:coef.educ- #0resposta com lastroGarante que todo número citado no texto veio de uma ferramenta ou do enunciado (sem cálculo mental do modelo).
- #1figura da resposta escolhidaan answer figure: the effect of an estimator call the answer cites
- #2ferramenta chamada
infer.iv_2slsExige que o resultado venha da ferramenta infer.iv_2sls. - #3argumento igual
yT3: the outcome the design question implies - #4argumento igual
endog[0]T3: the treatment the design question implies - #5argumento igual
youtcome: log hourly wage (T3: recorded; a design question cannot state it) - #6argumento igual
endogthe endogenous regressor: years of schooling (T3: recorded; a design question cannot state it) - #7argumento igual
instrumentsthe instrument: father's schooling (T3: recorded; a design question cannot state it) - #8argumento igual
exoga simple regression: no other regressors (T3: recorded; a design question cannot state it) - #9diagnóstico
n_obs(T3: recorded; a design question cannot state it) - #10figura da resposta próximasoftware reference (T3: recorded; T3 pontua o desenho; a estimativa é registrada)
- #11figura da resposta próximasoftware reference, SE: recorded (T3)
- #12figura da resposta próximapublished cell: recorded, never required on T2/T3
- #13figura da resposta próximapublished cell, SE: recorded, never required on T2/T3
Aprofundamento técnico para especialistas
Acesso direto às fontes primárias, tabela formal de verificações, comparação de argumentos, trajetória completa com prompts brutos e somas SHA-256.
Valores esperados e de onde vêm
mroz_1987.ex15_1.software
- Fonte
- linearmodels 7.0: the reference specification of mroz_1987 ex15_1 (infer.iv_2sls, figure 'coef.educ') on an independent code path
- Tipo
- software
- Localização
- mroz_1987: Wooldridge (2020), Example 15.1 'Estimating the Return to Education for Married Women', equation (15.17), coefficient on educ
- Valor
- 0,0591735
0.05917347999936595(se 0,03514180.03514177397008675) - Conferido por
- execução de software · IV2SLS(dependent=lwage, exog=[const], endog=['educ'], instruments=['fatheduc']).fit(cov_type='unadjusted', debiased=True) on mroz (the file pinned at sha256 bcfc04b6a87746b185ed972f1149c459cc1af5a6ff44443ce5dd004eb8204a78, rows where inlf == 1); n_obs = 428. 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/
- #10 figura da resposta próxima: 0,0591735
0.05917347999936595· relativa 0.000001 · absoluta 3.5141773970086746e-8 - #11 figura da resposta próxima: 0,0351418
0.03514177397008675· relativa 0.000001 · absoluta 3.5141773970086746e-8
mroz_1987.ex15_1.paper
- Fonte
- Wooldridge, J. M. (2020). Introductory Econometrics: A Modern Approach, 7th edition. Boston: Cengage. Examples 15.1 and 15.5 (Mroz 1987, 'The Sensitivity of an Empirical Model of Married Women's Hours of Work', data set MROZ).
- Tipo
- textbook
- Localização
- Wooldridge (2020), Example 15.1 'Estimating the Return to Education for Married Women', equation (15.17), coefficient on educ
- Página
- 501
- Trecho
log(wage) = .441 + .059 educ (.446) (.035) n = 428
- Valor como publicado
.059- Erro-padrão como publicado
.035- Valor
- 0,059
0.059(se 0,0350.035) log points of the hourly wage per year of schooling - Conferido por
- fonte primária · Read on 2026-10-15 from a copy of Chapter 15 of the 7th edition (Cengage, 2020) posted on a course page at huhuaping.com (64-page PDF of Chapters 15-16), with pdftotext and from the rendered page image. Example 15.1, equation (15.17), printed page 501: .059 educ (.035), n = 428, R-squared .093. Data fact checked: MROZ has 753 rows, 428 with inlf == 1, and lwage is observed for exactly those 428.
- sha256 da cópia lida
d4e2e31096d1e3ef19d9aa7f3d8d29a5dc11da66ecd8360ff195a462651d85df(identifica a cópia lida, não um arquivo canônico)- Endereço
https://www.cengage.com/c/introductory-econometrics-a-modern-approach-7e-wooldridge/9781337558860/- Licença
- Copyright Cengage; cited, not reproduced.
- #12 figura da resposta próxima: 0,059
0.059· published_cell d=3 · absoluta 0.000500001 - #13 figura da resposta próxima: 0,035
0.035· published_cell d=3 (the SE as printed) · absoluta 0.000500001
Especificação técnica do gabarito
Wooldridge, J. M. (2020). Introductory Econometrics: A Modern Approach, 7th edition. Boston: Cengage. Examples 15.1 and 15.5 (Mroz 1987, 'The Sensitivity of an Empirical Model of Married Women's Hours of Work', data set MROZ). Examples 15.1 and 15.5 are long-standing examples of the book (earlier editions not read), so 'published' (the edition read) understates how long the cells have been public. Wooldridge (2020), Example 15.1 'Estimating the Return to Education for Married Women', equation (15.17), coefficient on educ (source mroz_1987.ex15_1.paper); software reference mroz_1987.ex15_1.software: linearmodels 7.0: the reference specification of mroz_1987 ex15_1 (infer.iv_2sls, figure 'coef.educ') on an independent code path
Verificações
| # | Verificação | Obrigatória | Resultado | Esperado | Observado | Tolerância | Fonte | Chamada |
|---|---|---|---|---|---|---|---|---|
| 0 | resposta com lastro Garante que todo número citado no texto veio de uma ferramenta ou do enunciado (sem cálculo mental do modelo). every number backed | obrigatória | passou | 0 sem lastro | 0 sem lastro[] | — | — | — |
| 1 | figura da resposta escolhida an answer figure: the effect of an estimator call the answer cites answer figure call_37683c97:coef.educ (infer.iv_2sls) | obrigatória | passou | — | "call_37683c97:coef.educ" | — | — | call_37683c97 |
| 2 | ferramenta chamada infer.iv_2slsExige que o resultado venha da ferramenta infer.iv_2sls. answer call is infer.iv_2sls | obrigatória | passou | "infer.iv_2sls" | "infer.iv_2sls" | — | — | call_37683c97 |
| 3 | argumento igual yT3: the outcome the design question implies infer.iv_2sls.y = 'lwage' | obrigatória | passou | "lwage" | "lwage" | — | — | call_37683c97 |
| 4 | argumento igual endog[0]T3: the treatment the design question implies infer.iv_2sls.endog[0] = 'educ' | obrigatória | passou | "educ" | "educ" | — | — | call_37683c97 |
| 5 | argumento igual youtcome: log hourly wage (T3: recorded; a design question cannot state it) infer.iv_2sls.y = 'lwage' | registrada | passou | "lwage" | "lwage" | — | — | call_37683c97 |
| 6 | argumento igual endogthe endogenous regressor: years of schooling (T3: recorded; a design question cannot state it) infer.iv_2sls.endog = ['educ'] | registrada | passou | ["educ"] | ["educ"] | — | — | call_37683c97 |
| 7 | argumento igual instrumentsthe instrument: father's schooling (T3: recorded; a design question cannot state it) infer.iv_2sls.instruments = ['fatheduc'] | registrada | passou | ["fatheduc"] | ["fatheduc"] | — | — | call_37683c97 |
| 8 | argumento igual exoga simple regression: no other regressors (T3: recorded; a design question cannot state it) infer.iv_2sls.exog = [] | registrada | passou | [] | [] | — | — | call_37683c97 |
| 9 | diagnóstico n_obs(T3: recorded; a design question cannot state it) 428 vs 428 | registrada | passou | 428428 | 428428 | default rel 1e-6 (abs floor 1e-6) | — | call_37683c97 |
| 10 | figura da resposta próxima software reference (T3: recorded; T3 pontua o desenho; a estimativa é registrada) 0.05917348 vs 0.05917347999936595 | registrada | passou | 0,05917350.05917347999936595 | 0,05917350.05917347999936612 | relativa 0.000001 · absoluta 3.5141773970086746e-8 | mroz_1987.ex15_1.software | call_37683c97 |
| 11 | figura da resposta próxima software reference, SE: recorded (T3) 0.03514177397 vs 0.03514177397008675 | registrada | passou | 0,03514180.03514177397008675 | 0,03514180.035141773970085714 | relativa 0.000001 · absoluta 3.5141773970086746e-8 | mroz_1987.ex15_1.software | call_37683c97 |
| 12 | figura da resposta próxima published cell: recorded, never required on T2/T3 0.05917348 vs 0.059 | registrada | passou | 0,0590.059 | 0,05917350.05917347999936612 | published_cell d=3 · absoluta 0.000500001 | mroz_1987.ex15_1.paper | call_37683c97 |
| 13 | figura da resposta próxima published cell, SE: recorded, never required on T2/T3 0.03514177397 vs 0.035 | registrada | passou | 0,0350.035 | 0,03514180.035141773970085714 | published_cell d=3 (the SE as printed) · absoluta 0.000500001 | mroz_1987.ex15_1.paper | call_37683c97 |
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.mroz_1987.ex15_1.tool)
| Argumento | Referência | Agente | |
|---|---|---|---|
| cluster | — | — | não fixado pela referência |
| dataset | "mroz" | "mroz" | igual |
| endog | ["educ"] | ["educ"] | igual |
| exog | [] | [] | igual |
| instruments | ["fatheduc"] | ["fatheduc"] | igual |
| level | — | 0,950.95 | não fixado pela referência |
| se | "classical" | "classical" | igual |
| subset | "inlf == 1" | "inlf == 1" | igual |
| y | "lwage" | "lwage" | igual |
Trajetória
Cada evento na ordem em que aconteceu: turnos do modelo, chamadas de ferramentas, guardas, transformações e pontuação.
- 0Início
What is the return to a year of education for married women who work? Using Mroz's sample of married women in 1975, estimate the causal effect of a year of schooling on the log hourly wage of the women who worked, using a source of variation in schooling that is not driven by the woman's own ability.
mroz(agent)Wooldridge's MROZ data set (the R package wooldridge, served by Rdatasets): Mroz's (1987) sample of married women from the Panel Study of Income Dynamics, for 1975; one row per woman (753 rows). Columns used here: inlf, 1 if the woman was in the labour force in 1975; lwage, log hourly wage (missing for women who did not work); wage, hourly wage; educ, years of schooling; exper, years of labour-market experience; expersq, exper squared; fatheduc, father's years of schooling; motheduc, mother's years of schooling; also hours, kidslt6, kidsge6, age, repwage, hushrs, husage, huseduc, huswage, faminc, mtr, unem, city, nwifeinc and rownames.
filebcfc04b6a87746b185ed972f1149c459cc1af5a6ff44443ce5dd004eb8204a78· frame — - 1Turno do modelo
call_db1c9b1creferenceFim:tool_use0 ms0 de entrada · 0 de saída · 0 de raciocínio · 0 em cacheTexto visívelExample 15.1, equation (15.17): simple IV regression of the log wage on education, with father's education as the instrument, for the working women.
Chamadas pedidasinfer.iv_2sls{ "dataset": "mroz", "endog": [ "educ" ], "exog": [], "instruments": [ "fatheduc" ], "se": "classical", "subset": "inlf == 1", "y": "lwage" }
- 2Ferramenta
infer.iv_2sls— Variáveis instrumentais por mínimos quadrados em dois estágios (MQ2E)v0.1.0call_37683c97decidido pelo modeloreexecutávelMotivo: Example 15.1, equation (15.17): simple IV regression of the log wage on education, with father's education as the instrument, for the working women.
Argumentos
{ "cluster": null, "dataset": "mroz", "endog": [ "educ" ], "exog": [], "instruments": [ "fatheduc" ], "level": 0.95, "se": "classical", "subset": "inlf == 1", "y": "lwage" }Figuras call_37683c97 Chave Valor Valor bruto Erro-padrão IC coef.educ 2SLS effect of educ on lwage0,0591735 0.059173479999366120,0351418 0.035141773970085714-0,00989937 – 0,128246 Diagnósticosfirst_stage_F.educ= 88,840888.84076437074765(Wald F of the excluded instruments in the first stage for educ (classical (homoskedastic) standard errors))partial_r2.educ= 0,172560.17255969324676745(share of the variation the instruments explain beyond the controls)weak_instrument=false(every first-stage F is at least 10)n_obs= 428428se_type="classical"(classical (homoskedastic) standard errors)n_clusters= — (errors not clustered)
Derivação matemática e pressupostos
coef.educ- Com um instrumento e um regressor endógeno, o MQ2E é a razão entre o coeficiente de fatheduc na forma reduzida (lwage sobre fatheduc) e no primeiro estágio (educ sobre fatheduc).
β = ρ / π→ 0,0591735 (0.05917347999936612) - Erro-padrão clássico (homocedástico): a raiz da variância estimada do coeficiente.
ep = √V_jj→ 0,0351418 (0.035141773970085714) - Intervalo de 95% de confiança: a estimativa mais ou menos o valor crítico da distribuição t de Student com 426 graus de liberdade vezes o erro-padrão.
IC = β ± c · ep
Pressupostos do estimador- the instruments affect the outcome only through the endogenous regressors (exclusion restriction)
- the instruments are as good as randomly assigned given the controls
- errors are independent and have the same variance for every observation
Tabelas (3)
{ "coefficients": [ { "ci_high": 1.3179379680966103, "ci_low": -0.4357311520259835, "coef": 0.4411034080353134, "p": 0.3233244980335768, "se": 0.44610176604739354, "t": 0.9887954758476587, "term": "Intercept" }, { "ci_high": 0.12824633346921774, "ci_low": -0.0098993734704855, "coef": 0.05917347999936612, "p": 0.09294318274439199, "se": 0.035141773970085714, "t": 1.6838501109744002, "term": "educ" } ], "first_stage": [ { "ci_high": 0.32562947283589605, "ci_low": 0.21325380614425338, "coef": 0.2694416394900747, "endog": "educ", "instrument": "fatheduc", "p": 2.764935579128143e-19, "se": 0.028586340944630733, "t": 9.425537882303994 } ], "reduced_form": [ { "ci_high": 0.03543143951439208, "ci_low": -0.003543840583667461, "coef": 0.01594379946536231, "instrument": "fatheduc", "p": 0.10855148999538793, "se": 0.009914607655702304, "t": 1.6081119918237377 } ] }Hashes SHA-256 e metadados de reprodução
- Digests dos dados
mroz909e3d99ac8070dc661ce7915c99f27631797719369832e227d4005096cbd479- sha256 do resultado
69814dbe9c9dc665244de696b13b5be2d958ede321af1962a8fa52435de9e06e
- 3Turno do modelo
call_cdf9eae7referenceFim: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.educ = 0,05917.", "caveats": [], "figure_refs": [ "call_37683c97:coef.educ" ] }
- 4Guardaresposta aceita
- Números encontrados
- 0,05917
- Sem lastro
- —
- Não citados
- —
1 nova(s) tentativa(s) restante(s) - 5Resposta
Estimativa (infer.iv_2sls): coef.educ = 0,05917.
Figuras citadas:call_37683c97:coef.educ· Parada:answeredFigura da resposta:call_37683c97:coef.educ= 0,05917350.05917347999936612(se 0,03514180.035141773970085714) - 6Pontuação#0resposta com lastropassouobrigatória
every number backed - 7Pontuação#1figura da resposta escolhidapassouobrigatória
answer figure call_37683c97:coef.educ (infer.iv_2sls) - 8Pontuação#2ferramenta chamadapassouobrigatória
answer call is infer.iv_2sls - 9Pontuação#3argumento igualpassouobrigatória
infer.iv_2sls.y = 'lwage' - 10Pontuação#4argumento igualpassouobrigatória
infer.iv_2sls.endog[0] = 'educ' - 11Pontuação#5argumento igualpassouregistrada
infer.iv_2sls.y = 'lwage' - 12Pontuação#6argumento igualpassouregistrada
infer.iv_2sls.endog = ['educ'] - 13Pontuação#7argumento igualpassouregistrada
infer.iv_2sls.instruments = ['fatheduc'] - 14Pontuação#8argumento igualpassouregistrada
infer.iv_2sls.exog = [] - 15Pontuação#9diagnósticopassouregistrada
428 vs 428 - 16Pontuação#10figura da resposta próximapassouregistrada
0.05917348 vs 0.05917347999936595 - 17Pontuação#11figura da resposta próximapassouregistrada
0.03514177397 vs 0.03514177397008675 - 18Pontuação#12figura da resposta próximapassouregistrada
0.05917348 vs 0.059 - 19Pontuação#13figura da resposta próximapassouregistrada
0.03514177397 vs 0.035
Épocas × verificações
| # | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Época 1 | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou |
Tentativas
Cada tentativa é seu próprio arquivo e é publicada; só a última de cada época é pontuada.
- época 1, tentativa 1passoupontuada(exibindo)
Downloads desta tarefa
096a233633d8985a60d5aede839578dcc9627afbdd71cc7de5da3ea4a030816aO 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.
| Arquivo | Tamanho | sha256 |
|---|---|---|
| attachments/1d9a1457a84aa71a77043c1da8de2065374a06b086c1bd74e382ecb6497b8f39.json | 1,3 KB | 1d9a1457a84aa71a77043c1da8de2065374a06b086c1bd74e382ecb6497b8f39 |
| attachments/433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420.json | 2,4 KB | 433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420 |
| attachments/52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b.json | 64,0 KB | 52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b |
| attachments/67f4e3c82d428314ff9d7eac3eb507bca54ca271d78a57c92048cc8eed29fc9f.json | 1,4 KB | 67f4e3c82d428314ff9d7eac3eb507bca54ca271d78a57c92048cc8eed29fc9f |
| attachments/8608f24abbb4c8b5a1d7c95c77aa8c2077bd078f304c68340b4c6ccf0ba43b46.json | 1,4 KB | 8608f24abbb4c8b5a1d7c95c77aa8c2077bd078f304c68340b4c6ccf0ba43b46 |
| attachments/d946cffc6ec92dfa1ca681fc8d934ae1405d7c34db54d80599dddc3240760e99.json | 326 B | d946cffc6ec92dfa1ca681fc8d934ae1405d7c34db54d80599dddc3240760e99 |
| attachments/dcd218ff6ba58b547ffa3732b19791407680558791eba5487be4f6203b592cf1.json | 365 B | dcd218ff6ba58b547ffa3732b19791407680558791eba5487be4f6203b592cf1 |
| sources/mroz_1987.ex15_1.paper.json | 1,6 KB | 81642307747bcefddbd7b2c35cbeb891a06655350c246dccdd83c96fe9a102e2 |
| sources/mroz_1987.ex15_1.software.json | 1,3 KB | ce9a76ad662a83b0504562adb19a744de8a61d4f9c9e154d0e48ade2400c315f |
| specs/paper_repro.mroz_1987.ex15_1.design.json | 9,1 KB | cde18f45f35a280b9e7cd397679f911f71e43061d2539e298c5e130398e92fdb |
| traces/paper_repro.mroz_1987.ex15_1.design.e1.a1.jsonl | 13,5 KB | 52ef6334873e116cf8d7b9d3536f0308b93d97ae08ee1868ce5c093bb304917a |
| trajectories/paper_repro.mroz_1987.ex15_1.design.e1.a1.jsonl | 16,3 KB | f644843f9716bb863086891389fd771c33f1ea8b0bb90b85ec2eb5d2f8ae4b81 |