psychometrics

Community

Validate questionnaires with full psychometric rigor.

Authorxjtulyc
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you validate and refine a psychological questionnaire by quantifying item quality, reliability, factor structure, and latent trait behavior so your scale measures what it claims to measure.

Core Features & Use Cases

  • Classical Test Theory diagnostics: computes item difficulty proxies, skewness/kurtosis, corrected item-total correlations, and alpha-if-deleted to identify weak or misfitting items.
  • Reliability estimation: calculates Cronbach’s alpha with a bootstrapped confidence interval and common interpretive guidance.
  • Factor analysis workflow: runs EFA with KMO/Bartlett tests and parallel-analysis factor retention, then performs CFA with semopy to check model fit.
  • Latent trait modeling (IRT): estimates a 2PL item response model for discrimination and difficulty parameters and supports DIF-oriented interpretation.
  • Differential Item Functioning (DIF): flags potential DIF using Mantel–Haenszel testing with Bonferroni control.
  • Measurement invariance testing: tests configural/metric/scalar invariance across groups using CFA comparisons.

Use Case: You have a draft 20-item scale administered to 500 respondents, and you need to (1) drop problematic items, (2) confirm the intended factor structure, (3) check whether reliability is acceptable, (4) model item difficulty/discrimination, and (5) test whether the scale behaves similarly across demographic groups.

Quick Start

Ask the AI to run a complete psychometric validation pipeline on your item responses by computing CTT item statistics, Cronbach’s alpha, EFA factor retention, CFA fit indices, 2PL IRT parameters, and Mantel–Haenszel DIF flags from a pandas DataFrame.

Dependency Matrix

Required Modules

pandas>=2.0.0numpy>=1.24.0scipy>=1.10.0factor_analyzer>=0.5.0semopy>=2.3.0matplotlib>=3.7.0scikit-learn>=1.3.0

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: psychometrics
Download link: https://github.com/xjtulyc/awesome-rosetta-skills/archive/main.zip#psychometrics

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.