Logo di Cross Sectional Diagnostics

Cross Sectional Diagnostics

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

Panoramica

Pubblicato daisitcredible
Repositoryresearch_skills
Nome della skillcross-sectional-diagnostics
Stelle
40
Fork
6
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da isitcredible su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Cross Sectional Diagnostics in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/isitcredible/research_skills/tree/main/review/modules/cross-sectional-diagnostics
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Cross Sectional Diagnostics in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Cross Sectional Diagnostics non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Cross Sectional Diagnostics non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Cross Sectional Diagnostics su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Cross Sectional Diagnostics è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Cross Sectional Diagnostics in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/isitcredible/research_skills/tree/main/review/modules/cross-sectional-diagnostics. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Cross Sectional Diagnostics?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Cross Sectional Diagnostics?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Cross Sectional Diagnostics: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Cross Sectional Diagnostics è gratuita?

Sì. È pubblicata su GitHub da isitcredible con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇