Search found 41 matches

by ac11ca
Wed Jul 21, 2010 1:31 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Complicated loop function
Replies: 26
Views: 17219

Re: Complicated loop function

Hi Michael, How are you? Ive just returned from an intensive summer school in Berlin - it's rather hot there I must say! In the case that you are still interested... currently our program spits out a single set of paramaters that best fit the data. It was suggested to me that it might be the case th...
by ac11ca
Mon May 31, 2010 2:25 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Complicated loop function
Replies: 26
Views: 17219

Re: Complicated loop function

Hay Michael,

Thanks for the link. And also thanks for adding yet another meaning to my username that I hadnt previously noted.

Cheers,
Adrian
by ac11ca
Wed Apr 28, 2010 9:11 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Complicated loop function
Replies: 26
Views: 17219

Re: Complicated loop function

Hi Michael, Thanks for the tip on the coding change. The script now works and I think the intent is very useful (and, otherwise, just a neat feature). Thanks also for your thoughts Walt. After going through this process, I am now starting to believe that others with a similar goal to mine do in fact...
by ac11ca
Wed Apr 14, 2010 1:48 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Complicated loop function
Replies: 26
Views: 17219

Re: Complicated loop function

Hi Michael, Cognitive biases in decision making are indeed my central interest here. Im glad to hear you also share a mild interest. Although not vital to the program, I am curious to see this zoom function you have been describing. Unfortunately, I do not seem to be able to get it to work. When I c...
by ac11ca
Mon Apr 05, 2010 10:57 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Complicated loop function
Replies: 26
Views: 17219

Re: Complicated loop function

Hi Michael, (Sorry for the delay in replying, I went away for a few days). Thank you for completing this revised version of the program. The inclusion of a simple tick-box choice regarding what assumptions to make about parameters will no doubt be useful for me down the track. In addition, the reorg...
by ac11ca
Sun Mar 21, 2010 10:48 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Complicated loop function
Replies: 26
Views: 17219

Re: Complicated loop function

Hi Michael, That's quite a strange phenomenon/anomaly you noticed. Testing an extra step isnt really a problem, but I can see how it could throw us off is we are unaware of it. The improvements you have made in SCPT4 certainly make the program more usable and practical. The Monitor field is most wel...
by ac11ca
Sat Mar 13, 2010 3:07 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Complicated loop function
Replies: 26
Views: 17219

Re: Complicated loop function

Hi Michael, Let me first just say that I am genuinely grateful for your help. The program is much improved in all respects and, most importantly, it can now accomplish what I initially set out to do. Success! As you say, there are numerous improvements that can be made, but the machinery is now esta...
by ac11ca
Wed Mar 10, 2010 1:19 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Complicated loop function
Replies: 26
Views: 17219

Re: Complicated loop function

Hi Michael, I had a chance to look at your stack this evening - it is very useful and userfriendly: thankyou! Attached is a stack that includes my original program with you additional scripts. I have included my calculation in the button "Calculation time tester" and it takes on average 5ms. With th...
by ac11ca
Tue Mar 09, 2010 1:55 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Complicated loop function
Replies: 26
Views: 17219

Re: Complicated loop function

Thanks for your help, Michael. I've been distracted today, and haven't had a good chance to digest your attachment, however, I will rectify that tomorrow hopefully and get back to you as to how it goes.

Cheers,
Adrian
by ac11ca
Mon Mar 08, 2010 12:35 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Complicated loop function
Replies: 26
Views: 17219

Re: Complicated loop function

Thanks for your reply Michael, You have understood correctly what I am trying to do and, as I suspected, it is a bit much. In order to save computation time, I am prepared to simplify the model and reduce the search to the following: assume a = b = value between 0.01 and 1.99, with 0.01 increments. ...
by ac11ca
Sun Mar 07, 2010 11:31 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Complicated loop function
Replies: 26
Views: 17219

Complicated loop function

Hi, I was looking for an efficient way to do the following: I have a formula/model, which contains five adjustable parameters/variables (a,b,d,g,m), that is used to predict Y upon being given X. I also have the true/observed value of Y. I would like to find out what specific set of parameters will a...
by ac11ca
Fri May 01, 2009 6:21 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Weird text error when create standalone
Replies: 1
Views: 1909

Actually, there is nothing in zRisky, because one of my global variables putting the text into zRisky isnt working!?!

When I play in Rev the global variable = 1 and everything works
When I play in standalone the global variable is empty and nothing works.

?! :shock:
by ac11ca
Fri May 01, 2009 5:34 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Weird text error when create standalone
Replies: 1
Views: 1909

Weird text error when create standalone

hi guys, I have a program that works fine, but fails when I convert it to a standalone. The key line of code is: set the itemdelimiter to tab put item 1 of line zCount1 of zRisky into fld "A1" where (from Variable watcher): zCount1 = 1 zRisky = 80% chance of 4, else 0 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 W...
by ac11ca
Sun Apr 26, 2009 5:30 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Change disabled button text color
Replies: 3
Views: 3378

Thanks guys, good suggestions. I went with the backcolor/bottomcolor commands simply because they meant less code changes for me.

Cheers,
Adrian