biostatistics-workbench

Fit GLMs and GLMMs to ecological data with model selection and diagnostics.

2|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/baratadiego/ecological-agent-skills --skill biostatistics-workbench
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: biostatistics-workbench
Source: https://github.com/baratadiego/ecological-agent-skills/tree/main/skills/biostatistics-workbench
Command: npx skills add https://github.com/baratadiego/ecological-agent-skills --skill biostatistics-workbench

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, pandas, statsmodels, matplotlib, scipy, and includes scripts (resource) components.

What problem does it solve?

Guides the agent through the selection, execution, and interpretation of statistical methods appropriate for ecological data. Covers classical tests, generalised linear models, mixed models, assumption diagnostics, effect size estimation, and model selection.

Core Features & Use Cases

  • GLM / GLMM fitting and model comparison for ecological data
  • Assumption diagnostics (normality, homoscedasticity, independence) and diagnostic reporting
  • Effect size estimation with confidence intervals and marginal/conditional R² for mixed models
  • Model selection using AIC/AICc/BIC and model averaging where appropriate
  • Use Case: Analyze species richness or occupancy data and compare alternative models to identify the strongest ecological relationships

Quick Start

Provide a ready-to-run GLM/GLMM workflow for ecological data and produce a concise results report.

Frequently Asked Questions about biostatistics-workbench

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fit a GLM or GLMM to ecological abundance data and check model assumptions?

To fit a GLM or GLMM to ecological abundance data, the workflow fits the model and then runs assumption diagnostics for normality, homoscedasticity, and residual checks. It validates the model and reports effect sizes with confidence intervals.

What is the best way to compare competing ecological models using AIC or BIC?

The best way to compare competing ecological models is by applying model selection with AIC, AICc, and BIC. The workflow evaluates alternative models and supports model averaging to identify the strongest ecological relationships.

How do I calculate effect sizes and marginal R-squared for mixed models in ecology?

To calculate effect sizes and marginal R-squared for mixed models in ecology, the workflow estimates effect sizes with confidence intervals and computes marginal and conditional R-squared values. This quantifies the variance explained by fixed and random effects.

Can I use numpy and pandas datasets for ecological hypothesis testing and regression analysis?

Yes, you can use numpy and pandas datasets for ecological hypothesis testing and regression analysis. The workflow relies on these dependencies to process data, perform classical tests, and execute regression analysis across ecological datasets.

When should I use GLMMs instead of classical tests for ecological occupancy data?

You should use GLMMs instead of classical tests for ecological occupancy data when dealing with hierarchical structure or random effects. The workflow selects appropriate statistical methods, fitting mixed models to account for nested ecological data.