Serving the Quantitative Finance Community

Search found 53 matches

by Halliron
June 22nd, 2006, 4:20 pm
Forum: General Forum
Topic: Sigma-Algebras in Finance
Replies: 68
Views: 109584

Sigma-Algebras in Finance

<t>Monlavingia's example WAS an example of them being used in finance. The formula is the price of a European Call option.Basically Sigma algebras are used to provide a firm mathematical basis for derivative pricing. It's rarely necessary to do actual manipulation of them, it's just useful to know a...
by Halliron
June 8th, 2006, 2:30 pm
Forum: Numerical Methods Forum
Topic: Monte Carlo Blues
Replies: 34
Views: 108963

Monte Carlo Blues

It's not in NR. There is a description of it here:http://en.wikipedia.org/wiki/Mersenne_twister
by Halliron
May 30th, 2006, 3:32 pm
Forum: Numerical Methods Forum
Topic: Monte Carlo Blues
Replies: 34
Views: 108963

Monte Carlo Blues

<t>The Excel random number is quite poor I agree, and so is the Norm Inv function, But I don't think that they are so bad as to generate the behaviour you are describing.Is the following a correct summery of what happens?1. You open your sheet2. You run your macro, which gives a value X13. You rerun...
by Halliron
April 20th, 2006, 8:03 pm
Forum: Book And Research Paper Forum
Topic: An email I received today:
Replies: 1
Views: 109982

An email I received today:

<t>34% off The Poker Face of Wall StreetGreetings from Amazon.co.uk,We've noticed that customers who have purchased Credit Derivatives Pricing Models: Models, Pricing and Implementation by P.J. Schonbucher have also ordered The Poker Face of Wall Street by Nassim Nicholas Taleb. For this reason, you...
by Halliron
April 10th, 2006, 10:02 pm
Forum: Programming and Software Forum
Topic: Pointer to member functions
Replies: 5
Views: 111082

Pointer to member functions

<t>Hi,Cheers for the reply, I'm glad that there is a better way (though no built in/native method?) - but could you elaborate? I did have a look previously at boost::function, but I'm afraid the documentation was written for significantly more experienced programmers than myself. How exactly does it...
by Halliron
April 10th, 2006, 9:21 pm
Forum: Programming and Software Forum
Topic: Pointer to member functions
Replies: 5
Views: 111082

Pointer to member functions

<t>Another day, another random question..Background:In basic C, it's very easy to call a function as an argument to another function: e.g If I want a funciton which finds the minimum of another function "func" I can write it like so: double Minimise(double(*func)(double x)) ** - And I can then reuse...
by Halliron
April 7th, 2006, 1:43 pm
Forum: Programming and Software Forum
Topic: Multiplication vs Addition in C++
Replies: 8
Views: 114210

Multiplication vs Addition in C++

<t>Cheers for all the answers guys, especially stuntprogrammer for the extremely long and interesting reply.As for my problem, while writing out a fuller description I suddenly noticed an even better rewrite which also lost the extra additions. Which was nice. Still, this is a question I've wanted a...
by Halliron
April 5th, 2006, 9:40 am
Forum: Programming and Software Forum
Topic: Multiplication vs Addition in C++
Replies: 8
Views: 114210

Multiplication vs Addition in C++

<r>Not exactly. I have a calculation that usually uses O(N^2) multiplication operations. I've noticed that I can rearrange it to replace every pair of the multiplications by a multiplication, 2 additions and a subtraction. I just wanted to check if this would be worthwhile before rewriting my code <...
by Halliron
April 5th, 2006, 9:15 am
Forum: Programming and Software Forum
Topic: Multiplication vs Addition in C++
Replies: 8
Views: 114210

Multiplication vs Addition in C++

<t>Quick optimisation question:Given the usual caveats that all compilers are different, and all processors are different, would you say that in general:Replacing a multiplication with 3 additions in C++ will(i) speed up your programme(ii)Slow down your programme(iii)Be irrelvant, as the biggest bot...
by Halliron
March 29th, 2006, 11:45 am
Forum: Numerical Methods Forum
Topic: Inverse of cumulative normal distribution
Replies: 3
Views: 118916

Inverse of cumulative normal distribution

Box-Mueller isn't suitable for certain monte carlo methods e.g. using stratified samples, or SOBOL.It's definately better for general simulation though,
by Halliron
March 29th, 2006, 11:40 am
Forum: Careers Forum
Topic: KCL VS Warrick
Replies: 17
Views: 113780

KCL VS Warrick

<t>KCL is very strong on the math, moderate on the application of the math to the financial markets, and has little on computing/implementationWarwick (from what i hear) focuses less on the math, but concentrates more on the other areas.If you want to go on to a phd, or are confident that you can ge...
by Halliron
March 8th, 2006, 2:31 pm
Forum: General Forum
Topic: Generating correlated Uniform Random variates
Replies: 3
Views: 115919

Generating correlated Uniform Random variates

<t>I see. So just to confirm, the only way to generate correlate uniforms is to transform to a normal, generate correlated normals and transform back. Not entirely satisfactory...If you then had a 3rd distribution, which wasn't iid, you'd need to transform to uniform, then onto gaussian , do your co...
by Halliron
March 8th, 2006, 11:01 am
Forum: General Forum
Topic: Generating correlated Uniform Random variates
Replies: 3
Views: 115919

Generating correlated Uniform Random variates

<t>This may be obvious - but does anyone know an efficient way of generating Uniform Random variates with a required correlation? My first thought was that this would be trivial, but all I've come up with so far isGenerate 2 UniformsUse inverse normal distribution to change these into 2 normalsUse C...
by Halliron
February 28th, 2006, 5:00 pm
Forum: General Forum
Topic: NIG cdf
Replies: 3
Views: 117823

NIG cdf

Cheers guys,Thanks for the help.
by Halliron
February 24th, 2006, 11:27 am
Forum: General Forum
Topic: NIG cdf
Replies: 3
Views: 117823

NIG cdf

Hi all,Does anyone know where I can find a paper which has a formula for the cdf of the Normal inverse Gausian distribution? I've found the pdf in a number of places, but this is already quite slow to calculate, so I don't relish numerically integrating over it..Thanks in advance.