Serving the Quantitative Finance Community

Search found 36 matches

by phuebu
April 6th, 2009, 9:43 pm
Forum: Brainteaser Forum
Topic: The Puzzle of N Noodles
Replies: 1
Views: 47293

The Puzzle of N Noodles

The first point is discussed here.
by phuebu
February 1st, 2009, 11:30 am
Forum: Brainteaser Forum
Topic: separating distributions
Replies: 13
Views: 46400

separating distributions

Nobody has mentioned Expectation Maximization or Mixture Models? Strange, though you still need to know the distribution for these I guess.
by phuebu
January 21st, 2009, 9:36 pm
Forum: Brainteaser Forum
Topic: Computing the power set
Replies: 52
Views: 53555

Computing the power set

<t>Assuming n < sizeof(long) you can just start a counter i = 0 then increment it. You can then use it as a bitwise mask on the original set. (ie if a bit1=1 you take element 1, if bit1=0 you don't, etc) When you get to 2^n will have enumerated every subset.code might look likefor(long i=0;i<(1<<n);...
by phuebu
January 7th, 2009, 9:33 pm
Forum: Brainteaser Forum
Topic: Quick Question
Replies: 3
Views: 45865

Quick Question

I have a feeling the fact there are two inverses of Y=X^2 and a nice divide by zero mean this requires a bit more thought than I gave it but it's something like p(y) = 1/(2*sqrt(y)).I also get something like this from MC but I didn't bother to fit it to check.
by phuebu
January 7th, 2009, 8:42 pm
Forum: Programming and Software Forum
Topic: Front End
Replies: 6
Views: 45597

Front End

<t>QuoteOriginally posted by: DigammaWe use WPF (An evolution of WinForms in Windows). It uses a markup lang (XAML) to develop 'rich UIs' One of the cool features is that it separates the UI and the business logic (a real problem in most systems is that they mix these up creating problems down the l...
by phuebu
January 6th, 2009, 8:43 am
Forum: Programming and Software Forum
Topic: Front End
Replies: 6
Views: 45597

Front End

Out of interest, what are people using to make GUIs for their applications (if at all)?
by phuebu
December 18th, 2008, 5:53 pm
Forum: Brainteaser Forum
Topic: On a Lighter Note...
Replies: 9
Views: 47598

On a Lighter Note...

<t>QuoteOriginally posted by: NicolasQuantFor a verb related to an action of course we the French understand the difference. I chose "become" as a specific example because it was less clear. Nevertheless, thank you fo your "I become heavier" example, it's good.The same distinction exists in France b...
by phuebu
December 17th, 2008, 8:31 pm
Forum: Brainteaser Forum
Topic: WHY
Replies: 9
Views: 47160

WHY

<t>When people say "Why?" there is always an implicit statement which should follow. If you were showing someone how to do something and you said "push this button" and they said "why" it is fairly obvious they mean "why do I push that button?". Confusion only arises when it's not obvious from conte...
by phuebu
December 17th, 2008, 8:25 pm
Forum: Brainteaser Forum
Topic: On a Lighter Note...
Replies: 9
Views: 47598

On a Lighter Note...

On an additional note the germans have two words for "to know"Weissen = to know (knowledge)Kennen = to know (someone)
by phuebu
December 17th, 2008, 8:23 pm
Forum: Brainteaser Forum
Topic: On a Lighter Note...
Replies: 9
Views: 47598

On a Lighter Note...

<t>The only examples I can think of containing "I become" also have a conditional statement, e.g. "I become heaver if I eat too much". If you were eating alot then you could validly say "I am becoming heaver" I guess. I don't think 'to become' is the best example. With something more standard like '...
by phuebu
December 11th, 2008, 11:05 pm
Forum: Brainteaser Forum
Topic: another dice brian teaser
Replies: 11
Views: 50733

another dice brian teaser

From MC I get P(Sum=17) = 0.19122I also get E(# of throws to exceed 14) = 4.7606
by phuebu
December 5th, 2008, 10:29 am
Forum: Brainteaser Forum
Topic: Coinucopia!
Replies: 10
Views: 48003

Coinucopia!

Ahh yes my problem was forgetting P({H,T}) = 2/4 not 1/4 because it doesnt matter what order they're in.
by phuebu
December 3rd, 2008, 9:53 pm
Forum: Brainteaser Forum
Topic: Coinucopia!
Replies: 10
Views: 48003

Coinucopia!

Well without taking any data into consideration the answer is 2/3, taking the data into consideration I get 0.742424 but I have a gut feeling something is wrong with my working, but I can't find it.
by phuebu
September 9th, 2008, 7:42 am
Forum: Brainteaser Forum
Topic: Roulette
Replies: 2
Views: 50315

Roulette

<t>QuoteOriginally posted by: EBalPerhaps, the problem is more realistic if the number of bets depends on the number of red fields; given some dependence find the optimal number?Sounds interesting. The solution to the original problem can also be found by writing the 'profit' as a biased binary rand...
by phuebu
September 8th, 2008, 4:19 pm
Forum: Brainteaser Forum
Topic: LOGUATION
Replies: 6
Views: 51362

LOGUATION

Ahh, I got to the bit with n and m.