Skip to content

dleinker/ConjointSD

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

123 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConjointSD

ConjointSD is a Lean formalization of the standard deviation (SD) decomposition and consistency results used in conjoint analysis. It connects the paper's causal estimands to plug-in SD estimators, and organizes the supporting probability, transport, identification, and regression machinery.

Note: the social status paper contains no AI written text. This repository, by contrast, contains almost nothing but AI written text. Any errors are still the responsibility of the authors.

Documentation indexes

What lives where

  • ConjointSD/: Lean sources for the formal results and definitions.
  • readable/: human-readable summaries and the jargon glossary.
  • project_map.md: quick map of how the Lean files relate.
  • gaps.md: checklist of remaining proof/assumption gaps.
  • paper_highlights.md: notes connecting the formalization to the paper narrative.

Main themes in the formalization

  • Probability and SD machinery: empirical vs population moments, SD consistency.
  • Conjoint identification: causal targets and observed conditional means.
  • Transport and population targets: mapping design-space moments to population SDs.
  • Estimation and sequential consistency: plug-in SD estimators with sample splitting.
  • Regression bridge: OLS consistency to plug-in moment convergence.
  • Block/term models: decomposing total scores into block-level SDs.

Building with Lake

  1. Install Lean toolchain via apt-get install elan (the elan package bundles the Lean and Lake installer).
  2. Ensure the toolchain from lean-toolchain is available: elan toolchain install $(cat lean-toolchain).
  3. Run lake build from the repo root. The first invocation downloads mathlib and can take a while, but subsequent runs reuse the cached build in .lake/.

A successful build was started in this environment after installing elan, though compiling mathlib takes significant time on a fresh cache.

Lean import DAG

Lean import DAG

R helper scripts

  • Install R packages used by plot_proof_structure.R: fs, stringr, dplyr, purrr, tidyr, DiagrammeR, DiagrammeRsvg, rsvg.
  • Run Rscript scripts/check_r.R from the repo root to validate the import-DAG script finds nodes and edges.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Lean 85.5%
  • R 14.5%