Pular para o conteúdo

Tarefa paper_repro.mroz_1987.ex15_1.design

paper_reproagentT3designépoca 1, tentativa 1Execução: 20261015T165744Z-suite-paper_repro-scripted-def9df

Veredito

passouPassou em todas as verificações obrigatórias.

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)

Calculado pelo agente
coef.educ =0,05917350.05917347999936612
2SLS effect of educ on lwage
via infer.iv_2sls (call_37683c97)
Valor esperado (gabarito)
coef.educ =0,05917350.05917347999936595
linearmodels 7.0: the reference specification of mroz_1987 ex15_1 (infer.iv_2sls, figure 'coef.educ') on an independent code path
Como foi validado
5 de 5 verificações obrigatórias aprovadas
relativa 0.000001 · absoluta 3.5141773970086746e-8

Pergunta 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.

Resposta

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.

  1. 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.
  2. 2Chamada que gerou a resposta finalinfer.iv_2sls(Variáveis instrumentais por mínimos quadrados em dois estágios (MQ2E))citada na respostacoincide com a referência
    Ver chamada call_37683c97 nos detalhes

    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.

    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,950.95
    se:
    "classical"
    subset:
    "inlf == 1"
    y:
    "lwage"
    Resultado calculado
    • coef.educ = 0,0591735 0.05917347999936612
      2SLS 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)
  3. 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,05917
    Figuras citadas: call_37683c97:coef.educ
    • #0resposta com lastro
      Garante que todo número citado no texto veio de uma ferramenta ou do enunciado (sem cálculo mental do modelo).
    • #1figura da resposta escolhida
      an answer figure: the effect of an estimator call the answer cites
    • #2ferramenta chamadainfer.iv_2sls
      Exige que o resultado venha da ferramenta infer.iv_2sls.
    • #3argumento igualy
      T3: the outcome the design question implies
    • #4argumento igualendog[0]
      T3: the treatment the design question implies
    • #5argumento igualy
      outcome: log hourly wage (T3: recorded; a design question cannot state it)
    • #6argumento igualendog
      the endogenous regressor: years of schooling (T3: recorded; a design question cannot state it)
    • #7argumento igualinstruments
      the instrument: father's schooling (T3: recorded; a design question cannot state it)
    • #8argumento igualexog
      a simple regression: no other regressors (T3: recorded; a design question cannot state it)
    • #9diagnósticon_obs
      (T3: recorded; a design question cannot state it)
    • #10figura da resposta próxima
      software reference (T3: recorded; T3 pontua o desenho; a estimativa é registrada)
    • #11figura da resposta próxima
      software reference, SE: recorded (T3)
    • #12figura da resposta próxima
      published cell: recorded, never required on T2/T3
    • #13figura da resposta próxima
      published 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,05917350.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,05917350.05917347999936595 · relativa 0.000001 · absoluta 3.5141773970086746e-8
  • #11 figura da resposta próxima: 0,03514180.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,0590.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,0590.059 · published_cell d=3 · absoluta 0.000500001
  • #13 figura da resposta próxima: 0,0350.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

Cada verificação, o que esperava, o que observou e a chamada que leu
#VerificaçãoObrigatóriaResultadoEsperadoObservadoTolerânciaFonteChamada
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óriapassou0 sem lastro0 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óriapassou—"call_37683c97:coef.educ"——call_37683c97
2
ferramenta chamadainfer.iv_2sls
Exige que o resultado venha da ferramenta infer.iv_2sls.
answer call is infer.iv_2sls
obrigatóriapassou"infer.iv_2sls""infer.iv_2sls"——call_37683c97
3
argumento igualy
T3: the outcome the design question implies
infer.iv_2sls.y = 'lwage'
obrigatóriapassou"lwage""lwage"——call_37683c97
4
argumento igualendog[0]
T3: the treatment the design question implies
infer.iv_2sls.endog[0] = 'educ'
obrigatóriapassou"educ""educ"——call_37683c97
5
argumento igualy
outcome: log hourly wage (T3: recorded; a design question cannot state it)
infer.iv_2sls.y = 'lwage'
registradapassou"lwage""lwage"——call_37683c97
6
argumento igualendog
the endogenous regressor: years of schooling (T3: recorded; a design question cannot state it)
infer.iv_2sls.endog = ['educ']
registradapassou["educ"]["educ"]——call_37683c97
7
argumento igualinstruments
the instrument: father's schooling (T3: recorded; a design question cannot state it)
infer.iv_2sls.instruments = ['fatheduc']
registradapassou["fatheduc"]["fatheduc"]——call_37683c97
8
argumento igualexog
a simple regression: no other regressors (T3: recorded; a design question cannot state it)
infer.iv_2sls.exog = []
registradapassou[][]——call_37683c97
9
diagnósticon_obs
(T3: recorded; a design question cannot state it)
428 vs 428
registradapassou428428428428default 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
registradapassou0,05917350.059173479999365950,05917350.05917347999936612relativa 0.000001 · absoluta 3.5141773970086746e-8mroz_1987.ex15_1.softwarecall_37683c97
11
figura da resposta próxima
software reference, SE: recorded (T3)
0.03514177397 vs 0.03514177397008675
registradapassou0,03514180.035141773970086750,03514180.035141773970085714relativa 0.000001 · absoluta 3.5141773970086746e-8mroz_1987.ex15_1.softwarecall_37683c97
12
figura da resposta próxima
published cell: recorded, never required on T2/T3
0.05917348 vs 0.059
registradapassou0,0590.0590,05917350.05917347999936612published_cell d=3 · absoluta 0.000500001mroz_1987.ex15_1.papercall_37683c97
13
figura da resposta próxima
published cell, SE: recorded, never required on T2/T3
0.03514177397 vs 0.035
registradapassou0,0350.0350,03514180.035141773970085714published_cell d=3 (the SE as printed) · absoluta 0.000500001mroz_1987.ex15_1.papercall_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)

Referência: infer.iv_2slsChamada do agente: infer.iv_2sls (call_37683c97)igual
Argumentos da referência e do agente
ArgumentoReferênciaAgente
cluster——não fixado pela referência
dataset"mroz""mroz"igual
endog["educ"]["educ"]igual
exog[][]igual
instruments["fatheduc"]["fatheduc"]igual
level—0,950.95nã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.

  1. 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.

    file bcfc04b6a87746b185ed972f1149c459cc1af5a6ff44443ce5dd004eb8204a78 · frame —
  2. 1Turno do modelo
    call_db1c9b1creferenceFim: tool_use0 ms0 de entrada · 0 de saída · 0 de raciocínio · 0 em cache
    Texto visível

    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.

    Chamadas pedidas
    • infer.iv_2sls
      {
        "dataset": "mroz",
        "endog": [
          "educ"
        ],
        "exog": [],
        "instruments": [
          "fatheduc"
        ],
        "se": "classical",
        "subset": "inlf == 1",
        "y": "lwage"
      }
  3. 2Ferramenta
    infer.iv_2sls— Variáveis instrumentais por mínimos quadrados em dois estágios (MQ2E)v0.1.0call_37683c97decidido pelo modeloreexecutável

    Motivo: 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
    ChaveValorValor brutoErro-padrãoIC
    coef.educ
    2SLS effect of educ on lwage
    0,05917350.059173479999366120,03514180.035141773970085714-0,00989937 – 0,128246
    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)
    • n_clusters = — (errors not clustered)
    Derivação matemática e pressupostos
    coef.educ
    1. 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)
    2. Erro-padrão clássico (homocedástico): a raiz da variância estimada do coeficiente.ep = √V_jj→ 0,0351418 (0.035141773970085714)
    3. 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
    mroz 909e3d99ac8070dc661ce7915c99f27631797719369832e227d4005096cbd479
    sha256 do resultado
    69814dbe9c9dc665244de696b13b5be2d958ede321af1962a8fa52435de9e06e
  4. 3Turno do modelo
    call_cdf9eae7referenceFim: tool_use0 ms0 de entrada · 0 de saída · 0 de raciocínio · 0 em cache
    Chamadas pedidas
    • submit_answer (meta-ferramenta)
      {
        "answer": "Estimativa (infer.iv_2sls): coef.educ = 0,05917.",
        "caveats": [],
        "figure_refs": [
          "call_37683c97:coef.educ"
        ]
      }
  5. 4Guarda
    resposta aceita
    Números encontrados
    0,05917
    Sem lastro
    —
    Não citados
    —
    1 nova(s) tentativa(s) restante(s)
  6. 5Resposta

    Estimativa (infer.iv_2sls): coef.educ = 0,05917.

    Figuras citadas: call_37683c97:coef.educ · Parada: answered
    Figura da resposta: call_37683c97:coef.educ = 0,05917350.05917347999936612 (se 0,03514180.035141773970085714)
  7. 6Pontuação
    #0resposta com lastropassouobrigatóriaevery number backed
  8. 7Pontuação
    #1figura da resposta escolhidapassouobrigatóriaanswer figure call_37683c97:coef.educ (infer.iv_2sls)
  9. 8Pontuação
    #2ferramenta chamadapassouobrigatóriaanswer call is infer.iv_2sls
  10. 9Pontuação
    #3argumento igualpassouobrigatóriainfer.iv_2sls.y = 'lwage'
  11. 10Pontuação
    #4argumento igualpassouobrigatóriainfer.iv_2sls.endog[0] = 'educ'
  12. 11Pontuação
    #5argumento igualpassouregistradainfer.iv_2sls.y = 'lwage'
  13. 12Pontuação
    #6argumento igualpassouregistradainfer.iv_2sls.endog = ['educ']
  14. 13Pontuação
    #7argumento igualpassouregistradainfer.iv_2sls.instruments = ['fatheduc']
  15. 14Pontuação
    #8argumento igualpassouregistradainfer.iv_2sls.exog = []
  16. 15Pontuação
    #9diagnósticopassouregistrada428 vs 428
  17. 16Pontuação
    #10figura da resposta próximapassouregistrada0.05917348 vs 0.05917347999936595
  18. 17Pontuação
    #11figura da resposta próximapassouregistrada0.03514177397 vs 0.03514177397008675
  19. 18Pontuação
    #12figura da resposta próximapassouregistrada0.05917348 vs 0.059
  20. 19Pontuação
    #13figura da resposta próximapassouregistrada0.03514177397 vs 0.035

Épocas × verificações

Resultado de cada verificação em cada época pontuada
#012345678910111213
Época 1passoupassoupassoupassoupassoupassoupassoupassoupassoupassoupassoupassoupassoupassou

Tentativas

Cada tentativa é seu próprio arquivo e é publicada; só a última de cada época é pontuada.

Downloads desta tarefa

Pacote da tarefa (.zip)
85,5 KB · sha256 096a233633d8985a60d5aede839578dcc9627afbdd71cc7de5da3ea4a030816a

O 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.

Downloads desta tarefa
ArquivoTamanhosha256
attachments/1d9a1457a84aa71a77043c1da8de2065374a06b086c1bd74e382ecb6497b8f39.json1,3 KB1d9a1457a84aa71a77043c1da8de2065374a06b086c1bd74e382ecb6497b8f39
attachments/433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420.json2,4 KB433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420
attachments/52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b.json64,0 KB52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b
attachments/67f4e3c82d428314ff9d7eac3eb507bca54ca271d78a57c92048cc8eed29fc9f.json1,4 KB67f4e3c82d428314ff9d7eac3eb507bca54ca271d78a57c92048cc8eed29fc9f
attachments/8608f24abbb4c8b5a1d7c95c77aa8c2077bd078f304c68340b4c6ccf0ba43b46.json1,4 KB8608f24abbb4c8b5a1d7c95c77aa8c2077bd078f304c68340b4c6ccf0ba43b46
attachments/d946cffc6ec92dfa1ca681fc8d934ae1405d7c34db54d80599dddc3240760e99.json326 Bd946cffc6ec92dfa1ca681fc8d934ae1405d7c34db54d80599dddc3240760e99
attachments/dcd218ff6ba58b547ffa3732b19791407680558791eba5487be4f6203b592cf1.json365 Bdcd218ff6ba58b547ffa3732b19791407680558791eba5487be4f6203b592cf1
sources/mroz_1987.ex15_1.paper.json1,6 KB81642307747bcefddbd7b2c35cbeb891a06655350c246dccdd83c96fe9a102e2
sources/mroz_1987.ex15_1.software.json1,3 KBce9a76ad662a83b0504562adb19a744de8a61d4f9c9e154d0e48ade2400c315f
specs/paper_repro.mroz_1987.ex15_1.design.json9,1 KBcde18f45f35a280b9e7cd397679f911f71e43061d2539e298c5e130398e92fdb
traces/paper_repro.mroz_1987.ex15_1.design.e1.a1.jsonl13,5 KB52ef6334873e116cf8d7b9d3536f0308b93d97ae08ee1868ce5c093bb304917a
trajectories/paper_repro.mroz_1987.ex15_1.design.e1.a1.jsonl16,3 KBf644843f9716bb863086891389fd771c33f1ea8b0bb90b85ec2eb5d2f8ae4b81