Page 10 of 18

Re: The scams of Statistics...

Posted: Fri Sep 04, 2015 8:32 pm
by Scott Mayers
dionisos wrote:No, all possibilities 'matter' here, forget about the part of winning or not, it seem to confuse you.
If you roll a dice, and then toss a coin if the dice give a even number, then your probability to get a 2 and a head, is 1/12. P(2 and head) = 1/12
And you probability to get a 3 is 1/6, P(3)=1/6
as much as you can to demonstrate it as 2/7 depending on the perspectives
Ok, i wait to see your program then, here would be mine, i could translate it in python to get the result, but i want yours:

Code: Select all

results = {}

do it 100000 times
  dice_result = a random integer between 1 and 6
  if 2 divide dice_result then
    c = a random integer between 0 and 1.
    coin = "head" if c = 0, and "tail" if c=1
    results["d"+x+"-"+coin] = results["d"+x+"-"+coin] +1 // we initialize results["d"+x+"-"+coin] to 0 if it doesn’t exists.

print(results)
You could see i only use the game rules, i don’t do any reasoning about probability here.
Now i wait to see your program, i can also translate it in python if you want to see the result.
Thank you for providing a pseudocode program here. It demonstrates how a program can predetermine an outcome expected by including a set of 'possibilities' to which you deem acceptable by your perspective. My point is that by knowing that you've predefined the win of this game is defined as either a '3' on the dice or a '2 and heads' on a dice/coin combination. But because I know this ahead of time, I know that all that counts for this given RESULT is 2/7 because I know if I toss a dice roll of a '4', I don't have to bother tossing the coin already knowing that nothing which follows matters.

In contrast, if I was a player to which you told me what I had to do from beginning to end, before revealing the particular answer, to me as a player, it is 1/4. But in reality, this event in this unique given end is 2/7 from a God's-eye perspective.

Thus perspective matters.

Re: The scams of Statistics...

Posted: Fri Sep 04, 2015 8:36 pm
by dionisos
See my corrected program.
I still wait to see you program with the different perceptive.

Re: The scams of Statistics...

Posted: Fri Sep 04, 2015 8:39 pm
by dionisos
My point is that by knowing that you've predefined the win of this game is defined as either a '3' on the dice or a '2 and heads' on a dice/coin combination. But because I know this ahead of time, I know that all that counts for this given RESULT is 2/7 because I know if I toss a dice roll of a '4', I don't have to bother tossing the coin already knowing that nothing which follows matters.
No, the result i give you, is by knowing all the rules of the game from start, before doing anythings.
It is true that in reality you don’t have to bother tossing the coin when you get a 4, if you want to know if you win or not, if you get a 4, you have already lost. (but you don’t have to include it in the program, you can still toss the coin if you get a 4, it will not change the result, in fact it is exactly for that it doesn’t matter to do it)
Still, your probability to win, in my game, is 1/4, and not 2/7.

I gave the reasoning i follow steps by steps, and i give you a program to try it empirically.
I wait for you to give me your reasoning steps by steps, and a program to try it empirically.

Re: The scams of Statistics...

Posted: Sat Sep 05, 2015 12:52 am
by Scott Mayers
dionisos wrote:
My point is that by knowing that you've predefined the win of this game is defined as either a '3' on the dice or a '2 and heads' on a dice/coin combination. But because I know this ahead of time, I know that all that counts for this given RESULT is 2/7 because I know if I toss a dice roll of a '4', I don't have to bother tossing the coin already knowing that nothing which follows matters.
No, the result i give you, is by knowing all the rules of the game from start, before doing anythings.
It is true that in reality you don’t have to bother tossing the coin when you get a 4, if you want to know if you win or not, if you get a 4, you have already lost.
Still, your probability to win, in my game, is 1/4, and not 2/7.

I gave the reasoning i follow steps by steps, and i give you a program to try it empirically.
I wait for you to give me you reasoning steps by steps, and a program to try it empirically.
Your program would reduce to the following program if a computer compiles it appropriately:

Code: Select all

INTEGER VARIABLE dice 
INTEGER VARIABLE coin
INTEGER VARIABLE clock
INTEGER VARIABLE win
INTEGER VARIABLE wincount
INTEGER VARIABLE X

SUBROUTINE random {
	clock = {Some Random program returning a number between 1 and 60}
	return
	}

SUBROUTINE roll {
	clock = 0
	Run random
	clock = clock/10 as an Int
	clock = clock + 1
	dice = clock
	return
	}

SUBROUTINE toss {
	clock = 0
	clock = clock % 2
	coin = clock 
	return
	}


SUBROUTINE game {
	win = 0
	clock = 0
	dice = 0
	coin = 0
	}
	
	Run roll					
	If ((dice % 2) = 0)			If (dice = 2) {Optional changes for efficiency in time}
		Run toss						
		If (coin = 1) 				
			win = 1							
	If (dice = 3)
		win = 1
	return
	}
	
MAIN PROGRAM {
	wincount = 0
	X = 0
	
	Until (X = 1000000) Do {
		Run game
		wincount = wincount + win
		X = X + 1
		}
	Print "The wins are ", X/10000, "%."
	End MAIN
	}

The above program illustrates what you want for 1 million tries. I don't define the random generating program here except that it returns a value between 1 and 60. This is just a different program than yours so that I can relate and use it to show a simpler program that defines it different by perspective in what follows. This program presumes a total of 12 possibilities in which 3 of them are "wins" so the expected average results of replaying this game is 1/4 in practice. This respects all end results (the 12) as valid by meaning.

But now for one "knowing" that the actual "wins" only occur only when the (dice = 2 & coin = 1) ["heads" for here] OR (dice = 3),
if we see this by the perspective of the ACTS, the program has to be redesigned to represent what one should expect about what one should do. This is key in the Monty Hall Problem later because the probability is presented to suggest that you should switch, which is an ACT, not the value of the RESULT. That is, you can get the same RESULT expected by only attending to your actions only here.

Here, at the beginning of your game, all you first require is to roll the dice. From the RESULTS of this role, you can predetermine which ones should count as determining how you should act to get what you want. Thus, you have,

1) when Dice roll = 1 [ACT: stop]
2 and 3) when Dice roll = 2 [ACT: Do Coin Toss]
. ..........................when Coin toss = Heads[ACT: stop]
. ..........................when Coin toss = Tails [ACT: stop]
4) when Dice roll = 3 [ACT: stop]
5) when Dice roll = 4 [ACT: stop]
6) when Dice roll = 5 [ACT: stop]
7) when Dice roll = 6 [ACT: stop]

These are all the possibilities based on ones' actions. Because the above (2) and (3) require you to follow through, these act as distinct and necessary actions dependent upon the act from a '2'. The code to demonstrate this is the same above with the change that is written to the right for the SUBROUTINE called, "game". This represents the efficiency to ACT. It also saves time by that procedure as it ignores the unessential steps that you include in (5) and (7) above. That is, it takes the processor less time by 2 x 2 = 4 unnecessary steps (of 12). Notice that the reason this is out of 7 above and NOT 8 is because this respects the perspective of complete actions one must DO from the perspective: What set of RESULTing behaviors that end on a "stop" that matters. Out of all "stop" ACTions, the probability is 2/7 because they respect the possible results with respect to their possible routes.

Notice that you may question whether this matters as you've predefined the game to require tossing the coin no matter what, right? However, you also added that we should be doing this multiple times and determine the occurrence of this probability ''true" by repeating it over and over through a constant process in the same duration. However, in real life, we may only get the fortune to playing such games once. And as such, it only saves the person playing (or computer running) to default to be efficient with the act. In the above program, the optional route I suggest, saves time even though the odds remain 1/4 by your defining process. If we use my alternative change, we save time per game. So we could actually do more games in the same time. This increases the total number of wins per unit of time possible to maximize your "wins" even given the same odds. if you only 'win' $1 for a winning game, while playing in time X, if you play 2 games in the same time, X, you increase your potential to win a maximum of $2. If the odds to win $1 is 1/4, of course the odds to win $2 is 1/4 * 1/4 = 1/16 in the same time.

It is this latter factor which demonstrates that you change the odds by playing multiple times anyways as it adds value for each attempt. So using this method (computer program) to test the validity of the experiment to interpret odds is moot. The question is whether you can improve your odds to win in any one game. And no matter which perspective you stage the game, there is none.

So let me show you a program which demonstrates the 2/7 probability works too:

Code: Select all

INTEGER VARIABLE dice 
INTEGER VARIABLE clock
INTEGER VARIABLE win
INTEGER VARIABLE wincount
INTEGER VARIABLE X

SUBROUTINE random {
	clock = {Some Random program returning a number between 1 and 70}   {Notice change from 60 to 70}
	return
	}

SUBROUTINE roll {
	clock = 0
	Run random
	clock = clock/10 as an Int
	clock = clock + 1
	dice = clock
	return
	}

SUBROUTINE game {
	win = 0
	clock = 0
	dice = 0
	
	Run roll																									
		If (1 < dice < 5) {to allow for options 2, 3, & 4}		
		win = 1
	return
	
MAIN PROGRAM {
	wincount = 0
	X = 0
	
	Until (X = 1000000) Do {
		Run game
		wincount = wincount + win
		X = X + 1
		}
	Print "The wins are ", X/10000, "%."
	End MAIN
	}

This respects the ACTs as relevant. If you were to play this same game only thinking in terms of your behavior, the reduction of the program based on it increases your odds to win more often if you were to maximize your efficiency in time for multiple plays. As such, you save time by simply skipping over having to toss the coins in those other cases from your original game.

AND, if you ignore even repeating games, then you have another perspective you have to consider for ONLY ONE game ignoring efficiency in time.

If you play only once, the odds are indeterminate until you finish the game. As such, when you "win", you won 100%. If you "lose" you win 0% of the time.

From the perspective of the one designing the game, they create the illusion of odds to be 2/7 OR 2/8 = 1/4. But nature is the one actually 'determining' the outcome regardless. And even using multiple world interpretations, the 2/7 probability would win out in this case as it is most efficient with respect to time. And by you forcing one to play out the game, if they "knew" and trusted you, they could accept the 1/4 probability even though it is actually 2/7 to nature. Only if you didn't inform them that they had to get the specified "wins" could you entice them to play out the game completely delaying their time on useless moves (such as when the dice is even & not '2') returning the odds to 1/4 by the perspective of the guest.

Did I blow your mind yet?

Re: The scams of Statistics...

Posted: Sat Sep 05, 2015 1:11 am
by Scott Mayers
Note that the points I made above do not limit other perspectives that could be reasoned. The problem with stating any probability relates to odds that are determined 'fair' by real nature. I need a break before writing further. Just note that efficiency in the behaviors of nature determines the actual outcome as one probability; and the various input "knowledge" as well as "behaviors" determine the probabilities via different perspectives of the guest or the host. There are three general probability perspectives. One is 1/3, one is 2/3, and the last is 1/2. At least, these are the ones I see possible. So we should attempt to try to see how each one works and where they apply before determining which one nature prefers or how either the host or the guest can purposely do anything different to alter the outcome (if even possible).

Re: The scams of Statistics...

Posted: Sat Sep 05, 2015 3:05 am
by Obvious Leo
Scott. Why are putting yourself through this mental torture and making such a blindingly simple question so bloody difficult?

You have three doors behind one of which is a car and behind two of which are goats.

You get to pick only ONE door.

Therefore there is a 1/3 chance that the car will be behind the door you pick and a 2/3 chance that the car will be behind one of the doors which you haven't picked.

This is the entire beginning, middle and end of the problem.

Re: The scams of Statistics...

Posted: Sat Sep 05, 2015 3:16 am
by Scott Mayers
Obvious Leo wrote:Scott. Why are putting yourself through this mental torture and making such a blindingly simple question so bloody difficult?

You have three doors behind one of which is a car and behind two of which are goats.

You get to pick only ONE door.

Therefore there is a 1/3 chance that the car will be behind the door you pick and a 2/3 chance that the car will be behind one of the doors which you haven't picked.

This is the entire beginning, middle and end of the problem.
It's not bothering me any here.

But given that you believe in exactly one unique universe, can you determine anything about any result of a lottery before actually winning it? If you were only allowed one play, are you able to assert that any odds you are assured is true is enough for you to place faith in it?

Certainly playing the lotto at least MAY give you a chance rather than none at all. But is it just possible that the lottery is unfair by some means to which you could have a 100% certainty of losing with respect to the Universe?

Re: The scams of Statistics...

Posted: Sat Sep 05, 2015 3:25 am
by Obvious Leo
Scott. This is not about me. This is about the simplest imaginable proposition of logic. If you have a one in three chance of winning a car then how the fuck can that probability suddenly change to one in two?

Re: The scams of Statistics...

Posted: Sat Sep 05, 2015 3:40 am
by Scott Mayers
Obvious Leo wrote:Scott. This is not about me. This is about the simplest imaginable proposition of logic. If you have a one in three chance of winning a car then how the fuck can that probability suddenly change to one in two?
You miss the point. But I noticed you shifted to the 1/3 solution even against the puzzle's claim. Or was this an error?

Re: The scams of Statistics...

Posted: Sat Sep 05, 2015 3:53 am
by Obvious Leo
Scott Mayers wrote:You miss the point. But I noticed you shifted to the 1/3 solution even against the puzzle's claim. Or was this an error?
No. I haven't shifted anything but you don't understand the puzzle. The game scenario is engineered to trick you out of the obvious. Once you pick a door there is a 1/3 chance that you can win the car, and I'm quite sure that you're not going to argue with that. Forget about the host of the game and imagine that I'm there with you and I get the other two doors. This means I have 2/3 chances of winning the car and I can't see how you can possibly argue with that.

THE PROBABILITY THAT THE CAR IS BEHIND ONE OF MY TWO DOORS IS DOUBLE THE PROBABILITY THAT IT IS BEHIND YOUR ONE DOOR.

How can this probability change?

Re: The scams of Statistics...

Posted: Sat Sep 05, 2015 4:05 am
by Scott Mayers
Obvious Leo wrote:
Scott Mayers wrote:You miss the point. But I noticed you shifted to the 1/3 solution even against the puzzle's claim. Or was this an error?
No. I haven't shifted anything but you don't understand the puzzle. The game scenario is engineered to trick you out of the obvious. Once you pick a door there is a 1/3 chance that you can win the car, and I'm quite sure that you're not going to argue with that. Forget about the host of the game and imagine that I'm there with you and I get the other two doors. This means I have 2/3 chances of winning the car and I can't see how you can possibly argue with that.

THE PROBABILITY THAT THE CAR IS BEHIND ONE OF MY TWO DOORS IS DOUBLE THE PROBABILITY THAT IT IS BEHIND YOUR ONE DOOR.

How can this probability change?
I'd engage with you but you don't actively read any proofs that I could present. You simply declare , like "magic", that you're the one being "logical" here and expect me to appeal to you while you don't bother using any actual logic to prove what I'd demonstrated is in error. If I try to show you that you are wrong, you'll find another digression, insult me, or restate your belief. Unless you are willing to participate, I'm done arguing with you here.

Re: The scams of Statistics...

Posted: Sat Sep 05, 2015 4:54 am
by Obvious Leo
Scott Mayers wrote:I'd engage with you but you don't actively read any proofs that I could present.
What proofs? Do you mean like the proofs you offered for the existence of other universes? You're embarrassing yourself.

Re: The scams of Statistics...

Posted: Sat Sep 05, 2015 6:16 am
by Scott Mayers
What follows here is the original presentation of the problem as presented from Wikipedia:
Monty_Hall_Original.png
And my repair using the same diagram enhanced to show the actual options. The red indicates where the car is. The significant factor added here is the second row which shows that the Host Reveals act as distinct options, not one simple option. Thus the mistake is that they treated the value of receiving a goat, being 0 as a probability without recognizing that there are two cases that must be considered.

([0 + 0] + 1 + 1)/4, not ([0] + 1 + 1)/3
Fixed Solution.png

Re: The scams of Statistics...

Posted: Sat Sep 05, 2015 6:24 am
by Obvious Leo
How do you explain the inescapable FACT that if the game is actually played the chances of winning the car actually doubles if the player switches his choice? This has been empirically verified countless times and the outcome has NEVER been otherwise.

What explanation do you offer for this or do regard such an explanation as unnecessary in the face of your "proof"?

Re: The scams of Statistics...

Posted: Sat Sep 05, 2015 7:06 am
by Scott Mayers
Obvious Leo wrote:How do you explain the inescapable FACT that if the game is actually played the chances of winning the car actually doubles if the player switches his choice? This has been empirically verified countless times and the outcome has NEVER been otherwise.

What explanation do you offer for this or do regard such an explanation as unnecessary in the face of your "proof"?
I've explained this in my conversations with dionisos. To repeat in different terms for your sake,

(1) if you define the program measuring this 'empirically' by random generation, the way the program is designed accepts the value of the result when one initially picks the car as 0/3 rather than 0/4. Both equal '0' and so are equiprobable as dionisos was thinking was not. So IF such a program is devised, it will use equate the meaning of the results that appear to 'matter' (= 3) because we attend to the reward rather than the meaning of the acts of the host and guest to do two distinct things.

(2) For non-computer experiments, I mentioned before in response to you that if these 'empirical' tests are done online or any forum that allows anyone to participate, we cannot trust the accuracy of any samples at any point since (a) people are free to bias the results by opting to switch ALL the time in the belief that this is true. If 9/10 people interested in this experiment are biased to do this, for instance, because they always opt for a "switch", for all instances of their "wins", they would all prove to be from their Switch-only restrictions. (b) As online voting from reality programs, like American/Canadian Idol show, people really DO actually bias the voting even where someone who gets the most votes is obviously the worst by normal standards or evade voting for those who are obviously very good because people often vote based on other superficial qualities, like whether the person comes from their State or Province or because of some other personal factor. For many of these many occasions this occurred, these prove that we cannot trust such voting processes. And I think you can relate considering we were just talking of concerns on voting in a thread on politics earlier.

(3) Another set of errors which occur relate to the fact that repeated events in real life actually increase (thus change) your odds the more you play. If you played a game like flipping a coin for heads-only expectation, while only trying it once could be 1/2, if you do it again, the odds for a head in another sample will still equal 1/2 but if you were to consider the rewards, like if you were to be paid a penny every time you "win", for each new toss, you get rewarded more pennys when you win simply for playing and the odds of this are then represented as:

For one play: 1/2 Heads = $1
For two plays: 1/2 Heads only = $1; 1/2 x 1/2 Heads for both plays [1/4 to get $2]
For three plays: 1/2 Heads only = $1, 1/2 x 1/2 Heads for any two plays [1/4 to get $2];
1/2 x 1/2 x 1/2 = Heads for three plays [1/16 to get $3], etc...

(4) And a related factor which I also pointed out is how any price relative to REALITY is still determined by nature and yet, by any individual playing, is indeterminate, until you actually discover you win or lose. This is like trying to predict the weather indeterminately too far in the future. Just like buying a lottery at least gives you some chance (if fair) you cannot actually determine your odds until you actually win. "Winners" assert their win due to nature's determination (and/or 'fate'), as 100%; "Losers" can only assert their lack of luck as 0% to win.