[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EMD5EW0X436RE9PFPXR6RZ":3,"skill-same:01M7EMD5EW0X436RE9PFPXR6RZ":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7EMD5EW0X436RE9PFPXR6RZ","behavioral-data-analysis",null,"Analyzing behavioral experiment data — RT\u002Faccuracy preprocessing, mixed-effects models, and robust inference.","TanNhatCMS\u002Fjarvis","TanNhatCMS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113796420?v=4","01M753MV17KG5CD3152G3WQEQY","KietNT","01M7EKEDYVYQ6PWVJJMZ911VMX",0,"MIT","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-behavioral-data-analysis\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: behavioral-data-analysis\ndescription: Analyzing behavioral experiment data — RT\u002Faccuracy preprocessing, mixed-effects models, and robust inference.\ncategory: scientific\n---\n\n## Overview\n\nbehavioral-data-analysis covers the practical statistics of human performance data: reaction times,\naccuracy, choices, and ratings from psychology experiments. It focuses on the preprocessing\ndecisions that make or break RT analyses (trimming, transformations), the mixed-effects models that\nhave replaced repeated-measures ANOVA, and robust inference for the skewed, outlier-prone data\nbehavioral science produces.\n\n## When to use\n\n- Preprocessing RT data: outlier handling, trimming vs transformations, speed-accuracy trade-offs.\n- Accuracy\u002Fproportion data: logistic mixed models instead of ANOVA on percentages.\n- Repeated-measures designs: linear mixed-effects models with crossed random effects.\n- Choice data: logistic regression, drift-diffusion modeling basics.\n- Rating scale data: ordinal models vs treating Likert as continuous.\n- Power and inference: contrasts, emmeans, multiplicity control.\n- Reproducible analysis pipelines for behavioral datasets.\n\n## Core concepts\n\n- **RT distributions are skewed.** Reaction times are never normal — they're ex-Gaussian-ish with\n  a long right tail. Options: log or inverse transform, or model directly (GLMM with Gamma\u002Finverse-\n  Gaussian family, or ex-Gaussian models). Don't just trim 2 SD and run ANOVA and hope.\n- **Outlier handling, preregistered.** Common rules: drop RTs \u003C200 ms (anticipations) and >2-3 s\n  or >3 SD from the participant's condition mean; or use robust methods. Whatever the rule,\n  decide before analysis and report how many trials were lost. Never tune the cutoff to the\n  result.\n- **Speed-accuracy trade-off.** Faster responses are often less accurate. Analyze RT and accuracy\n  together; a \"faster\" condition with more errors may show nothing at all. Consider inverse\n  efficiency or, better, drift-diffusion modeling to separate drift rate from caution.\n- **Mixed-effects models.** `RT ~ condition + (1 + condition | subject) + (1 + condition | item)`\n  — crossed random effects for subjects and items handle the repeated-measures structure that\n  ANOVA mangles. Maximal random-effects structure justified by the design (Barr et al.); simplify\n  only on convergence grounds, transparently.\n- **Accuracy needs logistic models.** `glmer(accuracy ~ condition + (1|subject), family=binomial)`.\n  ANOVA on proportions violates every assumption (bounded, heteroscedastic). Report odds ratios\n  or predicted probabilities, not just p-values.\n- **Contrasts, not omnibus tests.** A significant 3-level ANOVA tells you almost nothing. Specify\n  planned contrasts (treatment vs control, linear trend) that test the hypothesis directly.\n- **Ordinal data.** Likert ratings are ordinal — consider cumulative link mixed models\n  (`ordinal::clmm`) rather than pretending 1-7 is interval. In practice linear models are often\n  robust, but check with an ordinal model as sensitivity analysis.\n- **Multiplicity.** Families of post-hoc comparisons need correction (Tukey, Holm, FDR).\n  Exploratory model fishing across transformations and subsets is p-hacking — preregister the\n  pipeline.\n\n## Practical workflow\n\n1. **Audit.** Trial counts per cell, missing data, impossible values, participant-level\n   summaries. Plot RT distributions per condition before any modeling.\n2. **Preprocess (preregistered).** Apply exclusion rules; transform or choose model family based\n   on the distribution you see in pilot\u002Fblind data.\n3. **Model.** LMM for RT (transformed or Gamma GLMM), binomial GLMM for accuracy, CLMM for\n   ratings. Maximal random effects; check convergence and singularity.\n4. **Check.** Residual plots, random-effect distributions, influence diagnostics. Refit without\n   influential participants as sensitivity analysis.\n5. **Inference.** Planned contrasts with CIs (emmeans); report effect sizes in original units\n   (ms differences, percentage points) alongside standardized ones.\n6. **Report.** Exclusion counts, transformation\u002Fmodel family, random-effects structure,\n   convergence notes, and the analysis script. Follow the preregistration; label deviations.\n\nExample (R sketch):\n```r\nlibrary(lme4)\nd \u003C- subset(d, rt > 0.2 & rt \u003C 3)                 # preregistered exclusions\nm \u003C- lmer(log(rt) ~ condition + (1 + condition | subject) + (1 | item), data = d)\nm_acc \u003C- glmer(acc ~ condition + (1 | subject) + (1 | item), data = d, family = binomial)\nemmeans::emmeans(m, pairwise ~ condition)\n```\n\n## Common pitfalls\n\n- ANOVA on raw RTs or on accuracy proportions.\n- Post-hoc outlier trimming tuned to produce significance.\n- Ignoring the speed-accuracy trade-off (reporting RT effects with unreported accuracy costs).\n- Random-intercepts-only models when the design needs random slopes (inflated Type I error).\n- Treating participants as fixed or averaging away item variance (\"language-as-fixed-effect\").\n- Uncorrected post-hoc t-tests after every ANOVA.\n- Analyzing only correct-trial RTs without checking whether errors differ by condition.\n","## Overview\n\nbehavioral-data-analysis covers the practical statistics of human performance data: reaction times,\naccuracy, choices, and ratings from psychology experiments. It focuses on the preprocessing\ndecisions that make or break RT analyses (trimming, transformations), the mixed-effects models that\nhave replaced repeated-measures ANOVA, and robust inference for the skewed, outlier-prone data\nbehavioral science produces.\n\n## When to use\n\n- Preprocessing RT data: outlier handling, trimming vs transformations, speed-accuracy trade-offs.\n- Accuracy\u002Fproportion data: logistic mixed models instead of ANOVA on percentages.\n- Repeated-measures designs: linear mixed-effects models with crossed random effects.\n- Choice data: logistic regression, drift-diffusion modeling basics.\n- Rating scale data: ordinal models vs treating Likert as continuous.\n- Power and inference: contrasts, emmeans, multiplicity control.\n- Reproducible analysis pipelines for behavioral datasets.\n\n## Core concepts\n\n- **RT distributions are skewed.** Reaction times are never normal — they're ex-Gaussian-ish with\n  a long right tail. Options: log or inverse transform, or model directly (GLMM with Gamma\u002Finverse-\n  Gaussian family, or ex-Gaussian models). Don't just trim 2 SD and run ANOVA and hope.\n- **Outlier handling, preregistered.** Common rules: drop RTs \u003C200 ms (anticipations) and >2-3 s\n  or >3 SD from the participant's condition mean; or use robust methods. Whatever the rule,\n  decide before analysis and report how many trials were lost. Never tune the cutoff to the\n  result.\n- **Speed-accuracy trade-off.** Faster responses are often less accurate. Analyze RT and accuracy\n  together; a \"faster\" condition with more errors may show nothing at all. Consider inverse\n  efficiency or, better, drift-diffusion modeling to separate drift rate from caution.\n- **Mixed-effects models.** `RT ~ condition + (1 + condition | subject) + (1 + condition | item)`\n  — crossed random effects for subjects and items handle the repeated-measures structure that\n  ANOVA mangles. Maximal random-effects structure justified by the design (Barr et al.); simplify\n  only on convergence grounds, transparently.\n- **Accuracy needs logistic models.** `glmer(accuracy ~ condition + (1|subject), family=binomial)`.\n  ANOVA on proportions violates every assumption (bounded, heteroscedastic). Report odds ratios\n  or predicted probabilities, not just p-values.\n- **Contrasts, not omnibus tests.** A significant 3-level ANOVA tells you almost nothing. Specify\n  planned contrasts (treatment vs control, linear trend) that test the hypothesis directly.\n- **Ordinal data.** Likert ratings are ordinal — consider cumulative link mixed models\n  (`ordinal::clmm`) rather than pretending 1-7 is interval. In practice linear models are often\n  robust, but check with an ordinal model as sensitivity analysis.\n- **Multiplicity.** Families of post-hoc comparisons need correction (Tukey, Holm, FDR).\n  Exploratory model fishing across transformations and subsets is p-hacking — preregister the\n  pipeline.\n\n## Practical workflow\n\n1. **Audit.** Trial counts per cell, missing data, impossible values, participant-level\n   summaries. Plot RT distributions per condition before any modeling.\n2. **Preprocess (preregistered).** Apply exclusion rules; transform or choose model family based\n   on the distribution you see in pilot\u002Fblind data.\n3. **Model.** LMM for RT (transformed or Gamma GLMM), binomial GLMM for accuracy, CLMM for\n   ratings. Maximal random effects; check convergence and singularity.\n4. **Check.** Residual plots, random-effect distributions, influence diagnostics. Refit without\n   influential participants as sensitivity analysis.\n5. **Inference.** Planned contrasts with CIs (emmeans); report effect sizes in original units\n   (ms differences, percentage points) alongside standardized ones.\n6. **Report.** Exclusion counts, transformation\u002Fmodel family, random-effects structure,\n   convergence notes, and the analysis script. Follow the preregistration; label deviations.\n\nExample (R sketch):\n```r\nlibrary(lme4)\nd \u003C- subset(d, rt > 0.2 & rt \u003C 3)                 # preregistered exclusions\nm \u003C- lmer(log(rt) ~ condition + (1 + condition | subject) + (1 | item), data = d)\nm_acc \u003C- glmer(acc ~ condition + (1 | subject) + (1 | item), data = d, family = binomial)\nemmeans::emmeans(m, pairwise ~ condition)\n```\n\n## Common pitfalls\n\n- ANOVA on raw RTs or on accuracy proportions.\n- Post-hoc outlier trimming tuned to produce significance.\n- Ignoring the speed-accuracy trade-off (reporting RT effects with unreported accuracy costs).\n- Random-intercepts-only models when the design needs random slopes (inflated Type I error).\n- Treating participants as fixed or averaging away item variance (\"language-as-fixed-effect\").\n- Uncorrected post-hoc t-tests after every ANOVA.\n- Analyzing only correct-trial RTs without checking whether errors differ by condition.\n",{"name":5,"category":24,"description":7},"scientific","main","af388a77c2fe5e0b4fd879cca4300a0ffa9a6579","skills\u002Fams-behavioral-data-analysis",1,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis","https:\u002F\u002Fgithub.com\u002FTanNhatCMS","https:\u002F\u002Fmrkiet.name.vn","2026-11-07 14:23:08",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add TanNhatCMS\u002Fjarvis --skill behavioral-data-analysis",{"tool":39,"command":40},"bunx","bunx skills add TanNhatCMS\u002Fjarvis --skill behavioral-data-analysis",{"tool":42,"command":43},"pnpm","pnpm dlx skills add TanNhatCMS\u002Fjarvis --skill behavioral-data-analysis","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-behavioral-data-analysis\u002FSKILL.md",true,[],[48,55,63,70,77,84],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7EWYJR0J8DARY7E59Z6Y9MV","web-scrape","Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open\u002Ffetch fails on JS-heavy pages, or when you need clean markdown\u002Fstructured extraction from a site. Requires FIRECRAWL_API_KEY.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fweb-scrape\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":59,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7EWYBN5P6F2AJG3FR24T9BP","design-taste-frontend","tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML\u002FCSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, \"AI-made\", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7EWY8FQFNQ2GB7NZZWGSSDX","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-tdd\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7EWY5SHBFRH1HDHVWM9K7TV","systematic-debugging","Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-debugging\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7EWY3NM0Z0JAKS7HDZ24K66","requesting-code-review","Use when completing tasks, implementing major features, or before merging to verify work meets requirements","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-code-review\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7EWY0WRMWX4M9ZFY0WKC593","brainstorming","You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-brainstorming\u002FSKILL.md",[],[]]