Tarefa paper_repro.card_1995.ex15_4_iv.design
paper_reproagentT3designé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
What is the causal return to a year of schooling for young men in the United States? Using Card's sample of men from the National Longitudinal Survey of Young Men observed in 1976, estimate the effect of education on the log hourly wage, using a source of variation in schooling that is not driven by ability or family background.
Estimativa (infer.iv_2sls): coef.educ = 0,1315.
Valores esperados e de onde vêm
card_1995.ex15_4_iv.software
- Fonte
- linearmodels 7.0: the reference specification of card_1995 ex15_4_iv (infer.iv_2sls, figure 'coef.educ') on an independent code path
- Tipo
- software
- Localização
- card_1995: Wooldridge (2020), Example 15.4 'Using College Proximity as an IV for Education', Table 15.1 (dependent variable log(wage)), column IV, row educ
- Valor
- 0,131504
0.13150383624451933(se 0,05496370.054963672601153514) - Conferido por
- execução de software · IV2SLS(dependent=lwage, exog=[const, exper, expersq, black, smsa, south, smsa66, reg662, reg663, reg664, reg665, reg666, reg667, reg668, reg669], endog=['educ'], instruments=['nearc4']).fit(cov_type='unadjusted', debiased=True) on card (the file pinned at sha256 326dad817467b20d51bdfd015033e3e3e313931f51f812c38c0776249e7fd711); n_obs = 3010. 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,131504
0.13150383624451933· relativa 0.000001 · absoluta 5.496367260115351e-8 - #11 figura da resposta próxima: 0,0549637
0.054963672601153514· relativa 0.000001 · absoluta 5.496367260115351e-8
card_1995.ex15_4_iv.paper
- Fonte
- Wooldridge, J. M. (2020). Introductory Econometrics: A Modern Approach, 7th edition. Boston: Cengage. Example 15.4 (Card 1995, 'Using Geographic Variation in College Proximity to Estimate the Return to Schooling', data set CARD).
- Tipo
- textbook
- Localização
- Wooldridge (2020), Example 15.4 'Using College Proximity as an IV for Education', Table 15.1 (dependent variable log(wage)), column IV, row educ
- Página
- 508
- Trecho
Table 15.1 educ IV .132 (.055)
- Valor como publicado
.132- Erro-padrão como publicado
.055- Valor
- 0,132
0.132(se 0,0550.055) 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. Table 15.1 on printed page 508: IV column, educ .132 (.055), observations 3,010; other controls smsa66, reg662 ... reg669. The text says the IV standard errors use a degrees-of-freedom adjustment. Data fact checked: CARD has 3,010 rows with no missing values in the variables used.
- 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,132
0.132· published_cell d=3 · absoluta 0.000500001 - #13 figura da resposta próxima: 0,055
0.055· published_cell d=3 (the SE as printed) · absoluta 0.000500001
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_32eba4df:coef.educ (infer.iv_2sls) | obrigatória | passou | — | "call_32eba4df:coef.educ" | — | — | call_32eba4df |
| 2 | ferramenta chamada answer call is infer.iv_2sls | obrigatória | passou | — | "infer.iv_2sls" | — | — | call_32eba4df |
| 3 | argumento igual infer.iv_2sls.y = 'lwage' | obrigatória | passou | "lwage" | "lwage" | — | — | call_32eba4df |
| 4 | argumento igual infer.iv_2sls.endog[0] = 'educ' | obrigatória | passou | "educ" | "educ" | — | — | call_32eba4df |
| 5 | argumento igual infer.iv_2sls.y = 'lwage' | registrada | passou | "lwage" | "lwage" | — | — | call_32eba4df |
| 6 | argumento igual infer.iv_2sls.endog = ['educ'] | registrada | passou | ["educ"] | ["educ"] | — | — | call_32eba4df |
| 7 | argumento igual infer.iv_2sls.instruments = ['nearc4'] | registrada | passou | ["nearc4"] | ["nearc4"] | — | — | call_32eba4df |
| 8 | argumento igual infer.iv_2sls.exog = ['exper', 'expersq', 'black', 'smsa', 'south', 'smsa66', 'reg662', 'reg663', 'reg664', 'reg665', 'reg666', 'reg667', 'reg668', 'reg669'] | registrada | passou | ["exper","expersq","black","smsa","south","smsa66","reg662","reg663","reg664","reg665","reg666","reg667","reg668","reg669"] | ["exper","expersq","black","smsa","south","smsa66","reg662","reg663","reg664","reg665","reg666","reg667","reg668","reg669"] | — | — | call_32eba4df |
| 9 | diagnóstico 3010 vs 3010 | registrada | passou | 3.0103010 | 3.0103010 | default rel 1e-6 (abs floor 1e-6) | — | call_32eba4df |
| 10 | figura da resposta próxima 0.1315038362 vs 0.13150383624451933 | registrada | passou | 0,1315040.13150383624451933 | 0,1315040.13150383624470474 | relativa 0.000001 · absoluta 5.496367260115351e-8 | card_1995.ex15_4_iv.software | call_32eba4df |
| 11 | figura da resposta próxima 0.0549636726 vs 0.054963672601153514 | registrada | passou | 0,05496370.054963672601153514 | 0,05496370.054963672601175226 | relativa 0.000001 · absoluta 5.496367260115351e-8 | card_1995.ex15_4_iv.software | call_32eba4df |
| 12 | figura da resposta próxima 0.1315038362 vs 0.132 | registrada | passou | 0,1320.132 | 0,1315040.13150383624470474 | published_cell d=3 · absoluta 0.000500001 | card_1995.ex15_4_iv.paper | call_32eba4df |
| 13 | figura da resposta próxima 0.0549636726 vs 0.055 | registrada | passou | 0,0550.055 | 0,05496370.054963672601175226 | published_cell d=3 (the SE as printed) · absoluta 0.000500001 | card_1995.ex15_4_iv.paper | call_32eba4df |
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.card_1995.ex15_4_iv.tool)
| Argumento | Referência | Agente | |
|---|---|---|---|
| cluster | — | — | não fixado pela referência |
| dataset | "card" | "card" | igual |
| endog | ["educ"] | ["educ"] | igual |
| exog | ["exper","expersq","black","smsa","south","smsa66","reg662","reg663","reg664","reg665","reg666","reg667","reg668","reg669"] | ["exper","expersq","black","smsa","south","smsa66","reg662","reg663","reg664","reg665","reg666","reg667","reg668","reg669"] | igual |
| instruments | ["nearc4"] | ["nearc4"] | igual |
| level | — | 0,950.95 | não fixado pela referência |
| se | "classical" | "classical" | igual |
| subset | — | — | não fixado pela referência |
| 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 causal return to a year of schooling for young men in the United States? Using Card's sample of men from the National Longitudinal Survey of Young Men observed in 1976, estimate the effect of education on the log hourly wage, using a source of variation in schooling that is not driven by ability or family background.
card(agent)Wooldridge's CARD data set (the R package wooldridge, served by Rdatasets): David Card's (1995) sample of men from the National Longitudinal Survey of Young Men, observed in 1976; one row per man (3,010 rows). Columns used here: lwage, log hourly wage in 1976; educ, years of schooling in 1976; nearc4, 1 if the man grew up near a four-year college in 1966; nearc2, 1 if near a two-year college in 1966; exper, years of experience (age - educ - 6); expersq, exper squared; black, 1 if black; smsa, 1 if living in an SMSA in 1976; south, 1 if living in the South in 1976; smsa66, 1 if living in an SMSA in 1966; reg661 to reg669, indicators of the region of residence in 1966; also age, fatheduc, motheduc, IQ, KWW, married, wage (cents per hour) and the family-background indicators momdad14, sinmom14, step14, south66, libcrd14, enroll, weight, id and rownames.
file326dad817467b20d51bdfd015033e3e3e313931f51f812c38c0776249e7fd711· frame — - 1Turno do modelo
call_5af1018breferenceFim:tool_use0 ms0 de entrada · 0 de saída · 0 de raciocínio · 0 em cacheTexto visívelExample 15.4, Table 15.1, IV column: log wage on education instrumented by college proximity, with experience, its square, race, SMSA, South, SMSA in 1966 and the 1966 region dummies (classical errors with the degrees-of-freedom adjustment, as the example states).
Chamadas pedidasinfer.iv_2sls{ "dataset": "card", "endog": [ "educ" ], "exog": [ "exper", "expersq", "black", "smsa", "south", "smsa66", "reg662", "reg663", "reg664", "reg665", "reg666", "reg667", "reg668", "reg669" ], "instruments": [ "nearc4" ], "se": "classical", "y": "lwage" }
- 2Ferramenta
infer.iv_2slsv0.1.0call_32eba4dfdecidido pelo modeloreexecutávelMotivo: Example 15.4, Table 15.1, IV column: log wage on education instrumented by college proximity, with experience, its square, race, SMSA, South, SMSA in 1966 and the 1966 region dummies (classical errors with the degrees-of-freedom adjustment, as the example states).
Argumentos
{ "cluster": null, "dataset": "card", "endog": [ "educ" ], "exog": [ "exper", "expersq", "black", "smsa", "south", "smsa66", "reg662", "reg663", "reg664", "reg665", "reg666", "reg667", "reg668", "reg669" ], "instruments": [ "nearc4" ], "level": 0.95, "se": "classical", "subset": null, "y": "lwage" }Figuras call_32eba4df Chave Valor Valor bruto Erro-padrão IC coef.educ 2SLS effect of educ on lwage0,131504 0.131503836244704740,0549637 0.0549636726011752260,0237335 – 0,239274 Diagnósticosfirst_stage_F.educ= 13,255813.255785330576108partial_r2.educ= 0,004407930.004407934102325983weak_instrument=falsen_obs= 3.0103010se_type="classical"n_clusters= —
Tabelas (3)
{ "coefficients": [ { "ci_high": 5.479516553400695, "ci_low": 1.8527852634542328, "coef": 3.666150908427464, "p": 0.00007538415974785308, "se": 0.9248295310138733, "t": 3.9641369414407985, "term": "Intercept" }, { "ci_high": 0.1546598064790368, "ci_low": 0.06188240572195053, "coef": 0.10827110610049366, "p": 0.000004922903208547169, "se": 0.023658571085405363, "t": 4.576400903911081, "term": "exper" }, { "ci_high": -0.001681030950206941, "ci_low": -0.0029888444048044374, "coef": -0.002334937677505689, "p": 3.1161246944085553e-12, "se": 0.00033349713755244625, "t": -7.001372469466829, "term": "expersq" }, { "ci_high": -0.04109124105905192, "ci_low": -0.25246025330930105, "coef": -0.1467757471841765, "p": 0.006504376545512747, "se": 0.05389985881009377, "t": -2.7231193258096242, "term": "black" }, { "ci_high": 0.1738897625009303, "ci_low": 0.04972685470035713, "coef": 0.11180830860064371, "p": 0.0004197459454284399, "se": 0.03166198833336174, "t": 3.5313103972953286, "term": "smsa" }, { "ci_high": -0.09117299500874089, "ci_low": -0.19817000636948712, "coef": -0.144671500689114, "p": 1.2266258857565786e-7, "se": 0.027284622963645526, "t": -5.302308955556272, "term": "south" }, { "ci_high": 0.06090028882943441, "ci_low": -0.023838079835042367, "coef": 0.01853110449719602, "p": 0.39119278809555685, "se": 0.021608588970484666, "t": 0.8575804983151744, "term": "smsa66" }, { "ci_high": 0.17466030000544155, "ci_low": 0.026875261834297726, "coef": 0.10076778091986964, "p": 0.007538241795889867, "se": 0.0376857165904629, "t": 2.6738984962109194, "term": "reg662" }, { "ci_high": 0.2204423366673024, "ci_low": 0.07607522011011421, "coef": 0.1482587783887083, "p": 0.000057840797772050855, "se": 0.03681413427830229, "t": 4.027224360837132, "term": "reg663" }, { "ci_high": 0.13566022759527543, "ci_low": -0.035866069886474596, "coef": 0.049897078854400416, "p": 0.25405688043284264, "se": 0.04373982315600082, "t": 1.1407700181237441, "term": "reg664" }, { "ci_high": 0.23855286385627722, "ci_low": 0.05399096224877149, "coef": 0.14627191305252435, "p": 0.001901645058086012, "se": 0.04706394912130858, "t": 3.107939639223742, "term": "reg665" }, { "ci_high": 0.2646849853540353, "ci_low": 0.06112089839772622, "coef": 0.16290294187588075, "p": 0.001716385181435308, "se": 0.05190957477135003, "t": 3.1382060553073585, "term": "reg666" }, { "ci_high": 0.2314381083788585, "ci_low": 0.03770631068276323, "coef": 0.13457220953081087, "p": 0.006486970827583493, "se": 0.04940230562501896, "t": 2.72400665977539, "term": "reg667" }, { "ci_high": 0.03325735213331668, "ci_low": -0.1994113382810437, "coef": -0.08307699307386351, "p": 0.161550835975611, "se": 0.05933135339638065, "t": -1.4002207655511092, "term": "reg668" }, { "ci_high": 0.1898006809461838, "ci_low": 0.0258277843270978, "coef": 0.10781423263664079, "p": 0.009971984091442317, "se": 0.041813678752432255, "t": 2.578444084649437, "term": "reg669" }, { "ci_high": 0.23927422232576134, "ci_low": 0.023733450163648154, "coef": 0.13150383624470474, "p": 0.016792621890736437, "se": 0.054963672601175226, "t": 2.392559121711473, "term": "educ" } ], "first_stage": [ { "ci_high": 0.4921785043603216, "ci_low": 0.147619375822603, "coef": 0.3198989400914623, "endog": "educ", "instrument": "nearc4", "p": 0.00027634008572957033, "se": 0.08786381779522222, "t": 3.640849534185134 } ], "reduced_form": [ { "ci_high": 0.07751371396063084, "ci_low": 0.006622161704650145, "coef": 0.04206793783264049, "instrument": "nearc4", "p": 0.020027629759561513, "se": 0.01807760095364329, "t": 2.3270752540957202 } ] }- Digests dos dados
card4ec4da8d7939f11a46d67bd248416cc7330bd0dddaddcd6c49c9872c5a427413- sha256 do resultado
6265cba433bc72e2fb80a63a587174ec8231b3a31dc3e70a228c8cf886fa6f29
- 3Turno do modelo
call_df86acafreferenceFim: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,1315.", "caveats": [], "figure_refs": [ "call_32eba4df:coef.educ" ] }
- 4Guardaresposta aceita
- Números encontrados
- 0,1315
- Sem lastro
- —
- Não citados
- —
1 nova(s) tentativa(s) restante(s) - 5Resposta
Estimativa (infer.iv_2sls): coef.educ = 0,1315.
Figuras citadas:call_32eba4df:coef.educ· Parada:answeredFigura da resposta:call_32eba4df:coef.educ= 0,1315040.13150383624470474(se 0,05496370.054963672601175226) - 6Pontuação#0resposta com lastropassouobrigatória
every number backed - 7Pontuação#1figura da resposta escolhidapassouobrigatória
answer figure call_32eba4df: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 = ['nearc4'] - 14Pontuação#8argumento igualpassouregistrada
infer.iv_2sls.exog = ['exper', 'expersq', 'black', 'smsa', 'south', 'smsa66', 'reg662', 'reg663', 'reg664', 'reg665', 'reg666', 'reg667', 'reg668', 'reg669'] - 15Pontuação#9diagnósticopassouregistrada
3010 vs 3010 - 16Pontuação#10figura da resposta próximapassouregistrada
0.1315038362 vs 0.13150383624451933 - 17Pontuação#11figura da resposta próximapassouregistrada
0.0549636726 vs 0.054963672601153514 - 18Pontuação#12figura da resposta próximapassouregistrada
0.1315038362 vs 0.132 - 19Pontuação#13figura da resposta próximapassouregistrada
0.0549636726 vs 0.055
É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
f288c495d3596b0454ef2d9763f844e7aa97eb170e1beba26c237c3b19607633O 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/02ec763196406943c992185f0589e50a82bc90ae75b6195840a03a13e5797d1d.json | 2,5 KB | 02ec763196406943c992185f0589e50a82bc90ae75b6195840a03a13e5797d1d |
| attachments/27ad8764a374d9cff882afdb70213102f60b5287c9b860244dc96694b503584b.json | 355 B | 27ad8764a374d9cff882afdb70213102f60b5287c9b860244dc96694b503584b |
| attachments/433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420.json | 2,4 KB | 433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420 |
| attachments/52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b.json | 64,0 KB | 52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b |
| attachments/bf5824a1b2b681c3f4f1fcc6e88fb6802db52aa3a73d31da4c3db8f4e1ff0cc9.json | 1,9 KB | bf5824a1b2b681c3f4f1fcc6e88fb6802db52aa3a73d31da4c3db8f4e1ff0cc9 |
| attachments/eefd12fcb932f2266ff10b6539c75d6c53094d693b3b429aedd343beb8439848.json | 579 B | eefd12fcb932f2266ff10b6539c75d6c53094d693b3b429aedd343beb8439848 |
| attachments/ef5694ea5807c34a8b0f0ba5bbcd8eab07af74d16e98db33920b5f517c9bb530.json | 2,6 KB | ef5694ea5807c34a8b0f0ba5bbcd8eab07af74d16e98db33920b5f517c9bb530 |
| sources/card_1995.ex15_4_iv.paper.json | 1,7 KB | 11928adb67b420dff797a57ab90497bf42f5c52af08802879dc087a4a78f9c4a |
| sources/card_1995.ex15_4_iv.software.json | 1,4 KB | 15387377734a8e321b58ac40a638a9218ccc4eb7fcfb3b5f8447b00610139733 |
| specs/paper_repro.card_1995.ex15_4_iv.design.json | 9,8 KB | 8e25998427cd410de81bbf67a8d771af07c93ef3979ac33e450a66a50b1d3a3f |
| traces/paper_repro.card_1995.ex15_4_iv.design.e1.a1.jsonl | 17,2 KB | 1e8ced99df74d36d1effdcf2b67debddbf39b070a3cbe631980c20e302e9da4c |
| trajectories/paper_repro.card_1995.ex15_4_iv.design.e1.a1.jsonl | 19,9 KB | ca2c80f688074bf3dc6da64c10175d647de07462d52065642f9a3b70d0ad5017 |