Serving the Quantitative Finance Community

Search found 7 matches

by jnwickremasinghe
February 11th, 2008, 9:14 pm
Forum: Student Forum
Topic: Interesting Probability Question
Replies: 10
Views: 61498

Interesting Probability Question

aprokopiw - got it, thanks.The sequence of 3 heads makes it more likely that you've chosen the biased coin rather than the fair one, so the probability of another head is higher. As the sequence of observed heads gets longer, p(next toss is a H) tends to 1
by jnwickremasinghe
February 8th, 2008, 9:29 pm
Forum: Student Forum
Topic: Matlab Code Help. for Random Number Generators and Histogram
Replies: 18
Views: 73693

Matlab Code Help. for Random Number Generators and Histogram

<t>Additonal question - can you explain why you need to do this?'I need to take the last element of each of these coloumns and then generate a list of these 1000 entries. Use the frequency of these 1000 numbers and then plot those frequency on a Histogram 'why the last element of each column? How do...
by jnwickremasinghe
February 8th, 2008, 9:16 pm
Forum: Student Forum
Topic: Matlab Code Help. for Random Number Generators and Histogram
Replies: 18
Views: 73693

Matlab Code Help. for Random Number Generators and Histogram

<t>arunseshadri - make sure you use normrnd(), rather than rand(), if you're simulating a Wiener process! rand() gives you a uniform distribution, while you actually need a normal distribution. Run this code to see the difference:%uniform distuniform=rand(10000,1);hist(uniform,50)%normal dist:normal...
by jnwickremasinghe
February 8th, 2008, 8:18 pm
Forum: Student Forum
Topic: Switch to Risk management
Replies: 4
Views: 59625

Switch to Risk management

<t>I did the same thing, but it was at a smaller consulting firm where I was already working in the risk group (and it a few years). I was hired as a developer, and joined the firm with no understanding of risk management, but I did have a mathematical background (masters in physics). They wanted me...
by jnwickremasinghe
February 8th, 2008, 8:00 pm
Forum: Student Forum
Topic: Monte Carlo_ Importance sampling method
Replies: 2
Views: 59395

Monte Carlo_ Importance sampling method

Ummm.. well, what were you expecting, & what did you get?
by jnwickremasinghe
February 8th, 2008, 7:57 pm
Forum: Student Forum
Topic: Interesting Probability Question
Replies: 10
Views: 61498

Interesting Probability Question

<t>OK, perhaps I don't understand conditional probability well enough (highly likely), but I saw it this way:The three previous tosses don't affect the probability of the next toss. You either have a fair coin with p(H)=0.5, or a biased coin with p(H)=1.Since there are two fair coins and one biased,...
by jnwickremasinghe
January 18th, 2008, 8:46 pm
Forum: Student Forum
Topic: Combinotrics probelm needs a matlab solution
Replies: 14
Views: 61308

Combinotrics probelm needs a matlab solution

Ok, I shouldn't wade into something that I don't understand, but can't you sort the initial matrix main_set before you begin your decomposition? That way all the different permutations you list collapse to just one, which you can the decompose...J.