Unipark Forum

Unipark Forum (http://forum.unipark.info/forum/index.php)
-   old questions (http://forum.unipark.info/forum/forumdisplay.php?f=299)
-   -   Generating non-uniform random numbers (http://forum.unipark.info/forum/showthread.php?t=8197)

nphillips 24.11.2011 10:24

Generating non-uniform random numbers
I'm running a study where I need to generate non-uniform random numbers. Using the random trigger, Unipark can generate a random integer between two values, but it won't let you generate numbers from a non-uniform distribution.

For example, in one study I need to generate numbers from a Normal distribution with a specified mean and variance and present them to participants/users.

I don't believe that Unipark has a direct solution for this, but can anyone help me think of a workaround? Perhaps there is a way to do it by using custom Java code? I don't know how to program in Java but if someone knows if it's possible I can try to learn!

JensL 09.12.2011 15:12

Hi nphillips,

I have to admit that I don't fully understand what you want to achieve with this.
I can't help you with anything related to Javascript, but if you could explain your intent a bit more detailed I might be able to help you with a workaround.

Alle Zeitangaben in WEZ +1. Es ist jetzt 21:02 Uhr.