Open in app

Sign In

Write

Sign In

Mark Jamison
Mark Jamison

368 Followers

Home

About

Published in

Towards Data Science

·Pinned

Vectorisation: What is it and how does it work?

O(n) is faster than O(1), cache lines, Pandas 2.0 and the consistent rise of the column — This is the 2nd iteration of this article. After finishing the 1st iteration, I left it to stew and edit as the headlines didn’t look good — a 13 min ramble about vectorisation with some loose links to database theory and historical trends. While waiting to re-draft, I came across…

Data Science

10 min read

Vectorisation What is it and how does it work?
Vectorisation What is it and how does it work?
Data Science

10 min read


Published in

Towards Data Science

·Pinned

Modelling a Game of Tennis

Using Python to verify the math behind points-based modelling of tennis games — Tennis, like other racket sports (and volleyball), has a specific scoring system that involves point scoring being divided up into subsets with these chunks being what matters to the overall match, not each individual point. This leads to the natural question: “What’s the relationship between the probability of winning a…

Python

9 min read

Building A Tennis Match Simulator in Python
Building A Tennis Match Simulator in Python
Python

9 min read


Published in

Towards Data Science

·Pinned

Why do we use the standard deviation?

Fisher, parameterisation, efficiency and CLT — It feels like knowledge has advanced, and is continuing to advance, so quickly that in order to keep up there is no time at school to explain how and why things are the way they are. For me, standard deviation is one of those things: something that is simply stated…

Python

11 min read

Why do we use the standard deviation?
Why do we use the standard deviation?
Python

11 min read


Published in

Towards Data Science

·Pinned

Why is the sample variance distributed chi-squared with n-1 degrees of freedom?

Mashing together intuitive derivations littering the web — This is something I always struggled with — half because I didn’t really feel comfortable with the chi-square distribution, half because the idea of ‘degrees of freedom’ seemed incredibly vague. Most derivations are either: symbol heavy with lots of largely unnecessary maths chucked straight in your face end up technically…

Python

13 min read

Why is the sample variance distributed with n-1 degrees of freedom?
Why is the sample variance distributed with n-1 degrees of freedom?
Python

13 min read


Published in

DataDrivenInvestor

·May 7, 2022

Fat tails and their impact on option prices

Kurtosis, defining fat tails and counter-intuitive results — Option trading is usually associated with the words ‘convexity’ or ‘leverage’ with the assumption being that options are the best instrument to profit from large stock price moves — either positive or negative. This opinion has been spurred on by depictions of optionality in movies such as the Big Short…

Python

7 min read

Fat tails and their impact on option prices
Fat tails and their impact on option prices
Python

7 min read


Published in

Towards Data Science

·Apr 22, 2022

Random Sampling using SciPy and NumPy: Part III

Implementing custom distribution sampling in SciPy — In the previous two parts (Part I, Part II) we walked through a quick intro to what sampling entails as well as then digging through the source code of NumPy and SciPy to understand exactly how this is implemented in modern python libraries. All of this can seem like overkill…

Python

9 min read

Random Sampling with SciPy and NumPy Part III
Random Sampling with SciPy and NumPy Part III
Python

9 min read


Published in

Towards Data Science

·Apr 14, 2022

Random Sampling using SciPy and NumPy: Part II

Fancy algorithms, source code walkthrough and potential improvements — In Part I we went through the basics of Inverse Transform Sampling (ITS) and created our own ITS pure python implementation to sample numbers from a standard normal distribution. …

Python

7 min read

Random Sampling with SciPy and NumPy Part II
Random Sampling with SciPy and NumPy Part II
Python

7 min read


Published in

Towards Data Science

·Apr 14, 2022

Random Sampling with SciPy and NumPy: Part I

Intro to sampling, writing our own, speed testing — Being able to draw a random sample from a distribution of your choice is very useful. It underlies any kind of stochastic process simulation whether that’s particle diffusion, stock price movements, or modelling any phenomena that displays some kind of randomness through time. For that reason, having access to accurate…

Python

7 min read

Random Sampling using SciPy and NumPy Part I
Random Sampling using SciPy and NumPy Part I
Python

7 min read


Published in

DataDrivenInvestor

·Mar 25, 2022

What is the ‘risk neutral measure’?

Cutting through excessive probability jargon — When it comes to making things sound and look much more complicated than they are, financial maths really does reign supreme. Fortunately it’s not just me who thinks it’s all overly complicated but even Paul Wilmott thinks the profession takes it just a bit too far and he’s a bit…

Python

13 min read

What is the ‘risk neutral measure’?
What is the ‘risk neutral measure’?
Python

13 min read


Published in

DataDrivenInvestor

·Mar 15, 2022

How to delta hedge an option: Part V

Which volatility do I use: implied or realised? — So far we have built up a world in order to analyse the effectiveness of delta hedging for the replication of a vanilla option. We have stated a simple model for how a stock moves around: it drifts a bit has a nice simple normally distributed change every day Based…

Python

12 min read

How to delta hedge an option: Part V
How to delta hedge an option: Part V
Python

12 min read

Mark Jamison

Mark Jamison

368 Followers

Hi, I'm Mark with a k and not a c

Following
  • Keith McNulty

    Keith McNulty

  • Cassie Kozyrkov

    Cassie Kozyrkov

  • Dr. Varshita Sher

    Dr. Varshita Sher

  • Jamie Mudge

    Jamie Mudge

  • Mycchaka Kleinbort

    Mycchaka Kleinbort

See all (25)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams