- #1
TheCanadian
- 367
- 13
Just came across this exercise in David Williams' book and thought it was worth sharing.
Yes, very interesting. I could not find an easy way to figure it out ... lots of little transition diagrams.TheCanadian said:View attachment 110343 View attachment 110344
Just came across this exercise in David Williams' book and thought it was worth sharing.
CORRECTION: THIS POST IS WRONG (see the next two posts)haruspex said:Yes, very interesting. I could not find an easy way to figure it out ... lots of little transition diagrams.
The hardest ones to beat are HTH and THT. In each case there is only one choice.
HHH and TTT do not beat anything.
No, that does not work. If she chooses HTH then your algorithm chooses THT, but by symmetry those are equal. To win you must choose HHT.FactChecker said:This is talking about the first occurrence of those patterns in a long string, right? I think that as long as your last two letters match his first two and your first letter is different from your second (his first), you string has strictly better odds of occurring first. It doesn't matter what his last letter is.
CORRECTION: I am having second thoughts about this post (see edit below)haruspex said:No, that does not work. If she chooses HTH then your algorithm chooses THT, but by symmetry those are equal. To win you must choose HHT.
Yes, that seems to work. Haven't figured out whether that gives the best advantage in each case.FactChecker said:copy the first two characters of his as your second and third and to make your first character different from his second character (your third char)
In fact I can choose one such that probability of my winning is 2/3, except in the cases where you selected HHH or TTT, then my chances are 7/8.TheCanadian said:View attachment 110343 View attachment 110344
Just came across this exercise in David Williams' book and thought it was worth sharing.
EDIT2: This is wrong again. It can end up with your string being the same as his. I give up as far as stating a simple solution that works for all cases.FactChecker said:CORRECTION: I am having second thoughts about this post (see edit below)
(I added some to my prior post.) Looking only at the first occurrence of his pick, 'HTH', your pick of 'THT' will have equal odds and will come before in the string 'T HTH'. They are not symmetric cases since you have guaranteed yourself a win in a small subset that he needed for a win.
EDIT: I see your point. It is symmetric, since his 'HTH' has the same advantage of coming before my first 'THT' in the string 'H THT'. So your solution is to copy the first two characters of his as your second and third and to make your first character different from his second character (your third char). That would make it asymmetric and give you an advantage.
I can even do better. Let's list the 4 cases with more Ts than Hs in alphabetical order (the other cases are symmetric):Zafa Pi said:In fact I can choose one such that probability of my winning is 2/3, except in the cases where you selected HHH or TTT, then my chances are 7/8.
No, I think it works. Without loss of generality, he chose a sequence starting with H. Your rule gives:FactChecker said:EDIT2: This is wrong again. It can end up with your string being the same as his. I give up as far as stating a simple solution that works for all cases.
His Yours
HHH THH
HHT THH
HTH HHT
HTT HHT
Oh! Thanks! I got myself confused.haruspex said:No, I think it works. Without loss of generality, he chose a sequence starting with H. Your rule gives:
Code:His Yours HHH THH HHT THH HTH HHT HTT HHT
A counterintuitive problem with HTH patterns refers to a situation or concept that goes against our natural instincts or common sense when interpreting data or patterns in high-throughput (HTH) experiments. It challenges our initial assumptions and expectations and may lead to unexpected results or conclusions.
A counterintuitive problem with HTH patterns can occur due to various reasons, such as biased data collection methods, incomplete or incorrect data analysis, or complex underlying relationships between variables that are not easily observable or understood.
One example of a counterintuitive problem with HTH patterns is the Simpson's paradox, where a trend appears in different subgroups of data but disappears or reverses when these subgroups are combined. Another example is the "gambler's fallacy," where people believe that past outcomes can affect future outcomes in a random process, even though the two are statistically independent.
To address counterintuitive problems with HTH patterns, scientists can use rigorous and unbiased data collection and analysis methods, carefully consider potential confounding factors, and replicate experiments to ensure the validity and generalizability of their findings. They can also consult with experts in statistics or other relevant fields to gain a deeper understanding of the data and interpret the results more accurately.
Being aware of counterintuitive problems with HTH patterns is crucial for scientists because it allows them to avoid making incorrect conclusions or decisions based on misleading or incomplete data. It also promotes critical thinking and a deeper understanding of the complexities and limitations of scientific research, leading to more accurate and reliable findings.