Hello, I just want to ask how do i generate 6 random numbers ranging from 1 to 100 from which the user indicates the number of combinations to be generated?
JMP has many pseudo-random number generators. Use this one:
Random Integer( 1, 100 );
You can construct a vector with the J() function. Here is a call to produce a column vector of six random variables:
J( 6, 1, Random Integer( 1, 6 ) );
I am not clear what you need when you say "from which a user indicates the number of combinations to be generated."
I see. That need is easily handled by the second argument to the J() function.
J( 6, 3, Random Integer( 1, 6 ) );
You can use variables instead of constants, too.
r = 6; c = 3; J( r, c, Random Integer( 1, 6 ) );