算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
cps-data-analysis【设计与创意】Use when running and reporting the analyses for a Comparative Political Studies (CPS) manuscript — estimation, uncertainty, robustness, and multi-method triangulation on comparative data. Sets analysis norms; it does not choose the identification strategy (see cps-research-design).
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Once the design is fixed (cps-research-design), this skill governs how the analyses are run and
reported so a CPS reviewer trusts them. Comparative data bring distinctive hazards: few clusters
(countries), cross-national measurement error, missing data that differ by regime, and the temptation to
over-read a panel correlation as causal. The standard is modern, transparent, and replication-ready.
cps-theory-building), not data-mined; adjust for multiple comparisons.| Hazard | Symptom | Fix |
|---|---|---|
| Few clusters (countries) | over-rejection, tiny SEs | wild-cluster bootstrap / randomization inference |
| Cross-national measurement error | results flip across codings | show robustness to V-Dem/Polity/alt scales |
| Differential missingness | sample changes by regime type | report attrition; multiple imputation with caution |
| Time-series confounding | spurious trend correlations | unit + period FE; over-time placebo |
Run this audit before interpreting the main coefficient:
The output should connect each failure mode to a design threat. Do not add a robustness table unless it
answers a named threat in cps-research-design.
Run the battery, don't just enumerate it. Full map:
execution-with-mcp. CPS is comparative politics — cross-national and sub-national designs; emphasize identification and clustered / multiway inference.
romano_wolf (step-down FWER) or
benjamini_hochberg — report the adjusted threshold.oster_delta / sensemakr.wild_cluster_bootstrap (few clusters), twoway_cluster / conley;
multilevel data → cluster at the right level.audit_result(result_id) lists the missing checks and the
exact suggest_function for each.etable / did_summary_to_latex from the handle — no retyped numbers.Keep the decisive checks in the body and the exhaustive battery in the supplement. See the executed chain in the JF execution walkthrough.
【Headline result】estimate + CI, with the design it rests on
【Inference】clustering level + few-cluster correction if any
【Measurement】sources/codings + alt-coding robustness
【Failure-mode audit】concept equivalence / observation selection / temporal dependence / cluster leverage / multiplicity
【Robustness】the design-threats probed
【Heterogeneity】theory-driven subgroups + multiple-testing fix
【Reproducible?】script regenerates every exhibit [Y/N]
【Next】cps-tables-figures
../../resources/code/ — clean → estimate → robustness → tables skeleton (Stata + Python)../../resources/external_tools.md — estimation and inference packages (R / Stata / Python)