Category "random-sample"

Vectorizing numpy.random.multinomial

I am trying to vectorize the following code: for i in xrange(s.shape[0]): a[i] = np.argmax(np.random.multinomial(1,s[i,:])) s.shape = 400 x 100 [

Latin Hypercube Sampling from a normal distribution (Python)

How to generate 10 random numbers from normal distribution using latin hypercube sampling technique in python 2.7? The range of the random number should be 5 to