You are not logged in.
Okay, thank you. Very good work.
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
You're welcome. It wasn't that hard, though.
I think I might be able to reduce it to 5 states.
Edit: This should work too:
Last edited by anonimnystefy (2014-09-10 10:13:29)
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
Did you enter the answer for a check?
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
Long time ago, it's correct.
Also, I checked, the above matrix is working.
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 off and thanks for the help.
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
No problem, see you later.
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
After I insert that big matrix in M, what do I do?
'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
Hm, you won't be needing all of it at once.
First, take out the rows and columns that correspond to the absorbing states. I'll call that new matrix Q. You need to calculate
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
What is I?
'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
An identity matrix.
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
Post#1 gave you the M commands.
M = ({
{0, 4/5, 0, 0, 0, 0, 0, 0, 1/5},
{0, 0, 1/2, 0, 0, 0, 1/2, 0, 0},
{1/10, 0, 0, 9/10, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 4/5, 0, 0, 0, 1/5},
{0, 0, 0, 1/2, 0, 0, 0, 1/2, 0},
{0, 0, 0, 0, 0, 0, 4/5, 0, 1/5},
{0, 0, 0, 0, 0, 1/10, 0, 9/10, 0},
{0, 0, 0, 0, 0, 0, 0, 1, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 1}
});
P2 = DiscreteMarkovProcess[1, M];
PDF[P2[\[Infinity]], 8]
PDF[P2[\[Infinity]], 9]
For the smaller one:
M = ({
{1/25, 9/25, 2/5, 0, 1/5},
{0, 2/5, 0, 2/5, 1/5},
{0, 0, 2/25, 9/10, 1/50},
{0, 0, 0, 1, 0},
{0, 0, 0, 0, 1}
});
P2 = DiscreteMarkovProcess[1, M];
PDF[P2[\[Infinity]], 4]
PDF[P2[\[Infinity]], 5]
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
Thanks.
'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
The only thing left bugging me is how to bobbym's simulation.
Maybe l, instead of picking them uniformely from the [1,33] interval, we should pick them with some sort of corresponding distribution.
Last edited by anonimnystefy (2014-09-11 01:17:12)
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
That idea does not get the job done.
There are other ways to compute that matrix 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
Which matrix?
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
The big one or the smaller.
Can you say what your labels mean?
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
Of course. For the big one, the letters stand for prisoners that are still in the game and the asterisks mark the prisoner whose turn it is. B+C stands for any state in which A is no longer in the game and that state is the goal.
For the ssecond one:
ABC - all three are left, A is speaking
AB - A and B left, A is speaking
AC -A and C left, C is speaking
A and B+C the same as in the big one.
Last edited by anonimnystefy (2014-09-11 02:33:54)
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
AC is all three are left, C is speaking ?
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, fixed.
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
C is speaking?
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
Yep. It's like that because of what hapens when B tells the truth. You go from the first state to the third state and C is speaking.
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
No wonder I did not get it. By the way it does not require any advanced math to answer the question at all.
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
What math does it require, then?
'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
Case work and simple use of fractions.
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
That would be some mighty casework.
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