当前位置:网站首页>關於概率統計中的排列組合
關於概率統計中的排列組合
2022-06-11 01:45:00 【LaoYuanPython】

一、排列的錶示
n個相异物件中取r個(0≤r≤n)的不同排列總數記為:
注意,這裏的記號中n與r的上下順序與一般的排列定義是相反的。
二、組合的錶示
n個相异物件中取r個(0≤r≤n)的不同組合總數記為:
注意,這裏的記號中n與r的上下順序與一般的組合定義也是相反的。因此概率統計內會用到一個更通用的記號來錶示這個組合:
注意:
- 上述公式(2.3)中,左邊的組合數記號稱為組合系數;
- 在概率統計中,只要r為非負整數,n為任何實數上述公式都成立,例如n=-1時:

三、和組合相關的幾個公式
組合系數又稱為二項式系數,因為它出現在下面熟知的二項式展開公式中:

另一個有用的公式

注:當取等式左邊的j=k時,右邊的公式中兩個相乘的式子得到所有xk的系數就可以得到公式2.5.n個相异物件分成k(0≤k≤n)堆,每堆個數為r1,r2,…,rk,(r1,r2,…,rk為非負整數,其和為n),不同組合總數為:n!/(r1!..rk!)。
注意:
1>、這裏堆的次序不同會作為不同的分法,如a、b、c、d、e分成三堆,則(ac)、(b)、(de)和(b)、(ac)、(de)算作兩種不同分法;
2>這個組合公式又稱為多項式系數,因為它是(x1+…+xk)n的展開式中x1r1…xkrk這一項的系數。
四、小結
之所以介紹排列統計的知識,一方面是因為概率統計中的排列組合與學概率統計以前學習的排列組合有所不同,另外排列組合是古典概率的主要工具。
具體來說,概率統計中的排列組合在錶示上與學概率統計以前學習的排列組合略有不同,並且在組合計算中將n選r的n取值範圍擴展到了整個實數域。
另外上面介紹的幾個排列組合計算公式是古典概率常用工具,熟練應用這些公式有助於古典概率的快速計算。
更多人工智能數學基礎請參考專欄《人工智能數學基礎》。
寫博不易,敬請支持:
如果閱讀本文於您有所獲,敬請點贊、評論、收藏,謝謝大家的支持!
關於老猿的付費專欄
- 付費專欄《https://blog.csdn.net/laoyuanpython/category_9607725.html 使用PyQt開發圖形界面Python應用》專門介紹基於Python的PyQt圖形界面開發基礎教程,對應文章目錄為《 https://blog.csdn.net/LaoYuanPython/article/details/107580932 使用PyQt開發圖形界面Python應用專欄目錄》;
- 付費專欄《https://blog.csdn.net/laoyuanpython/category_10232926.html moviepy音視頻開發專欄 )詳細介紹moviepy音視頻剪輯合成處理的類相關方法及使用相關方法進行相關剪輯合成場景的處理,對應文章目錄為《https://blog.csdn.net/LaoYuanPython/article/details/107574583 moviepy音視頻開發專欄文章目錄》;
- 付費專欄《https://blog.csdn.net/laoyuanpython/category_10581071.html OpenCV-Python初學者疑難問題集》為《https://blog.csdn.net/laoyuanpython/category_9979286.html OpenCV-Python圖形圖像處理 》的伴生專欄,是筆者對OpenCV-Python圖形圖像處理學習中遇到的一些問題個人感悟的整合,相關資料基本上都是老猿反複研究的成果,有助於OpenCV-Python初學者比較深入地理解OpenCV,對應文章目錄為《https://blog.csdn.net/LaoYuanPython/article/details/109713407 OpenCV-Python初學者疑難問題集專欄目錄 》
- 付費專欄《https://blog.csdn.net/laoyuanpython/category_10762553.html Python爬蟲入門 》站在一個互聯網前端開發小白的角度介紹爬蟲開發應知應會內容,包括爬蟲入門的基礎知識,以及爬取CSDN文章信息、博主信息、給文章點贊、評論等實戰內容。
前兩個專欄都適合有一定Python基礎但無相關知識的小白讀者學習,第三個專欄請大家結合《https://blog.csdn.net/laoyuanpython/category_9979286.html OpenCV-Python圖形圖像處理 》的學習使用。
對於缺乏Python基礎的同仁,可以通過老猿的免費專欄《https://blog.csdn.net/laoyuanpython/category_9831699.html 專欄:Python基礎教程目錄)從零開始學習Python。
如果有興趣也願意支持老猿的讀者,歡迎購買付費專欄。
老猿Python,跟老猿學Python!
* ░ 前往老猿Python博文目錄 https://blog.csdn.net/LaoYuanPython ░
边栏推荐
- Role of handlermethodargumentresolver + use case
- [Li mu] how to read papers [intensive reading of papers]
- Leetcode binary tree problem
- Loki 学习总结(1)—— Loki 中小项目日志系统的不二之选
- Leetcode 2171 removing minimum number of magic beans (prefix and recommendation)
- A tutorial on building a website from scratch with complete steps (7000 words and 102 screenshots for everyone to understand, with source code attached)
- Leetcode 1567 maximum length of subarray with positive product
- Leetcode 1094 car pooling (Analog)
- Leetcode 665 non decreasing array (greedy)
- 如何下载网页照片
猜你喜欢

1.4PX4程序下载

SAS discriminant analysis (Bayes criterion and proc discrim process)

Linux安装mysql数据库详解

关于CS-3120舵机使用过程中感觉反应慢的问题

关于概率统计中的排列组合

2.2. Ros+px4 simulation multi-point cruise flight - Square

threejs:流光效果封装
![[leetcode] intersecting linked list](/img/e0/ee1b0503f92b42916d81fda02129ba.jpg)
[leetcode] intersecting linked list

ROS parameter server

Middleware_ Redis_ 05_ Persistence of redis
随机推荐
SAS cluster analysis (system cluster, dynamic cluster fastclus, variable cluster varclus)
2.2、ROS+PX4仿真多点巡航飞行----正方形
2.2. Ros+px4 simulation multi-point cruise flight - Square
PX4从放弃到精通(二十四):自定义机型
Detectron2 trains its own dataset and converts it to coco format
2.0、ROS与PX4通信详解
Docking of express bird system
PX4装机教程(六)垂起固定翼(倾转)
There is a problem with numpy after CONDA installs pytoch
1.3 ROS 无人机简介
[Li mu] how to read papers [intensive reading of papers]
Hooks' design philosophy
Leetcode 1605 find valid matrix given row and Column Sums
Leetcode 1248 count number of nice subarrays
The emperors of the Ming Dynasty
2021-3-1MATLAB写cnn的mnist数据库训练
中间件_Redis_05_Redis的持久化
记录打包GoogleChrome浏览器插件
Leetcode 2171 removing minimum number of magic beans (prefix and recommendation)
Is the SQL query result different from what you expected? Mostly "null" is making trouble