Logo: Cross Sectional Diagnostics

Cross Sectional Diagnostics

Communautéit
isitcredible
cross-sectional-diagnostics

Diagnostics for cross-sectional observational designs: functional form, common support, influence and leave-region-out, dependence structure including geography, negative controls, and omitted-variable-bias robustness values benchmarked against named covariates. Invoke from `code-and-data` for cross-sectional claims resting on a control set.

Iwwersiicht

Editeurisitcredible
Repositoryresearch_skills
Skill-Nummcross-sectional-diagnostics
Stären
40
Forks
6
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    isitcredible huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Cross Sectional Diagnostics an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/isitcredible/research_skills/tree/main/review/modules/cross-sectional-diagnostics
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/isitcredible/research_skills.git /tmp/research_skills
mkdir -p .claude/skills
cp -r /tmp/research_skills/review/modules/cross-sectional-diagnostics .claude/skills/cross-sectional-diagnostics
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Cross Sectional Diagnostics an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Cross Sectional Diagnostics automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Cross Sectional Diagnostics net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Cross-sectional diagnostics

Measure how much the claim depends on choices the reader cannot see — which controls, which functional form, which observations, which error structure — and how much unobserved confounding it could absorb. A cross-sectional regression with controls is the weakest design in the battery, so audit it on the evidence's terms, not the paper's: the control set is itself a claim to be tested, not a given.

Trigger: a cross-sectional observational claim among the target results. NOT_APPLICABLE for results whose identification another module covers; OLS columns the claim leans on stay in scope.

Core checks

  • Functional form and common support. Re-estimate under defensible alternative forms; check that treated and untreated observations overlap in covariate space, and report where the estimate comes from extrapolation. When support fails, route the answer: re-estimate on the supported region (trim or re-weight) and report whether the estimate survives on common support; an estimate carried by extrapolation is labelled descriptive, not verdict-bearing. Where a claim rests on an imposed shape (linearity, monotonicity), test it rather than eyeball a scatter: binstest (binscatter) formally rejects or clears the parametric form, and nprobust/lpdensity give a nonparametric conditional-mean or density alternative with valid inference — see the battery's software examples.
  • Influence and leave-region/group-out. Cross-country and cross-region regressions are routinely carried by a continent or a handful of observations; report the full leave-out range. Leverage is a property of the functional form, not of the observation: reproduce the exact published column first, then run DFBETA/influence on that spec — the influential tail can sit at opposite ends under levels versus logs, and a "leverage" unit whose deletion strengthens the authors is a fragility story that self-destructs. Check the sign of b_full − b_drop before pitching the finding.
  • Dependence structure, including geography. Neighbors resemble neighbors; unit-level robust errors on spatially smooth data fake precision. The gate has two tiers: for every spatially exposed result the SE-side record is Conley and Müller–Watson SCPC — a non-smooth regressor does not exempt it, because spatially correlated errors fake precision either way. When the regressor is smooth or interpolated over space, add the coefficient-side and noise rows: a spatial-lag/SLX refit, the Kelly matched-noise placebo, and Conley–Kelly–Kozbur pre-whitening — the "full spatial record" is all five rows. Conley only repairs the standard errors; SLX/SAR test whether the point estimate is spillover-inflated (in gap audits it has halved the own-unit coefficient while inference held). An SE-only pass that reports "spatial dependence doesn't overturn it" can hide a magnitude twice the honest value. In Stata, scpc aborts with e(V_modelbased) missing whenever the preceding regression omitted robust or cluster() (e(V_modelbased) is only stored under a sandwich VCE): never log e(V_modelbased) missing as "package failed / unavailable" — refit the levels regression with robust/cluster() and run scpc, and alongside it (or if levels SCPC fails on high-dimensional controls) run contrast-space SCPC (C-SCPC, the $h \to \infty$ benchmark) by applying scpc to the LBM-GLS transformed model from spurtransform (or in R via spuR::spur / scpcR::scpc). The audited space–time protocol behind the spatial record is ../../references/methods/spurious_space_time_unified_guide.md.
  • Collapse test on the point estimate. A cross-country or cross-region regressor is often one coarse value spread across many finer rows (a regional figure assigned to each country, a donor-substituted or interpolated value). Clustering the standard error does not touch the coefficient; collapse to the genuine independent units — average, or drop-to-source for donor/imputed values — and report whether the estimate moves. See ../../references/design-matrix.md, "Collapse-test record".
  • Transparent covariate sensitivity. Report how the estimate moves across the defensible control sets — not the paper's preferred ladder only, and with shrinkage distinguished from standard-error inflation when a control "kills" the result (see controls-samples-diagnostics when horse races or mediators are in play).
  • Negative controls where substantively justified: an outcome or exposure the mechanism cannot touch, run in the same design.

Conditional checks

  • Omitted-variable-bias robustness value — when the causal claim rests on the control set. Compute the robustness value and the treatment's partial R², and benchmark against named observed covariates: the multiple of a named covariate's strength an unobserved confounder would need to overturn the claim (sensemakr implements this; the OVB-sensitivity record in the battery's ../../references/design-matrix.md lists the fields). A robustness value near what a single named covariate already explains is a different finding from one no plausible confounder could reach — report which. The robustness value is NOT a verdict; it quantifies what the claim can absorb, not whether confounding exists.

Report back

Lead with what each check found and what it costs the claim, not a row for every check. Still account for coverage: say what you ran, what was NOT_APPLICABLE and why, and what was blocked (exact file, command, error). Record the selection-on-observables verdict and any geography-carries-it finding in the module report's ## Leads for later stages (folded into the code-and-data report) for claims — a cross-sectional contrast that is really a between-continent contrast is a story finding as much as a statistical one.

Heefeg gestallte Froen

Wat mécht de KI-Skill Cross Sectional Diagnostics?

Diagnostics for cross-sectional observational designs: functional form, common support, influence and leave-region-out, dependence structure including geography, negative controls, and omitted-variable-bias robustness values benchmarked against named covariates. Invoke from `code-and-data` for cross-sectional claims resting on a control set.

Firwat Cross Sectional Diagnostics op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Cross Sectional Diagnostics besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Cross Sectional Diagnostics an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/isitcredible/research_skills/tree/main/review/modules/cross-sectional-diagnostics an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Cross Sectional Diagnostics benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Cross Sectional Diagnostics benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Cross Sectional Diagnostics domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Cross Sectional Diagnostics gratis?

Jo. isitcredible huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇