Pular para o conteúdo

Tarefa paper_repro.mroz_1987.ex15_5.tool

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

Veredito

passouPassou em todas as verificações obrigatórias.
Calculado pelo agente
coef.educ =0,06139660.06139662866015408
2SLS effect of educ on lwage
via infer.iv_2sls (call_99a3c0ff)
Valor esperado (gabarito)
coef.educ =0,06139660.061396628660153496
linearmodels 7.0: the reference specification of mroz_1987 ex15_5 (infer.iv_2sls, figure 'coef.educ') on an independent code path
Como foi validado
4 de 4 verificações obrigatórias aprovadas
relativa 0.000001 · absoluta 3.1436695644695104e-8

Pergunta feita ao analista

Tarefa de ferramenta: nenhuma pergunta; a especificação de referência é chamada direto.

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_99a3c0ff nos detalhes
    Argumentos principais
    dataset:
    "mroz"
    endog:
    ["educ"]
    exog:
    ["exper","expersq"]
    instruments:
    ["motheduc","fatheduc"]
    level:
    0,950.95
    se:
    "classical"
    subset:
    "inlf == 1"
    y:
    "lwage"
    Resultado calculado
    • coef.educ = 0,0613966 0.06139662866015408
      2SLS effect of educ on lwage
    Diagnósticos: first_stage_F.educ = 55,400355.40030042777673 (Wald F of the excluded instruments in the first stage for educ (classical (homoskedastic) standard errors)) · partial_r2.educ = 0,2075690.20756926964482014 (share of the variation the instruments explain beyond the controls) · weak_instrument = false (every first-stage F is at least 10) · overid_p = 0,5386370.5386372330714904 (Sargan test of the overidentifying restrictions (assumes homoskedastic errors)) · sargan = 0,3780710.3780713419638187 (n·R² of the structural residuals on the instruments) · sargan_df = 11 · n_obs = 428428 · se_type = "classical" (classical (homoskedastic) standard errors)
  3. 3Conferência de lastro e resposta final
    • #0figura próximacoef.educ
      software reference
    • #1figura próximacoef.educ
      software reference, SE
    • #2figura próximacoef.educ
      published cell
    • #3figura próximacoef.educ
      published cell, SE

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_5.software

Fonte
linearmodels 7.0: the reference specification of mroz_1987 ex15_5 (infer.iv_2sls, figure 'coef.educ') on an independent code path
Tipo
software
Localização
mroz_1987: Wooldridge (2020), Example 15.5 'Return to Education for Working Women', the 2SLS equation, coefficient on educ
Valor
0,06139660.061396628660153496 (se 0,03143670.0314366956446951)
Conferido por
execução de software · IV2SLS(dependent=lwage, exog=[const, exper, expersq], endog=['educ'], instruments=['motheduc', '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/
  • #0 figura próxima: 0,06139660.061396628660153496 · relativa 0.000001 · absoluta 3.1436695644695104e-8
  • #1 figura próxima: 0,03143670.0314366956446951 · relativa 0.000001 · absoluta 3.1436695644695104e-8

mroz_1987.ex15_5.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.5 'Return to Education for Working Women', the 2SLS equation, coefficient on educ
Página
511
Trecho
log(wage) = .048 + .061 educ (.400) (.031) n = 428
Valor como publicado
.061
Erro-padrão como publicado
.031
Valor
0,0610.061 (se 0,0310.031) 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.5, printed page 511: 2SLS .061 educ (.031), with exper .044 (.013) and exper squared, n = 428, R-squared .136.
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.
  • #2 figura próxima: 0,0610.061 · published_cell d=3 · absoluta 0.000500001
  • #3 figura próxima: 0,0310.031 · 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.5 'Return to Education for Working Women', the 2SLS equation, coefficient on educ (source mroz_1987.ex15_5.paper); software reference mroz_1987.ex15_5.software: linearmodels 7.0: the reference specification of mroz_1987 ex15_5 (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
figura próximacoef.educ
software reference
0.06139662866 vs 0.061396628660153496
obrigatóriapassou0,06139660.0613966286601534960,06139660.06139662866015408relativa 0.000001 · absoluta 3.1436695644695104e-8mroz_1987.ex15_5.software—
1
figura próximacoef.educ
software reference, SE
0.03143669564 vs 0.0314366956446951
obrigatóriapassou0,03143670.03143669564469510,03143670.031436695644695214relativa 0.000001 · absoluta 3.1436695644695104e-8mroz_1987.ex15_5.software—
2
figura próximacoef.educ
published cell
0.06139662866 vs 0.061
obrigatóriapassou0,0610.0610,06139660.06139662866015408published_cell d=3 · absoluta 0.000500001mroz_1987.ex15_5.paper—
3
figura próximacoef.educ
published cell, SE
0.03143669564 vs 0.031
obrigatóriapassou0,0310.0310,03143670.031436695644695214published_cell d=3 (the SE as printed) · absoluta 0.000500001mroz_1987.ex15_5.paper—

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 própria especificação da tarefa

Referência: infer.iv_2slsChamada do agente: infer.iv_2sls (call_99a3c0ff)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["exper","expersq"]["exper","expersq"]igual
instruments["motheduc","fatheduc"]["motheduc","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

    Tarefa de ferramenta: nenhuma pergunta; a especificação de referência é chamada direto.

    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. 1Ferramenta
    infer.iv_2sls— Variáveis instrumentais por mínimos quadrados em dois estágios (MQ2E)v0.1.0call_99a3c0ffdecidido pelo códigoreexecutável
    Argumentos
    {
      "cluster": null,
      "dataset": "mroz",
      "endog": [
        "educ"
      ],
      "exog": [
        "exper",
        "expersq"
      ],
      "instruments": [
        "motheduc",
        "fatheduc"
      ],
      "level": 0.95,
      "se": "classical",
      "subset": "inlf == 1",
      "y": "lwage"
    }
    Figuras call_99a3c0ff
    ChaveValorValor brutoErro-padrãoIC
    coef.educ
    2SLS effect of educ on lwage
    0,06139660.061396628660154080,03143670.031436695644695214-0,000394545 – 0,123188
    Diagnósticos
    • first_stage_F.educ = 55,400355.40030042777673 (Wald F of the excluded instruments in the first stage for educ (classical (homoskedastic) standard errors))
    • partial_r2.educ = 0,2075690.20756926964482014 (share of the variation the instruments explain beyond the controls)
    • weak_instrument = false (every first-stage F is at least 10)
    • overid_p = 0,5386370.5386372330714904 (Sargan test of the overidentifying restrictions (assumes homoskedastic errors))
    • sargan = 0,3780710.3780713419638187 (n·R² of the structural residuals on the instruments)
    • sargan_df = 11
    • n_obs = 428428
    • se_type = "classical" (classical (homoskedastic) standard errors)
    • n_clusters = — (errors not clustered)
    Derivação matemática e pressupostos
    coef.educ
    1. Coeficiente de educ por mínimos quadrados em dois estágios: lwage sobre as projeções dos regressores endógenos nos instrumentos ['motheduc', 'fatheduc'] e os controles; resíduos com os valores observados de educ.→ 0,0613966 (0.06139662866015408)
    2. Erro-padrão clássico (homocedástico): a raiz da variância estimada do coeficiente.ep = √V_jj→ 0,0314367 (0.031436695644695214)
    3. Intervalo de 95% de confiança: a estimativa mais ou menos o valor crítico da distribuição t de Student com 424 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": 0.8349750469784886,
          "ci_low": -0.7387744331141283,
          "coef": 0.048100306932180106,
          "p": 0.9044194793612478,
          "se": 0.4003280776041123,
          "t": 0.12015221919994053,
          "term": "Intercept"
        },
        {
          "ci_high": 0.07057292697452149,
          "ci_low": 0.017767858923003838,
          "coef": 0.04417039294876266,
          "p": 0.0010918384252699615,
          "se": 0.013432475529443424,
          "t": 3.2883285625157486,
          "term": "exper"
        },
        {
          "ci_high": -0.00010942651309300572,
          "ci_low": -0.001688512663218038,
          "coef": -0.0008989695881555219,
          "p": 0.025740027334257214,
          "se": 0.0004016856118761863,
          "t": -2.2379930014337086,
          "term": "expersq"
        },
        {
          "ci_high": 0.12318780219307032,
          "ci_low": -0.00039454487276216477,
          "coef": 0.06139662866015408,
          "p": 0.05147417391505394,
          "se": 0.031436695644695214,
          "t": 1.9530242412902723,
          "term": "educ"
        }
      ],
      "first_stage": [
        {
          "ci_high": 0.22815007550124894,
          "ci_low": 0.08704398999594125,
          "coef": 0.1575970327485951,
          "endog": "educ",
          "instrument": "motheduc",
          "p": 0.000014298403672048712,
          "se": 0.03589411554668934,
          "t": 4.390609166664114
        },
        {
          "ci_high": 0.25589971614954615,
          "ci_low": 0.12319710416036223,
          "coef": 0.1895484101549542,
          "endog": "educ",
          "instrument": "fatheduc",
          "p": 3.561512366875694e-8,
          "se": 0.03375646678192402,
          "t": 5.615173275671551
        }
      ],
      "reduced_form": [
        {
          "ci_high": 0.02756810644924526,
          "ci_low": -0.021429317804883524,
          "coef": 0.0030693943221808697,
          "instrument": "motheduc",
          "p": 0.8055968958254257,
          "se": 0.012463808356456057,
          "t": 0.24626456331791813
        },
        {
          "ci_high": 0.04045959911766131,
          "ci_low": -0.0056198180526244,
          "coef": 0.017419890532518457,
          "instrument": "fatheduc",
          "p": 0.1379859225819088,
          "se": 0.01172153503026715,
          "t": 1.48614413449579
        }
      ]
    }
    Hashes SHA-256 e metadados de reprodução
    Digests dos dados
    mroz 909e3d99ac8070dc661ce7915c99f27631797719369832e227d4005096cbd479
    sha256 do resultado
    59ae30eacde5a7c176aa5c56ad716d52f38455cfdf94747c053bc8bb420610c6
  3. 2Pontuação
    #0figura próximapassouobrigatória0.06139662866 vs 0.061396628660153496
  4. 3Pontuação
    #1figura próximapassouobrigatória0.03143669564 vs 0.0314366956446951
  5. 4Pontuação
    #2figura próximapassouobrigatória0.06139662866 vs 0.061
  6. 5Pontuação
    #3figura próximapassouobrigatória0.03143669564 vs 0.031

Épocas × verificações

Resultado de cada verificação em cada época pontuada
#0123
Época 1passoupassoupassoupassou

Tentativas

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

Downloads desta tarefa

Pacote da tarefa (.zip)
59,8 KB · sha256 16ffabd05f9dba0649c076fd3a1afbbb02a16910764f3d83173078387d3042f5

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
sources/mroz_1987.ex15_5.paper.json1,5 KB321d2cab3dced77e842de0c43eba820748b02b3f50d5edc22067b656105c3cbf
sources/mroz_1987.ex15_5.software.json1,3 KBb8af1ab700c95bb183077dbe3926d86fa7c176aa5dd44a2603a6edf60574861b
specs/paper_repro.mroz_1987.ex15_5.tool.json4,6 KBa31ad080cf1e5a6cbaf16089519ba859bf33c381b5b0158370316bebfdb892e0
traces/paper_repro.mroz_1987.ex15_5.tool.e1.a1.jsonl5,2 KBda01dc70e2dcd5610aa3fe51cd4ced45e830553b0da8532aad6cafd22dc7f227
trajectories/paper_repro.mroz_1987.ex15_5.tool.e1.a1.jsonl8,9 KBfdec362e357c9dba273caa0c064627828aaa2a389a483f6c60ed445176bb8fee