Hello Scott,
This is exactly the kind of distribution I want. You solved my problem and you
managed to make a piece of art in the process. You are so clever!!
Thanks and cheers,
Roger
On Mar 4, 2013, at 2:11 AM, Scott Rossi sc...@tactilemedia.com wrote:
I'm still a bit unclear about the
I want to thank Paul, Peter, Dunbar, Jacques and Scott for helping me with this
problem. I now have enough to keep me out of your hair for months!!
Thanks and cheers,
Roger
On Mar 3, 2013, at 7:27 PM, Paul D. DeRocco pdero...@ix.netcom.com wrote:
From: Roger Guay
Thanks, Scott. I'm not
On Sun, Mar 3, 2013 at 5:46 PM, Roger Guay i...@mac.com wrote:
I suspect this is easy, but I'm not coming up with anything. Can anyone
tell me how to get weighted random numbers in LC? Say I want to position
something on the screen randomly but favor the center of the screen. Any
ideas?
Hi Walt,
This works perfectly! I'll add it to the other methods I've received for
evaluation.
Thanks and cheers,
Roger
On Mar 4, 2013, at 10:06 AM, Sumner, Walt wsum...@dom.wustl.edu wrote:
This seems to work:
Make a stack with a button having this script, then click the button. It will
Thanks for this, Dr. Hawkins. I suspect my distribution is Gaussian, but I may
not need to be precise. I'm evaluating all the great suggestions I've received
on this.
Thanks again,
Roger
On Mar 4, 2013, at 10:36 AM, Dr. Hawkins doch...@gmail.com wrote:
On Sun, Mar 3, 2013 at 5:46 PM, Roger
On Mon, Mar 4, 2013 at 12:37 PM, Roger Guay i...@mac.com wrote:
Thanks for this, Dr. Hawkins.
One of the least likely places to use my Ph.D. in Statistics, but . . .
:)
I suspect my distribution is Gaussian, but I may not need to be precise.
I'm evaluating all the great suggestions I've
I have so much to learn and I learn so much from this group!!
On Mar 4, 2013, at 3:32 PM, Dr. Hawkins doch...@gmail.com wrote:
If it comes from combining a bunch of different things, it's pretty much
guaranteed to come out Gaussian if there are enough elements, and pretty
close to it even if
There may be a better mathematical method, but I suppose I would start
with the loc of the screen and add some small random offsets to the loc.
Then at random times when the loc is calculated, I would add some major
offsets to the center loc. In this way, the center loc is always favored.
Of
Thanks, Scott. I'm not sure I follow what you're saying, so let me expand on
what I'm trying to do: I want a number (25 to 200) of objects randomly
positioned on the stack/window but favoring the center of the stack/window.
Would your described method do this for me? Sorry for being slow...
From: Roger Guay
Thanks, Scott. I'm not sure I follow what you're saying, so
let me expand on what I'm trying to do: I want a number (25
to 200) of objects randomly positioned on the stack/window
but favoring the center of the stack/window. Would your
described method do this for me?
Roger
A simple method might be:
1. Select a random number between 25 and 200
2. Select a random number between 25 and the random number selected in
step 1.
This should result with the median of the numbers closer to 25 than 200. You
could repeat step 3 again if you want to
+ tFactor
end if
end weightTheMiddle
-Original Message-
From: Peter W A Wood peterwaw...@gmail.com
To: How to use LiveCode use-livecode@lists.runrev.com
Sent: Sun, Mar 3, 2013 9:55 pm
Subject: Re: Weighted Random Number
Roger
A simple method might be:
1. Select a random
12 matches
Mail list logo