XlsxEdit Library First User
I got my first active user on Xlsx Edit who opened issues :) another mini milestone achieved.
I will implement his feature requests.
I got my first active user on Xlsx Edit who opened issues :) another mini milestone achieved.
I will implement his feature requests.
Finished my C++ Exam and I got an average >90% yay!
A new Baruch certificate with distinction!
Expectation
Variance: $\mathrm{Var}(X)=\mathbb{E}[(X-m)^2],\qquad m=\mathbb{E}[X].$
Uniform distribution: $X\sim\mathcal{U}([a,b])$
Exponential distribution: $f(x)=\lambda e^{-\lambda x}$
Normal distribuiton: $f_{m,\sigma}(x)=\frac{1}{\sqrt{2\pi\sigma^2}}\exp\!\left(-\frac{(x-m)^2}{2\sigma^2}\right).$
Joint density: X,Y random variables and double integral for probability
Marginal density: We integrate over one variable so only the other is left
Independence: Joint heights factor into product of marginal heights
MLE
Hypothesis testing
Confidence intervals
17.08 finished recap and went through exam
You're saying this because you're insecure.
You keep saying that I'm different, but those words are looking down on me more than anyone. Are you saying those words because you know how much effort I've put in and how I've lived?
All you're doing is disregarding your own effort. Doing it to yourself. By categorizing it all under the word talent.
If you're weak, family can become a burden and a weakness. For truly strong people family becomes their true strength.
The older you get the less confidence you have. You rely on experience instead. What looks like confidence is just familiarity.
Started recapping probability theory and statistics which I had in 4th semester of ETH.
Laplace means probability have same chance so problem turns into occurences / total set
Conditional Probability: $\mathbb{P}[A\mid B]=\frac{\mathbb{P}[A\cap B]}{\mathbb{P}[B]}.$
Law of total probability: $\mathbb{P}[A]=\sum_{i=1}^n \mathbb{P}[A\mid B_i]\,\mathbb{P}[B_i]$ when B are partition of $\Omega$.
Bayes: $\mathbb{P}[B_i\mid A]=\frac{\mathbb{P}[A\mid B_i]\,\mathbb{P}[B_i]}{\sum_{j=1}^n \mathbb{P}[A\mid B_j]\,\mathbb{P}[B_j]}.$ Given the outcome what is probability of hypothesis.
$A$ and $B$ are independent when $\mathbb{P}[A\cap B]=\mathbb{P}[A]\,\mathbb{P}[B].$
Multiple events: Every subcollection needs to be independent
Random Variables: independent and identically distributed
Measurable map, grouping of events with different payoff (function).
Continous:
Discrete:
Bernouille: one yes/no trial
Binomial: n independent Bernouille trails
Geometric: Bernoille untill first success
Poisson: Approximation of Binomial for rare events, large n small p, $\lambda=np$, $\mathbb{P}[N=k]=e^{-\lambda}\frac{\lambda^k}{k!},\qquad k=0,1,2,\ldots.$
Level 9 — exact BS, perpetual American, Monte Carlo, SD/SE, Excel COM, and explicit FDM puts.
Implementation of European Option Pricing with Black-Scholes Model
Put Call Parity relationships
Matrix Pricer to price multiple options
Option Sensitivities aka Greeks
(so $P = C + K e^{-rT} - S$, and $C = P + S - K e^{-rT}$)
Perpetual American Option Pricing
GBM paths via Euler–Maruyama; European call/put by averaging discounted payoffs; sweep NT / NSim on Batches 1, 2, 4.
NSim).($k = T/N$, $N$ = time steps)
NSim cuts statistical noise; NT cuts Euler time-discretization bias — both needed.N=10) leaves a bias floor even with millions of paths.NSim often matters more than N; long $T=30$ needs much larger NT and NSim.Added generic SD / SE on the vector of discounted path payoffs (Statistics.hpp), wired into TestMC / RunMC; reported SD/SE vs NT / NSim on Batches 1–2.
($M$ = NSim)
N or NSim change.NT barely affects SE.N is large enough, absolute error vs exact is often on the order of SE (MC noise, not Euler bias).NSim → harder to match exact.Ran Duffy Excel demos (TestSingleCurve, TestTwoCurve, TestMultiCurve) on Windows via Parallels + Office 365 (path / #import / Boost / IntDir fixes for Mac→VM). Then TestExactMeshExcel: mesh of $S$, exact BS prices from Group A into a vector, charted in Excel.
Explicit Euler on the Black–Scholes PDE (European put); TestBSPDE1 + Excel. Batches 1–4 with mesh $S_{\max}=2K$, $J=2K$, $N=9999$.
ParabolicPDE.hpp — IBVP callbacks ($\sigma$, $\mu$, $b$, $f$, BCL, BCR, IC)Mesher.hpp — uniform grids in $S$ and $t$FDM.hpp — one explicit Euler time stepFDMDirector.hpp — meshes + IC + time loop to $T$