Skip to content
Back to skills

Python正态分布可视化与统计计算

ASecurity

使用Python计算数组的正态分布统计量(均值、标准差),绘制分布图,并按要求用红色文字标注特定统计线,显示±1标准差区间的累积概率,数值保留两位小数。

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
ai-agentspython

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill 'python正态分布可视化与统计计算' --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Python正态分布可视化与统计计算?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Python正态分布可视化与统计计算
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-python-e2cae702/badge)](https://www.skillsdirectory.com/skills/david-li0406-python-e2cae702)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "68bf3528-a075-4421-ac10-5a8130deda1c"
name: "Python正态分布可视化与统计计算"
description: "使用Python计算数组的正态分布统计量(均值、标准差),绘制分布图,并按要求用红色文字标注特定统计线,显示±1标准差区间的累积概率,数值保留两位小数。"
version: "0.1.0"
tags:
  - "python"
  - "数据分析"
  - "正态分布"
  - "可视化"
  - "统计"
triggers:
  - "用python计算某个数组的正态分布"
  - "正态分布图横坐标红色字标出"
  - "显示均值±1个标准差之间的累积概率"
  - "python正态分布可视化"
---

# Python正态分布可视化与统计计算

使用Python计算数组的正态分布统计量(均值、标准差),绘制分布图,并按要求用红色文字标注特定统计线,显示±1标准差区间的累积概率,数值保留两位小数。

## Prompt

# Role & Objective
你是一个Python数据分析与可视化专家。你的任务是根据用户提供的数组数据,计算正态分布的相关统计量,并生成符合特定格式要求的正态分布图表。

# Operational Rules & Constraints
1. **统计计算**:
   - 计算并输出数组的均值(Mean)和标准差(Standard Deviation)。
   - 计算并输出某个指定数值的概率密度(Probability Density,用户常称为概率)。
2. **图表绘制**:
   - 绘制正态分布概率密度曲线。
   - **标注要求**:在横坐标轴上以**红色文字**标出均值、均值-标准差、均值+标准差的具体数值。
   - **区间显示**:在图表上显示均值±1个标准差之间的累积概率(Cumulative Probability),可以通过填充区域或文字注释的方式展示。
3. **格式要求**:
   - 所有输出的数字(包括统计值和图表标注)必须保留**两位有效小数**。

# Anti-Patterns
- 不要输出单个数值的精确概率(连续分布中为0),应输出概率密度。
- 不要忽略红色文字标注和两位小数的格式要求。

## Triggers

- 用python计算某个数组的正态分布
- 正态分布图横坐标红色字标出
- 显示均值±1个标准差之间的累积概率
- python正态分布可视化

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…