conjoint-experiment
CommunityDesign conjoint surveys and estimate AMCEs fast.
Education & Research#causal inference#political science#conjoint#amce#clustered standard errors#survey experiment#marginal means
Authorxjtulyc
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you design conjoint survey experiments and turn respondent profile-choice data into interpretable estimates of attribute effects (AMCEs), including marginal means, interactions, and subgroup heterogeneity.
Core Features & Use Cases
- Conjoint profile design: Generate randomized full/partial profile sets for tasks and respondents so each attribute level is comparably varied across tasks.
- AMCE estimation with clustered uncertainty: Estimate Average Marginal Component Effects using a linear probability model (OLS) with standard errors clustered by respondent to respect within-respondent correlation.
- Marginal means, interactions, and heterogeneity: Compute marginal means, estimate interaction effects, and re-estimate AMCEs by subgroup (e.g., party or ideology) to quantify preference differences.
Quick Start
Use the conjoint-experiment skill to estimate AMCEs from your CSV at /data/conjoint_survey_results.csv for outcome column chosen, clustering by respondent_id, and using the attributes listed in your dataset.
Dependency Matrix
Required Modules
pandasstatsmodelsnumpymatplotlib
Components
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: conjoint-experiment Download link: https://github.com/xjtulyc/awesome-rosetta-skills/archive/main.zip#conjoint-experiment Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.