Serving the Quantitative Finance Community

Search found 31 matches

by huayen
July 14th, 2010, 3:07 am
Forum: Brainteaser Forum
Topic: Concept of conditional expectation
Replies: 3
Views: 27823

Concept of conditional expectation

If X is uniformly distributed in 0 and 1, what is E[X|X<B], where B can be viewed as a constant.I am a little confused, here =1 or 1/B ? I feel like it is 1/B, so E[X|X<B]=B/2 .Am I correct?
by huayen
July 13th, 2010, 9:54 pm
Forum: Brainteaser Forum
Topic: probability -interview question
Replies: 15
Views: 50316

probability -interview question

yes, the answer is :when p<=0.5, ==> 2pwhen p>0.5 ==> 2(1-p)in all, ==> 2* min{p,1-p}
by huayen
July 13th, 2010, 9:44 pm
Forum: Brainteaser Forum
Topic: Real interview questions from a top Wallstreet IB
Replies: 20
Views: 43707

Real interview questions from a top Wallstreet IB

<t>1)For American option, when risk free interest rate increase, will it increase the possibility of early excises?2)For best of two options, you buy one option, which will give you the bestpayoff between two underlying options. For example,for a best put option,two stocks A (A0 =100) and B( A0=100)...
by huayen
July 9th, 2010, 6:33 pm
Forum: Brainteaser Forum
Topic: Just Another Dice problem!!
Replies: 10
Views: 29976

Just Another Dice problem!!

The simplest way is solve: ==> X = 42
by huayen
July 8th, 2010, 1:32 am
Forum: Brainteaser Forum
Topic: Security Code
Replies: 11
Views: 37794

Security Code

by huayen
July 7th, 2010, 12:29 am
Forum: Brainteaser Forum
Topic: A conditional expectation question
Replies: 41
Views: 49145

A conditional expectation question

QuoteOriginally posted by: LandscapeI don't see how it would be wrong...E[ X | X + Y = 1 ] = 1 - E[ Y | X + Y = 1 ] => E[...] = 1/2is another way of writing it.cool method...
by huayen
July 7th, 2010, 12:18 am
Forum: Brainteaser Forum
Topic: Security Code
Replies: 11
Views: 37794

Security Code

I got E[X]=40 for (d), as following:then get E[X] = 40.Here, the first term is both two keys are pressed correctlythe 2nd term means the first key is pressed correctly, but the second key was wrongthe 3rd terms means both key presses are wrong.Thanks for pointing out mistake.
by huayen
July 6th, 2010, 10:19 pm
Forum: Brainteaser Forum
Topic: A conditional expectation question
Replies: 41
Views: 49145

A conditional expectation question

I was asked this question in an interview from a top wallstreet IB.
by huayen
July 6th, 2010, 9:01 pm
Forum: Brainteaser Forum
Topic: make a market
Replies: 10
Views: 34837

make a market

<t>Why ' the expected sum is same whether the balls are picked with replacement or without replacement' ?QuoteOriginally posted by: ilikeprobabilityreaverprog, the expected value of the sum computed by twointhebush is as follows. If you were to pick just one ball, what is the expected number? It is ...
by huayen
July 6th, 2010, 8:49 pm
Forum: Brainteaser Forum
Topic: Stochastic Puzzle
Replies: 12
Views: 31287

Stochastic Puzzle

<t>I think the answers for random walk and Brownian motion are the same.Define stop time \tau hitting either 3 or -2, Martingale stoping at stopping time is still a martingale.For random walk, Sn is martingale, so E[S_{\tau}] = S_0 = 0 ==> P*.3 + (1-p)(-2) = 0 ==> p=2/5For Brownian motion, W_t is ma...
by huayen
July 6th, 2010, 8:18 pm
Forum: Brainteaser Forum
Topic: need help from a probability brainteaser
Replies: 10
Views: 35376

need help from a probability brainteaser

<t>My answers:1. P = 0.2. Given one point, the other two points must be on the two sides of the diameter which passes the center and the first point. Now we consider only clockwise arrangement of the three points, then the final answer is (1/2)^2 * 3 = 3/4.This is similar question as what's the prob...
by huayen
July 6th, 2010, 7:06 pm
Forum: Brainteaser Forum
Topic: A conditional expectation question
Replies: 41
Views: 49145

A conditional expectation question

Here Cov(X-Y,X+Y) = Cov(X,X) + Cov(X,Y) - Cov(X,Y) - Cov(Y,Y) = 0Is this correct?
by huayen
July 6th, 2010, 6:28 pm
Forum: Brainteaser Forum
Topic: A conditional expectation question
Replies: 41
Views: 49145

A conditional expectation question

Given X, Y ~ N(0,1), E[X|X+Y=1]=?
by huayen
March 19th, 2010, 5:28 pm
Forum: Programming and Software Forum
Topic: Need suggestions for a C++ problem
Replies: 38
Views: 39230

Need suggestions for a C++ problem

<t>Part of my course project (simulate a payment system) requires me to write a C++ code to implement following:-----------------Accepts a string (input), judge whether it is a valid currency amount or not.----------I hope you guys can give me suggestions for:(1) What kind of possible input scenario...
by huayen
February 8th, 2010, 3:21 am
Forum: Student Forum
Topic: Please recommend readings on HJM model
Replies: 8
Views: 37678

Please recommend readings on HJM model

From the Amazon customer reviews on this book, looks like this book focused on illustrating the theory, no too much on implementation of the theory. Is this true? What I need to is really practical implementation HJM theory with market data. Thanks.