Serving the Quantitative Finance Community

Search found 6 matches

by Vanubis
January 18th, 2011, 2:35 pm
Forum: Brainteaser Forum
Topic: Criminal investigation
Replies: 5
Views: 25201

Criminal investigation

<t>Maybe another way to answer to this question.Before the clue of left-hander was discovered, we have:60% of being guilty for the main suspect and 40% for anybody else (as we suppose someone is guilty).With the clue, no change for our main suspect (still 60%) and now 2.8%= 40% * 7% for the rest of ...
by Vanubis
December 6th, 2010, 3:20 pm
Forum: Brainteaser Forum
Topic: How many way such that subtotal is always >= 0?
Replies: 4
Views: 25201

How many way such that subtotal is always >= 0?

If you note f(i) the number of such sequences where i is the number of "+1" and f(0)=1, you have the following:f(n)=Sum (j=0 to n-1) f(j)*f(n-1-j)for i=50, the result is close to 2*10^27
by Vanubis
October 27th, 2010, 1:56 pm
Forum: Brainteaser Forum
Topic: Couple of brainteaser/interview questions
Replies: 9
Views: 39056

Couple of brainteaser/interview questions

A good approximation is 0.5 + mu/(2*pi*(1+sigma*sigma))^0.5Easy to find by using N(x+mu)=N(x)+Int(x-->x+mu)exp(...), the first term gives 0.5 by integrating and the second could be approximated by mu*exp(-x*x/2) to give the solution.
by Vanubis
March 16th, 2010, 1:12 pm
Forum: Brainteaser Forum
Topic: Interview question From Morgan Stanley
Replies: 47
Views: 46647

Interview question From Morgan Stanley

Repoman,Just a little remark,I think you need all E(m,0)=m/p & E(0,n)=n/q to make the double recurrence.Not so easy to calculate all ways to reach E(n,n) but I will try to have a closed form with this approach.
by Vanubis
March 11th, 2010, 10:05 am
Forum: Brainteaser Forum
Topic: Simple Random Walk
Replies: 10
Views: 35529

Simple Random Walk

I think it works even if it's not a random walk.If you have p(i) the long term probability to be at vertex i, the average time to return from i to i is 1/p(i).
by Vanubis
February 18th, 2010, 4:59 pm
Forum: Brainteaser Forum
Topic: uniform distribution?
Replies: 2
Views: 38807

uniform distribution?

<t>My first answer on this forum.I think it's greater than 1/5.If you take how many numbers you pick between 1 and 5, you have the following case:* if you take 1,2,3 or 4 numbers, their sum is 0,1,2,3 or 4 (mod 5) with equal probabilities* if you take 0 or 5 numbers, their sum is 0 (mod 5) and you c...