当前位置:网站首页>關於概率統計中的排列組合
關於概率統計中的排列組合
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 ░
边栏推荐
- Docking of express bird system
- Threejs: pit encountered in drawing Bessel curve with two-point coordinates
- 对象存储 S3 在分布式文件系统中的应用
- 中间件_Redis_05_Redis的持久化
- [VBA Script] extract the information and pending status of all annotations in the word document
- 2021-7-18 ROS笔记-xml语言相关
- Summary of SAS final review knowledge points (notes on Application of multivariate statistics experiment)
- Leetcode search questions
- About mobx
- Function of barcode fixed assets management system, barcode management of fixed assets
猜你喜欢

Leetcode 652 find duplicate subtrees (recommended by DFS)

2.0、ROS与PX4通信详解

Daily problem essay | 21.11.29: use resttemplate to call external put request, and prompt '400 bad request'

Using MySQL database in nodejs
![[leetcode] reverse linked list II](/img/03/5e4921a8fe50b3489b4b99310d1afb.jpg)
[leetcode] reverse linked list II
![[geometric vision] 4.2 piecewise linear transformation](/img/9e/ad010e0b55c88f2c0244442ae20fb3.jpg)
[geometric vision] 4.2 piecewise linear transformation

threejs:如何获得几何体的boundingBox?

Leetcode linked list queue stack problem
![[recommended by Zhihu knowledge master] castle in UAV - focusing on the application of UAV in different technical fields](/img/c6/f1cec6de62e85de446dba7ea8675f0.jpg)
[recommended by Zhihu knowledge master] castle in UAV - focusing on the application of UAV in different technical fields

2021-02-27MATLAB的图像处理
随机推荐
[ROS introduction] cmakelist Txt and packages XML interpretation
对象存储 S3 在分布式文件系统中的应用
2.2、ROS+PX4仿真多点巡航飞行----正方形
Application of object storage S3 in distributed file system
Daily problem essay | 21.11.29: use resttemplate to call external put request, and prompt '400 bad request'
Leetcode 1574 shortest subarray to be removed to make array sorted
关于概率统计中的排列组合
1.4PX4程序下载
关于CS-3120舵机使用过程中感觉反应慢的问题
1.7、PX4遥控器校准
2.1 ros+px4 simulation - Fixed Point flight control
Conda安装Pytorch后numpy出现问题
[chess life] 01 life is like chess
中间件_Redis_05_Redis的持久化
Understanding of multithreading
[ROS] review of 2021 ROS Summer School
Implementing MySQL fuzzy search with node and express
threejs:两点坐标绘制贝赛尔曲线遇到的坑
LeetCode 1029 Two City Scheduling (dp)
MATLAB数组其他常见操作笔记