Forum Moderators: phranque

Message Too Old, No Replies

Problem with phpAdsNew in Probability

         

Majid

12:35 pm on Jul 11, 2005 (gmt 0)

10+ Year Member



Hello,

I have 4 banners in one Zone.
weight of banner A is 1
weight of banner B is 1
weight of banner C is 1
weight of banner D is 1

but when I'm going to probability of zone show me this result:
Banner A : 28.57%
Banner B : 28.57%
Banner C : 28.57%
Banner D : 14.29%

then I change weight of Banner D to 4 and show me this result:

Banner A : 26.32%
Banner B : 26.32%
Banner C : 26.32%
Banner D : 21.05%

What's the problem?

Regards,

2by4

6:41 pm on Jul 11, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



If there are no other factors, and if you haven't made a simple logic error, which I suspect you may have, and if you are using simple random number generation, then the problem is that programming languages don't actually do random number generation, they emulate it through an algo, so this could be a weakness in that algo showing itself. What programming language is used, by the way?

This is assuming that your visitor numbers are high enough to create meaningful averages of course, not like 50 views, 48 views, etc.

Majid

6:41 am on Jul 12, 2005 (gmt 0)

10+ Year Member



Thanks for your reply but I haven't had programmed myself , I have used phpAdsNew (http://phpadsnew.com/two/) that is programmed by PHP .
And I don't think that there would be any problem because the programm is an open source and powerfull one

Thanks

2by4

6:45 am on Jul 12, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Sounds like a programming error to me, even the best software has bugs in it.

monkeythumpa

8:37 pm on Jul 12, 2005 (gmt 0)

10+ Year Member



Both the campaign and the banners have their own weighting allocations. Check to see if they are both where you want it.

Majid

9:05 am on Jul 16, 2005 (gmt 0)

10+ Year Member



Thanks for your reply,

I set both Banner and campaign weight to 1 for each 4 of them but the problem already exists.

Is it a bug?

Thanks