people-analytics

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

People Analytics

人才分析

Expert-level people analytics for data-driven HR decisions.
面向数据驱动型HR决策的专业级人才分析方案。

Core Competencies

核心能力

  • Workforce analytics
  • HR metrics development
  • Predictive modeling
  • Survey analysis
  • Reporting and visualization
  • Statistical analysis
  • Data governance
  • Storytelling with data
  • 劳动力分析
  • HR指标构建
  • 预测建模
  • 调研分析
  • 报告与可视化
  • 统计分析
  • 数据治理
  • 数据叙事

People Analytics Framework

人才分析框架

Analytics Maturity

分析成熟度

LEVEL 1: Operational Reporting
├── Headcount reports
├── Basic HR metrics
├── Compliance reporting
└── Ad-hoc queries

LEVEL 2: Advanced Reporting
├── Dashboards
├── Trend analysis
├── Benchmarking
└── Segmentation

LEVEL 3: Analytics
├── Statistical analysis
├── Correlation analysis
├── Root cause analysis
└── What-if modeling

LEVEL 4: Predictive
├── Turnover prediction
├── Performance modeling
├── Workforce planning
└── Risk assessment

LEVEL 5: Prescriptive
├── Automated recommendations
├── Real-time insights
├── AI-driven decisions
└── Continuous optimization
LEVEL 1: 运营报告
├── 员工总数报告
├── 基础HR指标
├── 合规报告
└── 临时查询

LEVEL 2: 高级报告
├── 仪表盘
├── 趋势分析
├── 基准对比
└── 细分分析

LEVEL 3: 分析阶段
├── 统计分析
├── 相关性分析
├── 根因分析
└── 假设场景建模

LEVEL 4: 预测阶段
├── 离职预测
├── 绩效建模
├── 劳动力规划
└── 风险评估

LEVEL 5: 决策建议阶段
├── 自动化推荐
├── 实时洞察
├── AI驱动决策
└── 持续优化

Analytics Domains

分析领域

PEOPLE ANALYTICS DOMAINS

WORKFORCE PLANNING
├── Headcount planning
├── Capacity modeling
├── Skills gap analysis
└── Succession planning

TALENT ACQUISITION
├── Sourcing effectiveness
├── Time to fill
├── Quality of hire
├── Diversity hiring

PERFORMANCE & DEVELOPMENT
├── Performance distribution
├── Learning effectiveness
├── Career progression
└── High-potential identification

ENGAGEMENT & RETENTION
├── Employee satisfaction
├── Turnover analysis
├── Engagement drivers
└── Flight risk prediction

COMPENSATION & REWARDS
├── Pay equity analysis
├── Compensation benchmarking
├── Benefits utilization
└── Total rewards optimization

DIVERSITY & INCLUSION
├── Representation metrics
├── Pay gap analysis
├── Promotion equity
└── Inclusion sentiment
人才分析领域

劳动力规划
├── 员工总数规划
├── 产能建模
├── 技能差距分析
└── 继任规划

人才招聘
├── 招聘渠道有效性
├── 填补空缺时长
├── 招聘质量
└── 多元化招聘

绩效与发展
├── 绩效分布
├── 学习有效性
├── 职业发展
└── 高潜力人才识别

敬业度与留存
├── 员工满意度
├── 离职分析
├── 敬业度驱动因素
└── 离职风险预测

薪酬与福利
├── 薪酬公平性分析
├── 薪酬基准对比
├── 福利利用率
└── 整体薪酬优化

多元化与包容性
├── 代表性指标
├── 薪酬差距分析
├── 晋升公平性
└── 包容度调研

HR Metrics

HR指标

Core Metrics Framework

核心指标框架

Workforce Metrics:
MetricFormulaBenchmark
HeadcountTotal employees-
FTEFull-time equivalents-
Turnover Rate(Separations / Avg HC) × 10010-15%
Retention Rate(Retained / Starting HC) × 10085-90%
Time to FillDays req open to offer accept30-45 days
Cost per HireTotal recruiting cost / Hires$3-5K
Performance Metrics:
MetricFormulaBenchmark
High Performers% rated top tier15-20%
Performance DistributionRating distributionNormal curve
Goal CompletionGoals achieved / Goals set80%+
Promotion RatePromotions / Headcount8-12%
Engagement Metrics:
MetricFormulaBenchmark
eNPSPromoters - Detractors20-40
Engagement ScoreSurvey composite70%+
AbsenteeismAbsent days / Work days<3%
Regrettable TurnoverRegrettable exits / Total exits<30%
劳动力指标:
指标计算公式基准值
Headcount员工总数-
FTE全职等效人数-
离职率(离职人数 / 平均员工数) × 10010-15%
留存率(留存员工数 / 期初员工数) × 10085-90%
填补空缺时长职位发布到接受offer的天数30-45天
人均招聘成本总招聘成本 / 招聘人数$3-5K
绩效指标:
指标计算公式基准值
高绩效员工占比顶级评级员工占比15-20%
绩效分布评级分布正态曲线
目标完成率已完成目标数 / 设定目标数80%+
晋升率晋升人数 / 员工总数8-12%
敬业度指标:
指标计算公式基准值
eNPS推荐者占比 - 贬损者占比20-40
敬业度得分调研综合得分70%+
缺勤率缺勤天数 / 工作日天数<3%
遗憾离职率遗憾离职人数 / 总离职人数<30%

Metrics Dashboard

指标仪表盘

┌─────────────────────────────────────────────────────────────────┐
│              PEOPLE ANALYTICS DASHBOARD                          │
├─────────────────────────────────────────────────────────────────┤
│  Headcount       Turnover        Engagement      Diversity       │
│  2,847           12.5%           78%             42% women       │
│  +124 YTD        -2% vs LY       +3% vs LY       +5% vs LY      │
├─────────────────────────────────────────────────────────────────┤
│  TURNOVER BY DEPARTMENT                                          │
│  Engineering: 8%    Sales: 18%    Support: 15%    Ops: 10%      │
├─────────────────────────────────────────────────────────────────┤
│  ENGAGEMENT DRIVERS                                              │
│  Career Growth: 72%    Manager: 81%    Culture: 85%    Pay: 68% │
├─────────────────────────────────────────────────────────────────┤
│  TENURE DISTRIBUTION                                             │
│  <1yr: 25%    1-3yr: 35%    3-5yr: 22%    5+yr: 18%            │
└─────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────┐
│              人才分析仪表盘                                      │
├─────────────────────────────────────────────────────────────────┤
│  员工总数       离职率        敬业度      多元化                     │
│  2,847           12.5%           78%             女性占比42%       │
│  今年至今+124        同比-2%       同比+3%       同比+5%      │
├─────────────────────────────────────────────────────────────────┤
│  各部门离职率分布                                                │
│  工程部门: 8%    销售部门: 18%    支持部门: 15%    运营部门: 10%      │
├─────────────────────────────────────────────────────────────────┤
│  敬业度驱动因素                                                │
│  职业发展: 72%    经理管理: 81%    企业文化: 85%    薪酬福利: 68% │
├─────────────────────────────────────────────────────────────────┤
│  司龄分布                                                     │
│  <1年: 25%    1-3年: 35%    3-5年: 22%    5年以上: 18%            │
└─────────────────────────────────────────────────────────────────┘

Predictive Analytics

预测分析

Turnover Prediction

离职预测

python
import pandas as pd
from sklearn.ensemble import RandomForestClassifier
from sklearn.model_selection import train_test_split

def build_turnover_model(employee_data):
    """
    Build a turnover prediction model
    """
    # Feature engineering
    features = [
        'tenure_months',
        'salary_ratio_to_market',
        'performance_rating',
        'promotion_wait_months',
        'manager_tenure',
        'team_size',
        'commute_distance',
        'engagement_score',
        'training_hours_ytd',
        'projects_completed'
    ]

    X = employee_data[features]
    y = employee_data['left_company']

    # Train/test split
    X_train, X_test, y_train, y_test = train_test_split(
        X, y, test_size=0.2, random_state=42
    )

    # Train model
    model = RandomForestClassifier(n_estimators=100, random_state=42)
    model.fit(X_train, y_train)

    # Feature importance
    importance = pd.DataFrame({
        'feature': features,
        'importance': model.feature_importances_
    }).sort_values('importance', ascending=False)

    return model, importance

def predict_flight_risk(model, current_employees):
    """
    Score current employees for flight risk
    """
    probabilities = model.predict_proba(current_employees)[:, 1]

    risk_levels = pd.cut(
        probabilities,
        bins=[0, 0.25, 0.5, 0.75, 1.0],
        labels=['Low', 'Medium', 'High', 'Critical']
    )

    return pd.DataFrame({
        'employee_id': current_employees['employee_id'],
        'flight_risk_score': probabilities,
        'risk_level': risk_levels
    })
python
import pandas as pd
from sklearn.ensemble import RandomForestClassifier
from sklearn.model_selection import train_test_split

def build_turnover_model(employee_data):
    """
    构建离职预测模型
    """
    # 特征工程
    features = [
        'tenure_months',
        'salary_ratio_to_market',
        'performance_rating',
        'promotion_wait_months',
        'manager_tenure',
        'team_size',
        'commute_distance',
        'engagement_score',
        'training_hours_ytd',
        'projects_completed'
    ]

    X = employee_data[features]
    y = employee_data['left_company']

    # 训练/测试集拆分
    X_train, X_test, y_train, y_test = train_test_split(
        X, y, test_size=0.2, random_state=42
    )

    # 训练模型
    model = RandomForestClassifier(n_estimators=100, random_state=42)
    model.fit(X_train, y_train)

    # 特征重要性
    importance = pd.DataFrame({
        'feature': features,
        'importance': model.feature_importances_
    }).sort_values('importance', ascending=False)

    return model, importance

def predict_flight_risk(model, current_employees):
    """
    为现有员工计算离职风险得分
    """
    probabilities = model.predict_proba(current_employees)[:, 1]

    risk_levels = pd.cut(
        probabilities,
        bins=[0, 0.25, 0.5, 0.75, 1.0],
        labels=['Low', 'Medium', 'High', 'Critical']
    )

    return pd.DataFrame({
        'employee_id': current_employees['employee_id'],
        'flight_risk_score': probabilities,
        'risk_level': risk_levels
    })

Flight Risk Dashboard

离职风险仪表盘

┌─────────────────────────────────────────────────────────────────┐
│              FLIGHT RISK ANALYSIS                                │
├─────────────────────────────────────────────────────────────────┤
│  RISK DISTRIBUTION                                               │
│  Critical: 45 (3%)   High: 128 (9%)   Medium: 312 (22%)        │
│  Low: 934 (66%)                                                  │
├─────────────────────────────────────────────────────────────────┤
│  TOP RISK FACTORS                                                │
│  1. Time since last promotion: 0.28                             │
│  2. Salary vs market: 0.22                                      │
│  3. Manager tenure: 0.18                                        │
│  4. Engagement score: 0.15                                      │
│  5. Commute distance: 0.08                                      │
├─────────────────────────────────────────────────────────────────┤
│  HIGH RISK BY DEPARTMENT                                         │
│  Sales: 42 (15%)    Engineering: 28 (8%)    Support: 18 (12%)  │
├─────────────────────────────────────────────────────────────────┤
│  RECOMMENDED INTERVENTIONS                                       │
│  • 23 employees: Compensation review                            │
│  • 18 employees: Career conversation                            │
│  • 12 employees: Manager change                                 │
└─────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────┐
│              离职风险分析                                        │
├─────────────────────────────────────────────────────────────────┤
│  风险分布                                                     │
│  极高风险: 45 (3%)   高风险: 128 (9%)   中风险: 312 (22%)        │
│  低风险: 934 (66%)                                                  │
├─────────────────────────────────────────────────────────────────┤
│  核心风险因素                                                │
│  1. 距上次晋升时长: 0.28                             │
│  2. 薪酬与市场对比: 0.22                                      │
│  3. 经理司龄: 0.18                                        │
│  4. 敬业度得分: 0.15                                      │
│  5. 通勤距离: 0.08                                      │
├─────────────────────────────────────────────────────────────────┤
│  高风险员工部门分布                                         │
│  销售部门: 42 (15%)    工程部门: 28 (8%)    支持部门: 18 (12%)  │
├─────────────────────────────────────────────────────────────────┤
│  建议干预措施                                       │
│  • 23名员工: 薪酬复核                            │
│  • 18名员工: 职业发展沟通                            │
│  • 12名员工: 经理调整                                 │
└─────────────────────────────────────────────────────────────────┘

Survey Analytics

调研分析

Survey Design

调研设计

markdown
undefined
markdown
undefined

Employee Engagement Survey

员工敬业度调研

Survey Structure

调研结构

Section 1: Overall Engagement (5 questions)

第一部分:整体敬业度(5题)

  • I would recommend this company as a great place to work
  • I am proud to work for this company
  • I see myself working here in 2 years
  • This company motivates me to do my best work
  • I rarely think about looking for a job elsewhere
  • 我会推荐这家公司作为理想的工作场所
  • 我为在这家公司工作感到自豪
  • 我预计未来2年仍会在这里工作
  • 这家公司激励我做到最好
  • 我很少考虑寻找其他工作

Section 2: Manager (6 questions)

第二部分:经理管理(6题)

  • My manager cares about me as a person
  • My manager provides clear expectations
  • My manager gives regular feedback
  • My manager supports my development
  • My manager recognizes my contributions
  • I trust my manager
  • 我的经理关心我个人
  • 我的经理提供清晰的工作期望
  • 我的经理定期给予反馈
  • 我的经理支持我的发展
  • 我的经理认可我的贡献
  • 我信任我的经理

Section 3: Growth & Development (5 questions)

第三部分:成长与发展(5题)

  • I have opportunities to learn and grow
  • I understand my career path here
  • I receive training I need to do my job
  • My work is challenging and interesting
  • I can use my strengths every day
  • 我有学习和成长的机会
  • 我了解自己在这里的职业路径
  • 我获得完成工作所需的培训
  • 我的工作具有挑战性且有趣
  • 我每天都能发挥自己的优势

Section 4: Culture & Values (5 questions)

第四部分:文化与价值观(5题)

  • Company values align with my personal values
  • Leaders model company values
  • I feel included and belong here
  • People are treated fairly regardless of background
  • Open and honest communication is encouraged
  • 公司价值观与我的个人价值观一致
  • 领导者以身作则践行公司价值观
  • 我感到被包容和归属感
  • 无论背景如何,人们都能得到公平对待
  • 开放和诚实的沟通受到鼓励

Section 5: Compensation & Benefits (4 questions)

第五部分:薪酬与福利(4题)

  • I am paid fairly for my work
  • Benefits meet my needs
  • Recognition is meaningful here
  • Total rewards are competitive
  • 我的薪酬与工作价值相符
  • 福利满足我的需求
  • 认可方式对我有意义
  • 整体薪酬具有竞争力

Response Scale

评分标准

1 = Strongly Disagree 2 = Disagree 3 = Neutral 4 = Agree 5 = Strongly Agree
undefined
1 = 强烈反对 2 = 反对 3 = 中立 4 = 同意 5 = 强烈同意
undefined

Survey Analysis

调研分析

python
def analyze_survey_results(responses):
    """
    Comprehensive survey analysis
    """
    analysis = {}

    # Overall scores
    analysis['engagement_score'] = responses['engagement_items'].mean()
    analysis['response_rate'] = len(responses) / total_employees

    # Calculate eNPS
    promoters = (responses['recommend'] >= 9).sum()
    detractors = (responses['recommend'] <= 6).sum()
    analysis['enps'] = (promoters - detractors) / len(responses) * 100

    # Category scores
    categories = ['manager', 'growth', 'culture', 'compensation']
    for cat in categories:
        cat_items = [c for c in responses.columns if c.startswith(cat)]
        analysis[f'{cat}_score'] = responses[cat_items].mean().mean()

    # Segment analysis
    segments = ['department', 'level', 'tenure_band', 'location']
    for seg in segments:
        analysis[f'{seg}_breakdown'] = responses.groupby(seg).mean()

    # Driver analysis
    analysis['drivers'] = calculate_driver_importance(responses)

    # Trending
    analysis['vs_prior'] = compare_to_prior_survey(responses)

    return analysis

def calculate_driver_importance(responses):
    """
    Identify which factors most impact engagement
    """
    from sklearn.linear_model import LinearRegression

    X = responses[category_columns]
    y = responses['overall_engagement']

    model = LinearRegression()
    model.fit(X, y)

    return pd.DataFrame({
        'driver': category_columns,
        'impact': model.coef_
    }).sort_values('impact', ascending=False)
python
def analyze_survey_results(responses):
    """
    全面调研分析
    """
    analysis = {}

    # 整体得分
    analysis['engagement_score'] = responses['engagement_items'].mean()
    analysis['response_rate'] = len(responses) / total_employees

    # 计算eNPS
    promoters = (responses['recommend'] >= 9).sum()
    detractors = (responses['recommend'] <= 6).sum()
    analysis['enps'] = (promoters - detractors) / len(responses) * 100

    # 分类得分
    categories = ['manager', 'growth', 'culture', 'compensation']
    for cat in categories:
        cat_items = [c for c in responses.columns if c.startswith(cat)]
        analysis[f'{cat}_score'] = responses[cat_items].mean().mean()

    # 细分分析
    segments = ['department', 'level', 'tenure_band', 'location']
    for seg in segments:
        analysis[f'{seg}_breakdown'] = responses.groupby(seg).mean()

    # 驱动因素分析
    analysis['drivers'] = calculate_driver_importance(responses)

    # 趋势对比
    analysis['vs_prior'] = compare_to_prior_survey(responses)

    return analysis

def calculate_driver_importance(responses):
    """
    识别对敬业度影响最大的因素
    """
    from sklearn.linear_model import LinearRegression

    X = responses[category_columns]
    y = responses['overall_engagement']

    model = LinearRegression()
    model.fit(X, y)

    return pd.DataFrame({
        'driver': category_columns,
        'impact': model.coef_
    }).sort_values('impact', ascending=False)

Survey Results Report

调研结果报告

┌─────────────────────────────────────────────────────────────────┐
│              ENGAGEMENT SURVEY RESULTS                           │
├─────────────────────────────────────────────────────────────────┤
│  Response Rate: 87%    Engagement Score: 78%    eNPS: +32      │
│  vs Prior: +3%                                                   │
├─────────────────────────────────────────────────────────────────┤
│  CATEGORY SCORES                                                 │
│  Culture: 85% (+5)    Manager: 81% (+2)    Growth: 72% (+4)    │
│  Recognition: 75% (0)  Compensation: 68% (-2)                   │
├─────────────────────────────────────────────────────────────────┤
│  TOP DRIVERS OF ENGAGEMENT                                       │
│  1. Career growth opportunities (r=0.72)                        │
│  2. Manager relationship (r=0.68)                               │
│  3. Meaningful work (r=0.65)                                    │
│  4. Recognition (r=0.58)                                        │
├─────────────────────────────────────────────────────────────────┤
│  PRIORITY AREAS (Low score, High impact)                        │
│  • Career path clarity (Score: 65%, Impact: High)               │
│  • Compensation fairness (Score: 62%, Impact: Medium)           │
│  • Learning opportunities (Score: 70%, Impact: High)            │
└─────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────┐
│              敬业度调研结果                                       │
├─────────────────────────────────────────────────────────────────┤
│  响应率: 87%    敬业度得分: 78%    eNPS: +32      │
│  较上次调研: +3%                                                   │
├─────────────────────────────────────────────────────────────────┤
│  分类得分                                                 │
│  企业文化: 85% (+5)    经理管理: 81% (+2)    职业发展: 72% (+4)    │
│  认可激励: 75% (0)  薪酬福利: 68% (-2)                   │
├─────────────────────────────────────────────────────────────────┤
│  敬业度核心驱动因素                                       │
│  1. 职业发展机会 (r=0.72)                        │
│  2. 与经理的关系 (r=0.68)                               │
│  3. 有意义的工作 (r=0.65)                                    │
│  4. 认可激励 (r=0.58)                                        │
├─────────────────────────────────────────────────────────────────┤
│  优先改进领域(得分低、影响大)                        │
│  • 职业路径清晰度 (得分: 65%, 影响: 高)               │
│  • 薪酬公平性 (得分: 62%, 影响: 中)           │
│  • 学习机会 (得分: 70%, 影响: 高)            │
└─────────────────────────────────────────────────────────────────┘

Diversity Analytics

多元化分析

DEI Metrics

DEI指标

DEI METRICS FRAMEWORK

REPRESENTATION
├── Gender distribution
├── Ethnicity distribution
├── Age distribution
├── Disability status
└── Veteran status

PAY EQUITY
├── Gender pay gap
├── Ethnicity pay gap
├── Adjusted pay gap (controlling for factors)
└── Pay ratio analysis

PROGRESSION
├── Promotion rates by group
├── Hiring rates by group
├── Attrition rates by group
└── Leadership representation

INCLUSION
├── Inclusion index (survey)
├── Belonging score
├── Psychological safety
└── ERG participation
DEI指标框架

代表性
├── 性别分布
├── 种族分布
├── 年龄分布
├── 残疾状况
└── 退伍军人身份

薪酬公平性
├── 性别薪酬差距
├── 种族薪酬差距
├── 调整后薪酬差距(控制相关因素)
└── 薪酬比率分析

职业发展
├── 各群体晋升率
├── 各群体招聘率
├── 各群体离职率
└── 领导层代表性

包容性
├── 包容度指数(调研)
├── 归属感得分
├── 心理安全感
└── 员工资源小组参与度

Pay Equity Analysis

薪酬公平性分析

python
def analyze_pay_equity(employee_data):
    """
    Conduct comprehensive pay equity analysis
    """
    import statsmodels.api as sm

    # Raw pay gap
    raw_gap = calculate_raw_gap(employee_data, 'gender')

    # Adjusted pay gap (controlling for legitimate factors)
    X = employee_data[[
        'job_level',
        'tenure_years',
        'performance_rating',
        'education',
        'department',
        'location'
    ]]
    X = pd.get_dummies(X, drop_first=True)
    X = sm.add_constant(X)

    y = employee_data['salary']
    gender = employee_data['gender']

    # Add gender as predictor
    X['gender_female'] = (gender == 'Female').astype(int)

    model = sm.OLS(y, X).fit()
    adjusted_gap = model.params['gender_female']

    # Identify outliers needing review
    employee_data['predicted_salary'] = model.predict(X)
    employee_data['residual'] = y - employee_data['predicted_salary']
    employee_data['needs_review'] = abs(employee_data['residual']) > 2 * employee_data['residual'].std()

    return {
        'raw_gap': raw_gap,
        'adjusted_gap': adjusted_gap,
        'model_r2': model.rsquared,
        'employees_for_review': employee_data[employee_data['needs_review']]
    }
python
def analyze_pay_equity(employee_data):
    """
    开展全面薪酬公平性分析
    """
    import statsmodels.api as sm

    # 原始薪酬差距
    raw_gap = calculate_raw_gap(employee_data, 'gender')

    # 调整后薪酬差距(控制合理因素)
    X = employee_data[[
        'job_level',
        'tenure_years',
        'performance_rating',
        'education',
        'department',
        'location'
    ]]
    X = pd.get_dummies(X, drop_first=True)
    X = sm.add_constant(X)

    y = employee_data['salary']
    gender = employee_data['gender']

    # 添加性别作为预测变量
    X['gender_female'] = (gender == 'Female').astype(int)

    model = sm.OLS(y, X).fit()
    adjusted_gap = model.params['gender_female']

    # 识别需要复核的异常值
    employee_data['predicted_salary'] = model.predict(X)
    employee_data['residual'] = y - employee_data['predicted_salary']
    employee_data['needs_review'] = abs(employee_data['residual']) > 2 * employee_data['residual'].std()

    return {
        'raw_gap': raw_gap,
        'adjusted_gap': adjusted_gap,
        'model_r2': model.rsquared,
        'employees_for_review': employee_data[employee_data['needs_review']]
    }

DEI Dashboard

DEI仪表盘

┌─────────────────────────────────────────────────────────────────┐
│              DIVERSITY & INCLUSION DASHBOARD                     │
├─────────────────────────────────────────────────────────────────┤
│  REPRESENTATION                                                  │
│  Women: 42% (+3% YoY)    URG: 28% (+2% YoY)    Veterans: 5%    │
├─────────────────────────────────────────────────────────────────┤
│  REPRESENTATION BY LEVEL                                         │
│  Level       Women    URG      vs Target                        │
│  IC          45%      30%      ✓ On track                       │
│  Manager     38%      22%      ↑ Improving                      │
│  Director    32%      18%      ↗ Progress needed                │
│  VP+         28%      15%      ⚠ Gap to close                   │
├─────────────────────────────────────────────────────────────────┤
│  PAY EQUITY                                                      │
│  Gender Gap (Raw): -5.2%    Gender Gap (Adjusted): -1.8%        │
│  Ethnicity Gap (Raw): -4.8%  Ethnicity Gap (Adjusted): -0.9%   │
├─────────────────────────────────────────────────────────────────┤
│  INCLUSION INDEX                                                 │
│  Overall: 78%    Belonging: 82%    Safety: 75%    Voice: 72%   │
└─────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────┐
│              多元化与包容性仪表盘                     │
├─────────────────────────────────────────────────────────────────┤
│  代表性指标                                                  │
│  女性占比: 42% (同比+3%)    少数族裔占比: 28% (同比+2%)    退伍军人占比: 5%    │
├─────────────────────────────────────────────────────────────────┤
│  各层级代表性分布                                         │
│  层级       女性占比    少数族裔占比      与目标对比                        │
│  普通员工          45%      30%      ✓ 符合进度                       │
│  经理     38%      22%      ↑ 持续改进                      │
│  总监    32%      18%      ↗ 需要推进                │
│  副总裁及以上         28%      15%      ⚠ 需缩小差距                   │
├─────────────────────────────────────────────────────────────────┤
│  薪酬公平性                                                      │
│  性别薪酬差距(原始): -5.2%    性别薪酬差距(调整后): -1.8%        │
│  种族薪酬差距(原始): -4.8%  种族薪酬差距(调整后): -0.9%   │
├─────────────────────────────────────────────────────────────────┤
│  包容度指数                                                 │
│  整体: 78%    归属感: 82%    心理安全感: 75%    话语权: 72%   │
└─────────────────────────────────────────────────────────────────┘

Workforce Planning

劳动力规划

Workforce Model

劳动力模型

python
def build_workforce_plan(current_state, business_plan):
    """
    Build strategic workforce plan
    """
    # Calculate future demand
    demand = calculate_demand(business_plan)

    # Project supply (current + expected changes)
    supply = project_supply(
        current_headcount=current_state['headcount'],
        turnover_rate=current_state['turnover'],
        retirement_rate=current_state['retirement_eligible']
    )

    # Calculate gap
    gap = demand - supply

    # Build plan to close gap
    plan = {
        'external_hiring': max(0, gap * 0.6),
        'internal_development': gap * 0.3,
        'contingent_workforce': gap * 0.1,
        'cost_estimate': estimate_costs(gap)
    }

    return plan

def calculate_demand(business_plan):
    """
    Calculate headcount demand from business projections
    """
    base_headcount = business_plan['revenue'] / business_plan['revenue_per_head']

    # Adjust for productivity improvements
    productivity_factor = 1 + business_plan['productivity_improvement']
    adjusted_demand = base_headcount / productivity_factor

    return adjusted_demand
python
def build_workforce_plan(current_state, business_plan):
    """
    构建战略劳动力规划
    """
    # 计算未来需求
    demand = calculate_demand(business_plan)

    # 预测供给(现有员工+预期变化)
    supply = project_supply(
        current_headcount=current_state['headcount'],
        turnover_rate=current_state['turnover'],
        retirement_rate=current_state['retirement_eligible']
    )

    # 计算差距
    gap = demand - supply

    # 构建差距填补方案
    plan = {
        'external_hiring': max(0, gap * 0.6),
        'internal_development': gap * 0.3,
        'contingent_workforce': gap * 0.1,
        'cost_estimate': estimate_costs(gap)
    }

    return plan

def calculate_demand(business_plan):
    """
    根据业务预测计算员工需求
    """
    base_headcount = business_plan['revenue'] / business_plan['revenue_per_head']

    # 调整生产力提升因素
    productivity_factor = 1 + business_plan['productivity_improvement']
    adjusted_demand = base_headcount / productivity_factor

    return adjusted_demand

Workforce Dashboard

劳动力规划仪表盘

┌─────────────────────────────────────────────────────────────────┐
│              WORKFORCE PLANNING                                  │
├─────────────────────────────────────────────────────────────────┤
│  Current HC       Projected Need      Gap          Timeline     │
│  2,847            3,200               +353         12 months    │
├─────────────────────────────────────────────────────────────────┤
│  GAP BY FUNCTION                                                 │
│  Engineering: +120    Sales: +85    Product: +45    Other: +103 │
├─────────────────────────────────────────────────────────────────┤
│  FILL STRATEGY                                                   │
│  External Hire: 212 (60%)    Internal Move: 106 (30%)          │
│  Contractors: 35 (10%)                                          │
├─────────────────────────────────────────────────────────────────┤
│  SKILLS GAPS                                                     │
│  ML Engineering: Critical    Cloud Architecture: High           │
│  Data Science: Medium        Product Management: Low            │
├─────────────────────────────────────────────────────────────────┤
│  SUCCESSION READINESS                                            │
│  Key Roles: 85    Ready Now: 42 (49%)    Ready 1-2yr: 28 (33%) │
└─────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────┐
│              劳动力规划                                  │
├─────────────────────────────────────────────────────────────────┤
│  当前员工数       预计需求      差距          时间周期     │
│  2,847            3,200               +353         12个月    │
├─────────────────────────────────────────────────────────────────┤
│  各职能差距分布                                                 │
│  工程部门: +120    销售部门: +85    产品部门: +45    其他部门: +103 │
├─────────────────────────────────────────────────────────────────┤
│  差距填补策略                                                   │
│  外部招聘: 212 (60%)    内部转岗: 106 (30%)          │
│  合同工: 35 (10%)                                          │
├─────────────────────────────────────────────────────────────────┤
│  技能差距                                                     │
│  ML Engineering: 关键    Cloud Architecture: 高           │
│  Data Science: 中        Product Management: 低            │
├─────────────────────────────────────────────────────────────────┤
│  继任准备度                                            │
│  关键岗位: 85    已准备就绪: 42 (49%)    1-2年内准备就绪: 28 (33%) │
└─────────────────────────────────────────────────────────────────┘

Data Governance

数据治理

Data Ethics

数据伦理

markdown
undefined
markdown
undefined

People Analytics Data Ethics Framework

人才分析数据伦理框架

Principles

原则

1. Transparency

1. 透明度

  • Employees know what data is collected
  • Purpose of analysis is communicated
  • Results are shared appropriately
  • 员工知晓收集的数据内容
  • 分析目的清晰传达
  • 结果合理共享

2. Consent

2. 同意

  • Data collection with consent where required
  • Opt-out options for non-essential analytics
  • Clear data usage policies
  • 必要时获取数据收集同意
  • 非必要分析提供退出选项
  • 数据使用政策清晰明确

3. Fairness

3. 公平性

  • Models tested for bias
  • Protected attributes handled appropriately
  • Outcomes reviewed for disparate impact
  • 模型进行偏见测试
  • 受保护属性妥善处理
  • 结果审查避免差异化影响

4. Privacy

4. 隐私

  • Data minimization
  • Anonymization where possible
  • Access controls
  • 数据最小化收集
  • 尽可能匿名化
  • 访问控制严格

5. Security

5. 安全性

  • Encryption at rest and in transit
  • Role-based access
  • Audit logging
  • 静态与传输数据加密
  • 基于角色的访问控制
  • 审计日志记录

Governance Checklist

治理检查清单

  • Purpose clearly defined and documented
  • Data minimization applied
  • Privacy impact assessment completed
  • Bias testing performed
  • Access controls implemented
  • Retention policy defined
  • Employee communication planned
undefined
  • 分析目的明确定义并记录
  • 应用数据最小化原则
  • 完成隐私影响评估
  • 进行偏见测试
  • 实施访问控制
  • 定义数据保留政策
  • 规划员工沟通
undefined

Reference Materials

参考资料

  • references/hr_metrics.md
    - Complete HR metrics guide
  • references/predictive_models.md
    - Predictive modeling approaches
  • references/survey_design.md
    - Survey methodology
  • references/data_ethics.md
    - Ethical analytics practices
  • references/hr_metrics.md
    - 完整HR指标指南
  • references/predictive_models.md
    - 预测建模方法
  • references/survey_design.md
    - 调研方法论
  • references/data_ethics.md
    - 分析伦理实践

Scripts

脚本

bash
undefined
bash
undefined

Turnover analysis

离职分析

python scripts/turnover_analyzer.py --data employees.csv
python scripts/turnover_analyzer.py --data employees.csv

Flight risk scorer

离职风险评分

python scripts/flight_risk.py --model model.pkl --employees current.csv
python scripts/flight_risk.py --model model.pkl --employees current.csv

Survey analyzer

调研分析

python scripts/survey_analyzer.py --responses survey.csv --prior prior.csv
python scripts/survey_analyzer.py --responses survey.csv --prior prior.csv

DEI metrics generator

DEI指标生成

python scripts/dei_metrics.py --data workforce.csv
python scripts/dei_metrics.py --data workforce.csv

Workforce planner

劳动力规划

python scripts/workforce_planner.py --current state.csv --plan business_plan.yaml
undefined
python scripts/workforce_planner.py --current state.csv --plan business_plan.yaml
undefined