PinnedI found a way to run Mamin on Google colab.Mamin is the foundation of the famous 3Blue1Brown youtube video. I always want to run it on google colab. Finally, I found a solution. There will be no installation error since we are in the same environment. Step 1. Copy and paste it. !sudo apt update !sudo apt install libcairo2-dev ffmpeg texlive texlive-latex-extra texlive-fonts-extra texlive-latex-recommended texlive-science…Manim2 min readManim2 min read
Jan 27, 2022[Stats] How do you “bootstrap”? IIHello, so after the last post, this will cover how you should actually conduct bootstrap. Although there has been a lot of papers regarding bootstrap for decades, I found there are few resources for students presumably in masters’ or first year PhD. Hope this helps you on your journey. I. Golden Rules These…Bootstrap5 min readBootstrap5 min read
Dec 15, 2021[Stats] How do you “Bootstrap”?Hello, everyone. It has been a while since I left medium. There has been some changes in my life and now I’m doing PhD in Economics at Mcgill university, Montreal. That was just a little update on my private life. In this series on bootstrap (believe it would be two…Heteroskedasticity7 min readHeteroskedasticity7 min read
Nov 12, 2021[Financial Engineering] Two Versions of Delta HedgingAs we did last time, delta hedging is a powerful tool in replicating a derivative portfolio. In this session, we are rethinking what we have done so far and implementing two versions of the delta hedging. The final answers should be the same because we are going to the same thing but with different perspectives. In the beginning, my position is 0, and as soon as day 1 starts, I can get my delta. So I need to buy1 min read1 min read
Nov 5, 2021[Financial Engineering] Delta Hedging이번 시간에는 델타 헷징에 대하여 이야기 해 보겠습니다. 우선 델타가 무엇인지를 알아야겠죠. 델타는 주어진 옵션 포지션을 헷지하기 위해서 취해야 하는 기초자산의 개수를 의미합니다. 예를 들어 보겠습니다. 콜옵션 1개를 팔고 델타값을 계산해 보면 0과 1사이의 숫자, 예를 들어, 0.54가 나옵니다. 이 0.54가 콜옵션의 short position을 헷지하기 위해 내가 취해야 하는 기초자산의 position입니다. 즉, 주식을 0.54개 만큼 가지고 있으면 됩니다.Delta1 min readDelta1 min read
Sep 8, 2021[금융공학] 금융거래Financial Transactions 이번 비디오에서는 4가지의 서로 다른 금융거래에 대해서 알아보겠습니다. Notations 설명을 위해서 다음과 같은 수직선을 생각해 보겠습니다. 여기가 0이고, 여기가 1입니다. 시점 0은 현재를 의미하고, 시점 1은 미래의 특정시점을 의미합니다. 예를 들어 6개월 후, 또는 1년 후라고 생각할 …10 min read10 min read
Aug 23, 2021[Datacamp] Python Data Science Toolbox (Part 1) — Writing your own functions1. User-defined functions (video) 2. Strings in Python (exercise) 3. Recapping built-in functions (exercise) 4. Write a simple function 5. Single-parameter functions 6. Functions that return single values 7. Functions with multiple parameters 8. A brief introduction to tuples 9. Functions that return multiple values1 min read1 min read
Aug 21, 2021[Datacamp] Intermediate Python — Loops1 while loop (video) 2. while: warming up (exercise) 3. Basic while loop 4. Add conditionals 5. for loop (video) 6. Loop over a list 7. Indexes and values (1) 8. Indexes and values (2) 9. Loop over a list of lists1 min read1 min read
Aug 21, 2021[Datacamp] Intermediate Python — Logic, Control Flow and Filtering1. Comparison Operators (video) 2. Equality 3. Greater and less than 4. Compare arrays 5. Boolean Operators (video) 6. and, or, not (1) 7. and, or, not (2) (exercise) 8. Boolean operators with Numpy 9. if, elif, else 10. Warmup (exercise) 11. if1 min read1 min read
Aug 20, 2021[Datacamp] Intermediate Python — Dictionaries & Pandas1. Dictionaries, Part 1 (video) 2. Motivation for dictionaries 3. Create a dictionary 4. Access dictionary 5. Dictionaries, Part 2 (video) 6. Dictionary Manipulation (1) 7. Dictionary Manipulation (2) 8. Dictionariception1 min read1 min read