为二项分布生成完整的样本空间,以获得n和k的值?

时间:2016-07-06 08:33:58

标签: python r algorithm simulation binomial-theorem

我想为给定的n&值创建二项分布的完整样本空间。 ķ。所以Set cn = CreateObject("ADODB.Connection") With cn .Provider = "YOUR.PROVIDER" .ConnectionString = "YOUR_CONNECTION_STRING" .Open End With strQuery = "SELECT officer, salary FROM table" Set rs = cn.Execute(strQuery) Do While Not rs.EOF For i = 0 To rs.Fields.Count ' Insert data to your worksheet here ' rs.Fields(0).Value holds the value for officer ' rs.Fields(1).Value holds the value for salary Next rs.MoveNext Loop rs.Close 应该返回类似的内容:

Bin(n = 4, k =2)

0 个答案:

没有答案