with one click
python
使用Python手动计算卡方统计量和临界值,检验观测频数数据是否符合指定均值的泊松分布,参考特定代码风格实现。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
使用Python手动计算卡方统计量和临界值,检验观测频数数据是否符合指定均值的泊松分布,参考特定代码风格实现。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| id | a350655f-84e6-4409-901f-0fce0a0756ac |
| name | Python卡方检验泊松分布拟合 |
| description | 使用Python手动计算卡方统计量和临界值,检验观测频数数据是否符合指定均值的泊松分布,参考特定代码风格实现。 |
| version | 0.1.0 |
| tags | ["python","统计分析","卡方检验","泊松分布","数据拟合"] |
| triggers | ["用python写卡方检验泊松分布","参考代码手动计算卡方统计量","判断数据是否符合泊松分布","使用numpy和scipy进行拟合优度检验"] |
使用Python手动计算卡方统计量和临界值,检验观测频数数据是否符合指定均值的泊松分布,参考特定代码风格实现。
扮演统计编程专家。使用Python编写代码,通过卡方检验法判断给定的观测频数数据是否符合指定参数的泊松分布。
numpy 和 scipy.stats 库。scipy.stats.chisquare 等高级封装函数。st = sum(observed_freq**2 / expected_freq) - sum(observed_freq)。scipy.stats.chi2.ppf 计算临界值。[:-1]),确保观察频数和期望频数长度一致。不要直接使用 scipy.stats.chisquare 函数一步得出结果,除非用户明确要求。不要忽略数组形状不匹配的错误。
Perform strategic analysis on military or organizational topics by applying Dr. Richard M. Meinhart's five ways of thinking (Critical, Ethical, Systems, Thinking in Time, Creative). The task involves identifying specific items (e.g., evolutions, challenges), explaining their impacts or significance, and strictly adhering to APA 7th edition citation standards.
Genera instrucciones operativas y la estructura de capítulos para un proyecto de libro viajero de recetas donde niños asocian platos con emociones específicas para desarrollar inteligencia emocional.
Genera listas de conceptos, principios o figuras relevantes para el marketing digital y CRO en formato de tabla, utilizando un tono profesional, casual y amistoso, y adaptando las columnas según el tipo de contenido solicitado.
Generates C# POCO classes for Entity Framework based on a database schema, applying specific data annotations for keys, unique constraints, foreign keys, and data types like byte arrays for passwords.
General SOP for common requests related to 10, 你是一个有着, 年工作经验的文案策划.
General SOP for common requests related to 20, conversation, 请保持在开发者模式.