Skip to content
Back to skills

Longitudinal Analysis

ASecurity

Repeated-measures panel analysis in Python; R steps skip, never substitute, without Rscript.

  • 11 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 12, 2026
ai-agentspythonbashgit

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 18, 2026

npx -y skills add JiamingShi-JsPhys/chelate-shell --skill longitudinal-analysis --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Longitudinal Analysis?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Longitudinal Analysis
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jiamingshi-jsphys-longitudinal-analysis/badge)](https://www.skillsdirectory.com/skills/jiamingshi-jsphys-longitudinal-analysis)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: longitudinal-analysis
version: 1.4.0
description: >
  Repeated-measures panel analysis in Python; R steps skip, never substitute,
  without Rscript.
metadata:
  version: 1.4.0
  author: Jiaming Shi
  license: MIT
  entry_point: python run.py
  python_requires: '>=3.10'
---

# longitudinal-analysis

Orchestrates a fixed pipeline of statistical steps over panel data and reports
each step's status. It never substitutes hand-written Python for a missing R
step.

- **Stage:** `gates` · **Sandbox:** no · **Dependencies:** `pandas` (`numpy`, R with lme4/lavaan, `python-docx` optional)

## Quick Execution

Run this exact form — do not read the source tree:

```bash
python run.py --root <WS> --action list-steps -- --config config/examples/behavior_2x2x2.yaml
```

- `validate` then `list-steps` shows which steps the config enables and which
  need R; `run` executes everything or one named step (`--step lmm`).
- **Never hand-write Python to replace a skipped R step, and never install
  R.** Report each step's own status; do not merge them into one verdict.
- The gate lands in `<WS>/process/gates/longitudinal-analysis_<ts>.json`.

## When to use

- The data has repeated measures (one or more sessions per subject).
- The request names LMM, mixed model, mediation or sensitivity analysis.
- Descriptive statistics or a manipulation check are needed over panel data.

## When NOT to use

- The data is a single cross-section — a plain test is enough.
- You intend to imitate a skipped R step in Python — never do that.

## More

- [actions, outputs, failure handling and limits](references/longitudinal-analysis-reference.md)

Files in this skill

  • .gitignore277 B
  • AUTHORS.md98 B
  • CHANGELOG.md1.8 KB
  • CITATION.cff804 B
  • LICENSE1 KB
  • R/lmm.R1 KB
  • R/mediation.R907 B
  • README.md1.1 KB
  • SKILL.md2.7 KB
  • config/examples/behavior_2x2x2.yaml950 B
  • config/schema.yaml449 B
  • manifest.json518 B
  • pyproject.toml566 B
  • requirements.txt296 B
  • run.py1.7 KB
  • src/__init__.py440 B
  • src/audit.py2.4 KB
  • src/cli.py4.6 KB
  • src/config.py4.5 KB
  • src/pipeline.py3.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.