Confounding Adjustment
CommunityControl time-varying confounders in time series.
Authorntluong95
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the critical challenge of controlling for time-varying confounders in environmental time series studies, ensuring more accurate estimations of exposure-health relationships.
Core Features & Use Cases
- Trend and Seasonality Adjustment: Implements flexible splines (
ns()) to model and remove long-term trends and seasonal patterns. - Meteorological Confounder Control: Provides methods for adjusting for temperature and humidity using natural splines or cross-basis functions.
- Calendar Effect Integration: Includes options for incorporating day-of-week, public holidays, and other calendar-related factors.
- Use Case: When analyzing the impact of air pollution on respiratory hospital admissions, this Skill helps adjust for daily temperature fluctuations and yearly seasonal trends that could otherwise bias the pollution effect estimate.
Quick Start
Use the confounding adjustment skill to control for a long-term trend and seasonality using 7 degrees of freedom per year in your R model.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Confounding Adjustment Download link: https://github.com/ntluong95/agent-skills-statistics/archive/main.zip#confounding-adjustment Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.