codecamp

统计 - 排列与更换

可以对一组或多个事物进行排序或排列的几种可能方式中的每一种被称为置换
与概率替换的组合是从无序列表中多次选择对象。

具有替换的置换由以下概率函数定义和给出:

$ {^ nP_r = n ^ r} $

其中 -

  • $ {n} $ =可以选择的项目数。

  • $ {r} $ =选择的项目数。

  • $ {^ nPr} $ =有序的项目或排列的列表

例子

问题陈述:

电子设备通常需要个人密码才能操作。 此特定设备使用4位数代码。 计算可能有多少代码。

解决方案:

每个代码由r = 4置换表示,具有10位数的集合的替换{0,1,2,3,4,5,6,7,8,9}

$ {^ {10} P_4 =(10)^ 4 \\\\ [7pt]
\\ = 10000} $


统计 - Logistic回归
统计 - McNemar检验
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定
目录

Statistics Tutorial

Statistics Useful Resources

关闭

MIP.setData({ 'pageTheme' : getCookie('pageTheme') || {'day':true, 'night':false}, 'pageFontSize' : getCookie('pageFontSize') || 20 }); MIP.watch('pageTheme', function(newValue){ setCookie('pageTheme', JSON.stringify(newValue)) }); MIP.watch('pageFontSize', function(newValue){ setCookie('pageFontSize', newValue) }); function setCookie(name, value){ var days = 1; var exp = new Date(); exp.setTime(exp.getTime() + days*24*60*60*1000); document.cookie = name + '=' + value + ';expires=' + exp.toUTCString(); } function getCookie(name){ var reg = new RegExp('(^| )' + name + '=([^;]*)(;|$)'); return document.cookie.match(reg) ? JSON.parse(document.cookie.match(reg)[2]) : null; }