def _create_sum_pdist(numsamples):
 fdist = FreqDist()
 for x in range(1, (((1 + numsamples) // 2) + 1)):
  for y in range(0, ((numsamples // 2) + 1)):
   fdist[(x + y)] += 1
 return MLEProbDist(fdist)

def _create_sum_pdist ( numsamples ) : fdist = FreqDist ( ) for x in range ( 1 , ( ( ( 1 + numsamples ) // 2 ) + 1 ) ) : for y in range ( 0 , ( ( numsamples // 2 ) + 1 ) ) : fdist [ ( x + y ) ] += 1 return MLEProbDist ( fdist )
return the true probability distribution for the experiment _create_rand_fdist .