Experimental Design
Use this skill when connecting Annolid tracking and behavior outputs to rigorous experimental hypotheses, blinding/unblinding workflows, and multi-animal cohort comparisons.
Statistical & Design Guardrails in Annolid
- Prevent Dyadic Pseudoreplication (
--unit recording):
- When multiple interacting animals share the same arena/cage (
resident+intruder, dyads, triads), subject-level rows within a recording are non-independent. - Use
annolid_behavior_cohortwithanalysis_unit="recording"(orannolid-run behavior-cohort ... --unit recording) so recordings—not co-housed animals—serve as the independent experimental unit.
- Blinded Scoring & Manifest Unblinding:
- Score videos blinded to treatment group, validate scorer consistency via
annolid_behavior_irr(annolid-run behavior-irr— target Cohen's $\kappa \ge 0.70$ or Krippendorff's $\alpha \ge 0.67$), and unblind only at cohort aggregation via--manifestor--metadata-csv.
- Right-Censored Latencies & Zero-Occurrence Denominators:
- Animals that never perform a behavior during a session must contribute
0occurrences/duration to group denominators (never be dropped!) and have right-censored first-bout latency analyzed via Kaplan-Meier median survival and Mantel-Cox log-rank tests (CohortComparisonRow.logrank_p_value).
- Multiple-Testing Control & Effect Sizes:
- Report Benjamini-Hochberg FDR-adjusted $q$-values (
q_value_bh) across behaviors alongside standardized effect sizes (Hedges' $g$, Cliff's $\delta$, and bootstrap 95% CIs).
Guidelines
- Prefer pre-specified primary endpoints (e.g. % time in open arms, social preference index, attack latency) over post-hoc fishing.
- Require identical
fps,session_duration, andpx_per_cmcalibration across treatment and control arms. - Run
annolid_track_qcandannolid_behavior_qcbefore running inferential group tests.