[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EMDEKB206WH3E9DZ1W3BDK":3,"skill-same:01M7EMDEKB206WH3E9DZ1W3BDK":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},"01M7EMDEKB206WH3E9DZ1W3BDK","biostatistics",null,"Statistical methods for biology and medicine — study design, hypothesis testing, regression, and survival analysis.","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-biostatistics\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: biostatistics\ndescription: Statistical methods for biology and medicine — study design, hypothesis testing, regression, and survival analysis.\ncategory: scientific\n---\n\n## Overview\n\nbiostatistics is the application of statistical reasoning to biological and medical data. It covers\nstudy design (how to collect data that can answer the question), inference (hypothesis tests and\nconfidence intervals that respect the data's structure), and modeling (regression, mixed models,\nsurvival analysis) for messy, real-world biomedical datasets with missing values, confounding, and\nsmall samples.\n\nThe emphasis is on correct application, not mathematical derivation: choosing the right test for the\ndata type, checking assumptions, handling multiplicity, and reporting effect sizes with uncertainty —\nthe things that separate a defensible analysis from a p-value lottery.\n\n## When to use\n\n- Designing a study: sample-size\u002Fpower calculation, randomization scheme, primary vs secondary\n  endpoints.\n- Choosing a test: t-test vs Mann-Whitney, chi-square vs Fisher, ANOVA vs Kruskal-Wallis, paired\n  vs unpaired designs.\n- Modeling: linear\u002Flogistic regression, mixed-effects models for repeated measures or clustered\n  data, Cox proportional hazards for time-to-event.\n- Survival analysis: Kaplan-Meier curves, log-rank tests, competing risks.\n- Diagnostic studies: sensitivity\u002Fspecificity, ROC\u002FAUC, predictive values, likelihood ratios.\n- Meta-analysis: pooling effect sizes, heterogeneity (I²), fixed vs random effects.\n- Reviewing a paper: checking whether the statistics support the conclusions.\n\n## Core concepts\n\n- **Power and sample size.** Power = probability of detecting a real effect. Calculate n from the\n  minimum clinically\u002Fbiologically meaningful effect, expected variance, alpha (usually 0.05), and\n  target power (usually 0.80). Underpowered studies waste resources and produce false negatives;\n  they also inflate the false-positive rate among \"significant\" findings.\n- **Data types drive test choice.** Continuous normal → parametric (t-test, ANOVA, Pearson);\n  continuous non-normal or ordinal → non-parametric (Mann-Whitney, Kruskal-Wallis, Spearman);\n  categorical → chi-square\u002FFisher; counts → Poisson\u002Fnegative binomial; time-to-event → survival\n  methods. A test on the wrong data type is invalid regardless of the p-value.\n- **Assumptions are checkable.** Normality (Q-Q plots, Shapiro-Wilk), equal variance (Levene),\n  linearity, independence of observations. Document the checks; switch methods when they fail.\n- **Confounding vs mediation vs effect modification.** Confounders distort the exposure-outcome\n  association and must be adjusted for; mediators lie on the causal path and adjusting for them\n  can erase the real effect; effect modifiers mean the effect differs by subgroup (test with\n  interaction terms, not by fishing through subgroups).\n- **Multiple testing.** Every extra test inflates the false-positive rate. Use Bonferroni\u002FHolm\n  for confirmatory families, FDR (Benjamini-Hochberg) for exploratory screening like omics, and\n  prespecify primary endpoints so one cannot shop for significance.\n- **Effect sizes with uncertainty.** A p-value says nothing about magnitude. Report mean differences,\n  odds ratios, hazard ratios, or risk differences with 95% confidence intervals. A \"significant\"\n  effect of trivial size is usually not actionable.\n- **Missing data.** Classify as MCAR\u002FMAR\u002FMNAR. Complete-case analysis is only valid under MCAR.\n  Prefer multiple imputation or likelihood-based methods under MAR; MNAR needs sensitivity analyses.\n- **Survival analysis specifics.** Censoring must be non-informative; check proportional hazards\n  (Schoenfeld residuals); Kaplan-Meier for description, Cox for adjustment; competing risks need\n  Fine-Gray, not naive Kaplan-Meier.\n\n## Practical workflow\n\n1. **Define the question and estimand.** What population, what comparison, what outcome, what time\n   horizon? Write the primary analysis plan before seeing the data.\n2. **Power calculation.** Use the smallest meaningful effect size; add 10-20% for dropout. Record\n   the assumptions — they will be audited.\n3. **Data audit.** Distributions, missingness patterns, outliers, impossible values. Clean\n   reproducibly (scripted, never by hand in a spreadsheet).\n4. **Exploratory plots.** Histograms, boxplots by group, scatterplots, survival curves. Choose the\n   model family from what you see, not from habit.\n5. **Primary analysis.** Prespecified model, assumption checks, adjusted estimates with CIs.\n6. **Sensitivity analyses.** Alternative missing-data handling, per-protocol vs intention-to-treat,\n   subgroup checks with interaction tests.\n7. **Report.** CONSORT\u002FSTROBE-style flow of participants, baseline table, primary result with\n   effect size + CI, then secondary\u002Fexploratory clearly labeled.\n\nExample (R sketch):\n```r\npower.t.test(delta = 5, sd = 10, power = 0.8)          # sample size\nwilcox.test(outcome ~ group, data = d)                 # non-normal comparison\nfit \u003C- coxph(Surv(time, event) ~ treatment + age, data = d)\ncox.zph(fit)                                            # proportional-hazards check\n```\n\n## Common pitfalls\n\n- p-hacking: running many unplanned analyses until something is \"significant.\"\n- Treating ordinal scales (e.g. pain scores) as continuous without checking.\n- Ignoring clustering (patients within hospitals, repeated measures) — standard errors collapse.\n- Survivor bias \u002F immortal-time bias in observational survival comparisons.\n- Interpreting a non-significant result as \"no effect\" rather than \"insufficient evidence.\"\n- Overfitting: more predictors than events (rule of thumb: ≥10 events per variable in logistic\u002FCox).\n- Reporting relative risk without absolute risk — a 50% relative reduction can be clinically trivial.\n","## Overview\n\nbiostatistics is the application of statistical reasoning to biological and medical data. It covers\nstudy design (how to collect data that can answer the question), inference (hypothesis tests and\nconfidence intervals that respect the data's structure), and modeling (regression, mixed models,\nsurvival analysis) for messy, real-world biomedical datasets with missing values, confounding, and\nsmall samples.\n\nThe emphasis is on correct application, not mathematical derivation: choosing the right test for the\ndata type, checking assumptions, handling multiplicity, and reporting effect sizes with uncertainty —\nthe things that separate a defensible analysis from a p-value lottery.\n\n## When to use\n\n- Designing a study: sample-size\u002Fpower calculation, randomization scheme, primary vs secondary\n  endpoints.\n- Choosing a test: t-test vs Mann-Whitney, chi-square vs Fisher, ANOVA vs Kruskal-Wallis, paired\n  vs unpaired designs.\n- Modeling: linear\u002Flogistic regression, mixed-effects models for repeated measures or clustered\n  data, Cox proportional hazards for time-to-event.\n- Survival analysis: Kaplan-Meier curves, log-rank tests, competing risks.\n- Diagnostic studies: sensitivity\u002Fspecificity, ROC\u002FAUC, predictive values, likelihood ratios.\n- Meta-analysis: pooling effect sizes, heterogeneity (I²), fixed vs random effects.\n- Reviewing a paper: checking whether the statistics support the conclusions.\n\n## Core concepts\n\n- **Power and sample size.** Power = probability of detecting a real effect. Calculate n from the\n  minimum clinically\u002Fbiologically meaningful effect, expected variance, alpha (usually 0.05), and\n  target power (usually 0.80). Underpowered studies waste resources and produce false negatives;\n  they also inflate the false-positive rate among \"significant\" findings.\n- **Data types drive test choice.** Continuous normal → parametric (t-test, ANOVA, Pearson);\n  continuous non-normal or ordinal → non-parametric (Mann-Whitney, Kruskal-Wallis, Spearman);\n  categorical → chi-square\u002FFisher; counts → Poisson\u002Fnegative binomial; time-to-event → survival\n  methods. A test on the wrong data type is invalid regardless of the p-value.\n- **Assumptions are checkable.** Normality (Q-Q plots, Shapiro-Wilk), equal variance (Levene),\n  linearity, independence of observations. Document the checks; switch methods when they fail.\n- **Confounding vs mediation vs effect modification.** Confounders distort the exposure-outcome\n  association and must be adjusted for; mediators lie on the causal path and adjusting for them\n  can erase the real effect; effect modifiers mean the effect differs by subgroup (test with\n  interaction terms, not by fishing through subgroups).\n- **Multiple testing.** Every extra test inflates the false-positive rate. Use Bonferroni\u002FHolm\n  for confirmatory families, FDR (Benjamini-Hochberg) for exploratory screening like omics, and\n  prespecify primary endpoints so one cannot shop for significance.\n- **Effect sizes with uncertainty.** A p-value says nothing about magnitude. Report mean differences,\n  odds ratios, hazard ratios, or risk differences with 95% confidence intervals. A \"significant\"\n  effect of trivial size is usually not actionable.\n- **Missing data.** Classify as MCAR\u002FMAR\u002FMNAR. Complete-case analysis is only valid under MCAR.\n  Prefer multiple imputation or likelihood-based methods under MAR; MNAR needs sensitivity analyses.\n- **Survival analysis specifics.** Censoring must be non-informative; check proportional hazards\n  (Schoenfeld residuals); Kaplan-Meier for description, Cox for adjustment; competing risks need\n  Fine-Gray, not naive Kaplan-Meier.\n\n## Practical workflow\n\n1. **Define the question and estimand.** What population, what comparison, what outcome, what time\n   horizon? Write the primary analysis plan before seeing the data.\n2. **Power calculation.** Use the smallest meaningful effect size; add 10-20% for dropout. Record\n   the assumptions — they will be audited.\n3. **Data audit.** Distributions, missingness patterns, outliers, impossible values. Clean\n   reproducibly (scripted, never by hand in a spreadsheet).\n4. **Exploratory plots.** Histograms, boxplots by group, scatterplots, survival curves. Choose the\n   model family from what you see, not from habit.\n5. **Primary analysis.** Prespecified model, assumption checks, adjusted estimates with CIs.\n6. **Sensitivity analyses.** Alternative missing-data handling, per-protocol vs intention-to-treat,\n   subgroup checks with interaction tests.\n7. **Report.** CONSORT\u002FSTROBE-style flow of participants, baseline table, primary result with\n   effect size + CI, then secondary\u002Fexploratory clearly labeled.\n\nExample (R sketch):\n```r\npower.t.test(delta = 5, sd = 10, power = 0.8)          # sample size\nwilcox.test(outcome ~ group, data = d)                 # non-normal comparison\nfit \u003C- coxph(Surv(time, event) ~ treatment + age, data = d)\ncox.zph(fit)                                            # proportional-hazards check\n```\n\n## Common pitfalls\n\n- p-hacking: running many unplanned analyses until something is \"significant.\"\n- Treating ordinal scales (e.g. pain scores) as continuous without checking.\n- Ignoring clustering (patients within hospitals, repeated measures) — standard errors collapse.\n- Survivor bias \u002F immortal-time bias in observational survival comparisons.\n- Interpreting a non-significant result as \"no effect\" rather than \"insufficient evidence.\"\n- Overfitting: more predictors than events (rule of thumb: ≥10 events per variable in logistic\u002FCox).\n- Reporting relative risk without absolute risk — a 50% relative reduction can be clinically trivial.\n",{"name":5,"category":24,"description":7},"scientific","main","af388a77c2fe5e0b4fd879cca4300a0ffa9a6579","skills\u002Fams-biostatistics",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 biostatistics",{"tool":39,"command":40},"bunx","bunx skills add TanNhatCMS\u002Fjarvis --skill biostatistics",{"tool":42,"command":43},"pnpm","pnpm dlx skills add TanNhatCMS\u002Fjarvis --skill biostatistics","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-biostatistics\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",[],[]]