You are not logged in.
Ok but I am sleeping now, how Can I post simulations while sleeping?
Zzz
'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.
Offline
I was asking anonimnystefy but it may be possible to use even less than 9 states as an answer to you.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Okay, how?
'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.
Offline
It is just an idea right now. It probably will not even work. I am still working on a reasonable simulation first.
See you in a little bit have to get a bit of rest.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
To have only 9 states, you can merge the cases where only B is left, only C is left, B and C are left with B being asked first, B and C are left with C being asked first and use that one as an absorbing state.
I'll post the sim as soon as possible.
EDIT: Here it is:
Count[Table[Block[{l = {1, 2, 3}},
While[Length[l] > 1,
r = RandomReal[];
If[(Length[l] > 1) && (r < 1/5), l = DeleteCases[l, 1]];
r = RandomReal[];
If[(Length[l] > 1) && (r < 1/2), l = DeleteCases[l, 2]];
r = RandomReal[];
If[(Length[l] > 1) && (r < 9/10), l = DeleteCases[l, 3]];];
l
], {1000000}] // Flatten, 1]/1000000 // N
Last edited by anonimnystefy (2014-09-09 22:38:20)
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline
Hi;
Here is mine:
h = Table[{.8, .5, .1}, {33}];
n = 1000000;
ans = Table[
s = h;
w1 = RandomInteger[{1, 33}];
s[[w1, 1]] = .2;
w2 = RandomInteger[{1, 33}];
w3 = RandomInteger[{1, 33}];
s[[w3, 3]] = .9;
w1 < Max[w3, w2], {n}];
Count[ans, True]/n // N
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Isn't this thread about markov chains?
'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.
Offline
Yes it is but we are at your request working on a specific problem which I have not solved yet. The simulation now provides an approximate answer and a bound on that answer. This will weed out many dead ends. The digital age has made this a difficult concept to grasp.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
I have solved it, and I'm pretty sure of the answer. The simulation and the analytic method agree.
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline
Okay, I am still working on it.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Hm, your simulation is incorrect. You are not calculating the probability correctly.
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline
I made it to get an approximate answer? It gets about .65 which is quite close.
You can post your solution if you like because I have to go shopping and need to work on mine a bit longer. Please label your rows and columns.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
I can post it, but the fact that it's close is just a coincidence here. It would get that number whatever the probabilities were.
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline
Hi;
It does appear you are correct! I am having trouble writing this one in the functional style.
Post yours please.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
I already did.
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline
I meant the analytical solution.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Ah, sorry.
Well, it's very stupid.
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline
Looks pretty good from here but it is not a Markov chain.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
It is not, but that is my solution.
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline
I was afraid you were going to say that. I am not sure this one can be solved by a Markov chain.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
It can, I have the matrix. It's quite big, though.
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline
Ah, can you post that? I am having trouble with that portion of the problem too.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline
Wunderbar! What are the labels?
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Sorry, forgot.
In order: *A*BC, A*B*C, AB*C*, *A*B, A*B*, *A*C, A*C*, A, B+C.
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline