Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Questionnaire and survey design with Likert scales and coding
.claude/skills/brycewang-stanford-questionnaire-design-guide/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 75% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 87% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 128% | 0% |
| case-15 | ✗→✓ | ▲ Improved | 210% | 0% |
| case-19 | ✓→✗ | ▼ Worse | 90% | 0% |
Design valid and reliable survey instruments with proper question types, Likert scale construction, response coding, and data preparation for analysis.
| Type | Example | Best For | Analysis | |------|---------|----------|----------| | Likert scale | "Rate your agreement: 1-5" | Attitudes, perceptions | Ordinal/interval statistics | | Multiple choice | "Select your field" | Demographics, categories | Frequencies, chi-square | | Ranking | "Rank these 5 options" | Preferences, priorities | Rank correlations | | Open-ended | "Describe your experience" | Exploratory, rich data | Qualitative coding | | Matrix/grid | Multiple items, same scale | Efficient battery of items | Factor analysis, reliability | | Slider/VAS | 0-100 visual analog scale | Continuous measures | Parametric statistics | | Semantic differential | "Easy __ __ __ __ __ Difficult" | Bipolar attitudes | Factor analysis |
| Points | Scale Example | Recommended Use | |--------|---------------|-----------------| | 4-point | Strongly Disagree to Strongly Agree | Forces choice (no neutral), less discriminating | | 5-point | SD, D, Neutral, A, SA | Most common, good balance of simplicity and discrimination | | 7-point | SD, D, Somewhat D, Neutral, Somewhat A, A, SA | More discriminating, better for experienced respondents | | 11-point (0-10) | Not at all to Completely | NPS, continuous-like measures |
5-Point Agreement Scale:
1 = Strongly Disagree
2 = Disagree
3 = Neither Agree nor Disagree
4 = Agree
5 = Strongly Agree
5-Point Frequency Scale:
1 = Never
2 = Rarely
3 = Sometimes
4 = Often
5 = Always
5-Point Satisfaction Scale:
1 = Very Dissatisfied
2 = Dissatisfied
3 = Neutral
4 = Satisfied
5 = Very SatisfiedInclude 2-3 reverse-coded items per construct to detect acquiescence bias:
Regular: "I find research methods interesting." (1-5: SD to SA)
Reversed: "I find research methods tedious and dull." (1-5: SD to SA)
# Recode reversed items before analysis:
# reversed_score = (max_scale + 1) - raw_score
# For a 5-point scale: reversed_score = 6 - raw_scoreConstruct: Belief in one's ability to conduct academic research
Items (5-point Likert, Strongly Disagree to Strongly Agree):
RSE1: I can formulate clear research questions.
RSE2: I can design an appropriate research methodology.
RSE3: I can analyze data using statistical software.
RSE4: I can write a publishable research paper.
RSE5: I can critically evaluate published research.
RSE6: I can present research findings at a conference.
RSE7R: I struggle to interpret statistical results. [REVERSED]
RSE8R: I find it difficult to synthesize literature. [REVERSED]pythonimport pandas as pd import numpy as np # Define coding scheme likert_coding = { "Strongly Disagree": 1, "Disagree": 2, "Neither Agree nor Disagree": 3, "Agree": 4, "Strongly Agree": 5 } # Apply coding df["Q1_coded"] = df["Q1_raw"].map(likert_coding) # Reverse code specific items reverse_items = ["RSE7R", "RSE8R"] max_scale = 5 for item in reverse_items: df[f"{item}_recoded"] = (max_scale + 1) - df[item] # Calculate composite score (mean of items) scale_items = ["RSE1", "RSE2", "RSE3", "RSE4", "RSE5", "RSE6", "RSE7R_recoded", "RSE8R_recoded"] df["RSE_mean"] = df[scale_items].mean(axis=1)
python# Check missing data patterns print(df[scale_items].isnull().sum()) print(f"Complete cases: {df[scale_items].dropna().shape[0]} / {df.shape[0]}") # Common strategies: # 1. Listwise deletion (if < 5% missing) df_complete = df.dropna(subset=scale_items) # 2. Mean imputation per item (simple but biased) df[scale_items] = df[scale_items].fillna(df[scale_items].mean()) # 3. Person-mean imputation (if < 20% of items missing per person) def person_mean_impute(row, items, max_missing=2): if row[items].isnull().sum() <= max_missing: return row[items].fillna(row[items].mean()) return row[items] # leave as NaN if too many missing df[scale_items] = df.apply(lambda r: person_mean_impute(r, scale_items), axis=1)
pythonimport pingouin as pg # Calculate Cronbach's alpha alpha = pg.cronbach_alpha(df[scale_items]) print(f"Cronbach's alpha: {alpha[0]:.3f}") # Interpretation: >= 0.70 acceptable, >= 0.80 good, >= 0.90 excellent
rlibrary(psych) # Cronbach's alpha with item-level diagnostics alpha_result <- alpha(data[, scale_items]) print(alpha_result) # Check "raw_alpha if item dropped" to identify weak items
r# Corrected item-total correlations (should be > 0.30) item_stats <- alpha_result$item.stats print(item_stats[, c("r.drop", "raw.alpha")]) # r.drop < 0.30: consider removing the item # raw.alpha increases if dropped: item is weakening the scale
| Validity Type | Method | Criterion | |--------------|--------|-----------| | Content validity | Expert panel rating (CVI) | I-CVI >= 0.78, S-CVI/Ave >= 0.90 | | Construct validity | Exploratory Factor Analysis (EFA) | Eigenvalue > 1, loadings > 0.40 | | Convergent validity | Correlation with related construct | r > 0.30 | | Discriminant validity | Correlation with unrelated construct | r < 0.30 | | Criterion validity | Correlation with external criterion | Significant correlation | | Test-retest reliability | ICC or Pearson r over 2-4 weeks | ICC > 0.70 |
| Mistake | Example | Fix | |---------|---------|-----| | Double-barreled question | "This course is interesting and useful" | Split into two separate items | | Leading question | "Don't you agree that X is important?" | "How important is X to you?" | | Absolute terms | "Do you always check citations?" | "How often do you check citations?" | | Missing option | No "Not Applicable" when needed | Add N/A option or filter logic | | Inconsistent scale direction | Some items 1=good, others 1=bad | Standardize direction; clearly mark reversed items | | Too many items | 100-item survey | Aim for 5-8 items per construct, 15-30 min total | | No pilot test | Skip straight to full deployment | Always pilot with 30-50 respondents |
| Platform | Cost | Features | Best For | |----------|------|----------|----------| | Qualtrics | Institutional | Advanced logic, panels, API | Large academic studies | | SurveyMonkey | Freemium | Easy to use, basic analysis | Quick surveys | | Google Forms | Free | Simple, integrates with Sheets | Classroom, pilot testing | | LimeSurvey | Free/self-hosted | Open source, full control | Privacy-sensitive research | | REDCap | Free (academic) | Clinical data, HIPAA compliant | Medical/clinical research | | Prolific | Per-response | Participant recruitment | Online experiments |
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-23 | pass→pass | 22,435 | 29,909 | +33% | 1 | 1 | 0% | 3,584 | 6,861 | +91% | 0 | 0 | — |
case-01 | fail→pass | 17,336 | 30,967 | +79% | 1 | 1 | 0% | 3,331 | 5,835 | +75% | 0 | 0 | — |
case-02 | pass→pass | 10,685 | 9,924 | -7% | 1 | 1 | 0% | 2,014 | 4,283 | +113% | 0 | 0 | — |
case-03 | pass→pass | 10,968 | 11,720 | +7% | 1 | 1 | 0% | 2,075 | 4,361 | +110% | 0 | 0 | — |
case-04 | pass→pass | 10,865 | 10,558 | -3% | 1 | 1 | 0% | 1,827 | 4,132 | +126% | 0 | 0 | — |
case-05 | pass→pass | 11,762 | 9,018 | -23% | 1 | 1 | 0% | 2,098 | 3,923 | +87% | 0 | 0 | — |
case-06 | pass→pass | 13,234 | 8,359 | -37% | 1 | 1 | 0% | 2,424 | 3,742 | +54% | 0 | 0 | — |
case-07 | pass→pass | 15,200 | 12,912 | -15% | 1 | 1 | 0% | 2,520 | 4,488 | +78% | 0 | 0 | — |
case-08 | fail→fail | 16,350 | 16,216 | -1% | 1 | 1 | 0% | 2,865 | 5,107 | +78% | 0 | 0 | — |
case-09 | fail→fail | 14,351 | 10,052 | -30% | 1 | 1 | 0% | 2,343 | 3,845 | +64% | 0 | 0 | — |
case-10 | pass→pass | 10,165 | 10,168 | +0% | 1 | 1 | 0% | 1,563 | 3,808 | +144% | 0 | 0 | — |
case-11 | fail→pass | 11,928 | 7,886 | -34% | 1 | 1 | 0% | 1,906 | 3,572 | +87% | 0 | 0 | — |
case-12 | fail→fail | 13,179 | 12,591 | -4% | 1 | 1 | 0% | 2,233 | 4,407 | +97% | 0 | 0 | — |
case-13 | fail→pass | 12,317 | 15,098 | +23% | 1 | 1 | 0% | 2,051 | 4,683 | +128% | 0 | 0 | — |
case-14 | pass→pass | 7,008 | 5,657 | -19% | 1 | 1 | 0% | 1,158 | 3,162 | +173% | 0 | 0 | — |
case-15 | fail→pass | 7,312 | 8,127 | +11% | 1 | 1 | 0% | 1,157 | 3,591 | +210% | 0 | 0 | — |
case-16 | pass→pass | 12,244 | 11,107 | -9% | 1 | 1 | 0% | 1,702 | 4,027 | +137% | 0 | 0 | — |
case-17 | pass→pass | 17,649 | 14,965 | -15% | 1 | 1 | 0% | 2,602 | 4,760 | +83% | 0 | 0 | — |
case-18 | pass→pass | 14,159 | 11,371 | -20% | 1 | 1 | 0% | 2,062 | 3,902 | +89% | 0 | 0 | — |
case-19 | pass→fail | 13,838 | 12,644 | -9% | 1 | 1 | 0% | 2,203 | 4,181 | +90% | 0 | 0 | — |
case-20 | pass→pass | 10,590 | 10,446 | -1% | 1 | 1 | 0% | 2,022 | 4,263 | +111% | 0 | 0 | — |
case-21 | pass→pass | 14,084 | 14,791 | +5% | 1 | 1 | 0% | 2,759 | 5,064 | +84% | 0 | 0 | — |
case-22 | pass→pass | 14,648 | 12,048 | -18% | 1 | 1 | 0% | 2,424 | 4,642 | +92% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted. The headline lift of +13 percentage points is the difference between those two pass rates over the 23 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.