Perl random number generator

已取消 已发布的 Mar 27, 2014 货到付款
已取消 货到付款

Script will generate a table of data and a log file of activity.

Input parameters:

r rows

s class size

p probability of difference

c1m class 1 mean

c1sd class 1 sd

c2m class2 mean

c2sd class2 mean

1. Script will generate a csv output table with 'r' rows and 'c' columns composed of two classes of size 's'. For example if s = 10, then there are 20 columns. Rows will be labeled r1, r2, r3,... and columns labeled c1, c2, c3...

2. For each row the script will calculate the probability that there is a difference in classes. For example, if p = 0.01 there is a 1 percent chance that the classes in a particular row will have different scores.

3. If the classes for a row are found NOT to have different scores, the scores of each member will be calculated randomly according to a normal distribution with parameters c1m and c1sd.

4. If the classes for a row ARE found to have a different score, the scores of classes will be randomly distributed according normal distributions c1m/c1sd and c2m/c2sd. Furthermore, the identity of this row will be written to a log file.

Perl

项目ID: #5726342

关于项目

1个方案 远程项目 活跃的Mar 29, 2014

1 威客就此工作平均出价 $20

vkoder

Hi i willl do that work for you please ping me to initiate the discussion thanks and regards vkoder thanks

$20 USD 在0天内
(1条评论)
0.8