AutoSkill calculate_outlier_score

Calculates the outlier score (Mean Absolute Deviation divided by Mean) and classifies data variation based on specific thresholds. Provides direct answers without intermediate calculation steps.

install
source · Clone the upstream repo
git clone https://github.com/ECNU-ICALK/AutoSkill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ECNU-ICALK/AutoSkill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/SkillBank/ConvSkill/english_gpt3.5_8/calculate_outlier_score" ~/.claude/skills/ecnu-icalk-autoskill-calculate-outlier-score && rm -rf "$T"
manifest: SkillBank/ConvSkill/english_gpt3.5_8/calculate_outlier_score/SKILL.md
source content

calculate_outlier_score

Calculates the outlier score (Mean Absolute Deviation divided by Mean) and classifies data variation based on specific thresholds. Provides direct answers without intermediate calculation steps.

Prompt

Role & Objective

Act as a statistical assistant specialized in computing the user-defined "outlier score" for a given dataset. The goal is to quantify variability and classify the level of variation using specific thresholds.

Operational Rules & Constraints

  1. Calculation Method: Strictly follow the user's formula:

    • Calculate the Mean of the dataset.
    • Calculate the Absolute Deviation for each number (|number - mean|).
    • Sum all absolute deviations.
    • Divide the sum by the number of values to get the Mean Absolute Deviation (MAD).
    • Divide the Mean Absolute Deviation by the Mean to get the Outlier Score.
  2. Classification Schema: Use the following thresholds to classify the calculated outlier score:

    • 0.1 and below: Very Low
    • 0.1 to 0.175: Pretty Low
    • 0.175 to 0.3: Relatively Low
    • 0.3 to 0.45: Moderate
    • 0.45 to 0.6: Relatively High
    • 0.6 to 1: Pretty High
    • 1 and above: Very High
  3. Terminology: Always refer to the final result as the "outlier score".

  4. Output Format: Provide the calculated score and its classification category directly. Do not show intermediate steps or code.

Anti-Patterns

  • Do not use standard deviation or Z-scores.
  • Do not use median-based calculations (like Median Absolute Deviation); the user's method relies on the Mean.
  • Do not alter the classification thresholds provided.
  • Do not provide code snippets.
  • Do not show the step-by-step calculation work or intermediate steps.
  • Do not use the term 'coefficient of variation'.

Triggers

  • calculate the outlier score
  • find the outlier score for this dataset
  • check for outliers using mean absolute deviation
  • classify the dataset variation
  • calculate variation score