Senior Data Scientist
Structured guide for A/B tests, feature pipelines, model evaluation, and difference-in-differences analysis in Python.
- CCM score
- 68 of 100
- skills.sh installs
- 1K
- GitHub stars
- 30.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers four workflows: A/B test design and analysis, feature engineering pipelines, model training and evaluation, and difference-in-differences causal estimation
- Includes runnable functions for sample sizing, two-proportion z-tests, cross-validated scoring, MLflow logging, and OLS DiD with HC3 errors
- Enforces checklists such as pre-start sample sizing, user-level randomisation, a sample ratio mismatch check, and fitting transformers on train data only
- Designed for analysts who need to set up or read an experiment, judge whether a change caused a lift, or assess a classifier's quality
Install
$ npx -y skills add alirezarezvani/claude-skills --skill senior-data-scientist -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Senior Data Scientist
World-class senior data scientist skill for production-grade AI/ML/Data systems.
Core Workflows
1. Design an A/B Test
import numpy as np
from scipy import stats
def calculate_sample_size(baseline_rate, mde, alpha=0.05, power=0.8):
"""
Calculate required sample size per variant.
baseline_rate: current conversion rate (e.g. 0.10)
mde: minimum detectable effect (relative, e.g. 0.05 = 5% lift)
"""
p1 = baseline_rate
p2 = baseline_rate * (1 + mde)
effect_size = abs(p2 - p1) / np.sqrt((p1 * (1 - p1) + p2 * (1 - p2)) / 2)
z_alpha = stats.norm.ppf(1 - alpha / 2)
z_beta = stats.norm.ppf(power)
n = ((z_alpha + z_beta) / effect_size) ** 2
return int(np.ceil(n))
Details
- Repository
- github.com/alirezarezvani/claude-skills
- Categories
- Data Science & Analytics, Python
- First seen
- Jun 3, 2026
More from alirezarezvani/claude-skills
All 259- Senior Ml Engineer962
- Agile Product Owner960
- Content Creator953
- Cto Advisor953
- Tech Stack Evaluator949
- Senior Secops948
- Cfo Advisor941
- Content Humanizer940
- App Store Optimization921
- Adversarial Reviewer906
- Security Pen Testing896
- Cold Email891
- Information Security Manager Iso27001890
- Database Designer889
- Marketing Strategy Pmm887
- Product Strategist885
- Risk Management Specialist885
- Red Team869
- Marketing Demand Acquisition863
- Skill Security Auditor858
- Scrum Master854
- Chief Of Staff838
- Jira Expert838
- Senior Pm837
Similar to Senior Data Scientist
More Data Science & Analyticsab-test-setupalirezarezvani/claude-skills651 installsStructured experiment-design guide with a bundled sample-size calculator for planning A/B, split, and multivariate tests.
data-scientistborghei/claude-skills456 installsSelection, feature engineering, and evaluation guidance for ML, statistics, and A/B tests, with a clarify-first workflow.
experiment-designeralirezarezvani/claude-skills627 installsPractical experiment planning covering hypotheses, sample size, prioritization, and statistically sound result interpretation.
analyze-resultswanshuiyin/auto-claude-code-research-in-sleep623 installsStructured workflow for analyzing ML experiment results: comparison tables, statistics, and written insights.
ab-test-designerpmprompt/claude-plugin-product-management393 installsStructured prompt-and-checklist skill for designing A/B tests with hypotheses, metrics, and analysis plans.
ab-test-analysisphuryn/pm-skills3.1K installsRigorous A/B test analysis that checks power and guardrails before recommending ship, extend, or stop.