Questions tagged [curve-fitting]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
53 views

Can Call and Put Vega be different (for the same strike)

I'm calculating the volatility of an options market (description of market below) by fitting 2 functions: 1. fitting the on book call prices 2. fitting the on book put prices And I'm getting a ...
1
vote
0answers
35 views

Which strategy did the fund most likely follow?

The following time series represents the return stream of a real hedge fund. Which strategy did the fund most likely follow? I did this data superimposition on Matlab. So, there should be some data ...
0
votes
0answers
30 views

In the curve building process, why do we need funding curve and projected curve and what are they exactly in current industry? [duplicate]

I am a newbie to fixed income quant side and I am trying to understand in the curve building process, why do we need funding curve and projected curve and what are they exactly in current industry? ...
0
votes
0answers
10 views

Specify user-defined distribution for multivariate distribution in copula R package

For the copula R package, the function Mvdc allows the margins to be user-defined. ...
1
vote
1answer
60 views

When Fitting Implied Vol in, implied vol=ax²+bx+c, why is better to use moneyness than delta as independent variable?

I am trying to construct a smile curve using Option data, I can either interpolate implied vol vs delta or implied vol vs moneyness.
0
votes
0answers
41 views

Creating a skew fitting model for orc wing model

I'm not a quant by any means but I have a good understanding of options and the Orc Wing model. Does any of you know if there is an easy way to create a fitting model for the Orc Wing model, or if it ...
0
votes
0answers
31 views

What can be used as a good proxy for OIS?

I was trying to find a good proxy for OIS. Let's say you have access to USD OIS rates only starting from 2016. What instruments or curves can be used to model OIS such that it can replicate OIS ...
-1
votes
1answer
93 views

Basis Swap Dual Curve Calibration

The long end of the Libor swap curve needs to be constructed from Basis Swaps because there are no other instruments traded. Can please someone explain the concept of Dual Curve Calibration?
1
vote
0answers
42 views

CME Futures used in building LCH USD swap curve

To build a LCH swap curves, common benchmarks include cash rates, euro dollar futures and swaps. However, the euro dollar futures only exist in CME. So when you use euro dollar futures (only exist in ...
1
vote
0answers
113 views

What is the point of volatility curve fitting?

What is the point of fitting curves to the implied smile in the market? (Other than pricing exotics where the hedging instruments are vanillas). How does fitting a vol curve help you trade/market make ...
0
votes
0answers
67 views

Gatheral's SVI implementation in Java/Scala

I am trying to fit equity option implied vols using SVI model in Java, and I am using apache math commons library. Some of the option expiries fit very well, but others are completely off, and I am ...
3
votes
0answers
463 views

Implementation of Generalized Hull-White interest rate model

I am looking for implementation in R (or Matlab) of the Generalized Hull-White interest rate trinomial tree according to the following paper: Interest Rate Trees: Extensions and Applications (2017) . ...
2
votes
0answers
317 views

Fitting Gatheral's SVI model

I was considering using Gatheral's formula for fitting option skew. In the specific (commodity) market that I am concerned with, the underlying is ca. at 50, and typically 5 integer strikes left and ...
3
votes
2answers
392 views

Fitting Function for Skew

I am faced with having to fit skew/smile to option quotes with different strike and same maturity. In order to keep things reasonably simple and to avoid potential artifacts from fitting higher order ...
3
votes
0answers
178 views

Volatility surface fitting, interpolation and extension from sparse data

There are some nice papers about constrained spline fitting essentially giving you a smoothing and arb free surface. I am focusing on the oil market here: The market is essentially split in a very ...
1
vote
1answer
66 views

In search of nice (approx) function forms of the volatility of cumulative simple returns

Let's consider a period $t\in[0,T]$, and let the simple return over year $t$ ($1\le t\le T$) be $r_t$. Assume $r_t$ are iid normal. The cumualative simple return over the whole period $[0,T]$ is $$R_T=...
1
vote
2answers
124 views

Why do constant maturity bonds account for modified duration?

One can create a constant maturity treasury (CMT) by building a zero coupon discount curve and generating constant maturity bonds from that curve. This allows one to look further back than is possible ...
2
votes
0answers
153 views

QuantLib - Synthetic deposit/FRA rates in yield curve

In my flat forwards dollar curve implemented in QuantLib I would like to add the following instrument: Today is 12/28/2018 Pillar quote is 1% p.a. (ACT/360) Pillar start is 1/30/2019 (specific ...
2
votes
1answer
143 views

How to Parameterize a Bond Yield Curve?

Suppose I have a Bond Yield Curve (assume Semi-Annual Compounding), at term 1M, 3M... 1Y, 2Y... 10Y, 15Y ...30Y (x-axis is maturity / term). How should I parameterize this yield curve? Any ...
1
vote
2answers
89 views

Bootstrap zero curve source of information

I'm trying to understand the bootstrap methodology to construct a zero curve from a par curve in detail. I'm looking for a good source of information, preferably with a detailed example, that ...
2
votes
2answers
378 views

Corporate Bond Yield Curve

I am an intern in a mutual fund and they have asked me to create in house yield curve for different type bonds in their portfolio I need to know on what basis are different yield curves made. For ...
4
votes
1answer
843 views

Bootstrapping OIS Curve with data from different days data

I have the following problem bootstrapping the JPY OIS Curve. The bootstrapping itself works when havin one set of data, e.g. for the date 2017-02-09. I have all my instruments and as said ...
1
vote
1answer
125 views

Metrics for curve quality

When constructing curves, are there any generic and quantitative metrics that can be computed for any kind curve(government, corporate, swap, exc.. exc..)?
3
votes
1answer
252 views

SVI Parametrization: simple example does not work

I'm trying to experiment with the SVI model. I use the following scripts: ...
1
vote
1answer
609 views

QuantLib FittedBondDiscountCurve fitResults [Error]

I try to use FittedBondDiscountCurve with NelsonSiegelFitting, but I faced with error when call fitResults() method: ...
0
votes
1answer
1k views

Constructing yield curve directly from yield-to-maturity data

I'm trying to use Bloomberg yield-to-maturity data for sets of sovereign bonds of different maturities to fit to a yield curve. I looked into using the QuantLib library (the FittedBondCurve ...
2
votes
1answer
219 views

Introducing 1bp shocks to yield curve (and interpolation consequences)

Let us assume we have a LIBOR 3M curve and that I would like to introduce a small shock up/down of 1bp at a certain point along the curve. I am trying to find out what the best and most efficient way ...
0
votes
3answers
701 views

Skewed Student t distribution MLE and Simulation

I have Financial LOB data and I feel that a skewed t distribution will fit best. I have a problem trying to find the parameters using MLE numerically since Matlabs built in function does not allow for ...
5
votes
1answer
951 views

Vasicek yield curve

Term structure is determined by a two-factor affine model (Vasicek). Using the monthly swap market data, we fit the model to match exactly the one-year and ten-year points along the swap curve ...
2
votes
1answer
567 views

Cubic spline interpolation function within Matlab

I want to use the Cubic spline interpolation technique so I can interpolate yield curve points. Now I wonder if I can use the standard matlab function interpl1 (and then using the 'spline' method) or ...
1
vote
2answers
184 views

Yield curve interpolation at (very) short horizons

I'm struggling to find much information about yield curve interpolation for sub-yearly horizons. Say, one-two months. It seems to be the area where the curvature is usually nontrivial, while after ...
9
votes
2answers
749 views

Kolmogorov-Smirnov test for Generalized Pareto Distribution

I've fitted my data to a generalized pareto distribution as to model the returns in the tails more accurately. The interior is fitted with kernel distributions. I would like to now test whether the ...
1
vote
0answers
153 views

forecasting crash time of KLSE index (1991-1994)

Price deviation = financial bubbles. i try to fit the following stock price index to predict recession. I couldn't fit the model with the data(Data are not available in yahoo finance for the ...
0
votes
1answer
5k views

Bloomberg Zero Coupon Rates

As some of your may know from my other posts, I am working on a Dynamic Nelson Siegel (DNS) based relative value trading model. On simulated data (which satisfies all the assumptions) of the DNS it ...
1
vote
2answers
192 views

OIS discounting pre and post crises

I have a Dynamic Nelson Siegel (DNS) based rv model. I want to know if I can use pre and post-crises curves interchangeably in my calibration and out of sample testing. I.e. those without OIS ...
2
votes
0answers
295 views

Johansen-Ledoit-Sornette Model

im trying to predict crash time by using lppl model(JLS). My codes can run, but the error is to high....I try with some other initial values, but still can't reduce the error.....How i can reduce ...
1
vote
0answers
161 views

Fitting a sigmoid function to incomplete, structured, data

I have an incomplete data set that looks like this: and I believe that it will continue to form a sigmoid-like shape. How can fit a sigmoid curve to this data given my assumption about what the ...
0
votes
1answer
288 views

Parameters for numerically fitting t-distribution to log-returns

I am fitting the t-distribution to log-returns numerically (not using R, MATLAB, Stata, etc.), but rather using general programming. Assuming the log-return values are $r_t$, and the $t$-variates are ...
24
votes
1answer
7k views

Algorithm to fit AR(1)/GARCH(1,1) model of log-returns

I am fitting numerically an AR(1)/GARCH(1,1) process to index and stock log-returns, $r_t=\log(P_t/P_{t-1})$, where $P_t$ is the price at time $t$, and thus far am not clear on where the observed log ...
2
votes
0answers
89 views

How to choose a window for curve fitting and prediction?

I am using Pareto distribution to fit a serie of survival rates (with least square). My ultimate goal is to use this fitting curve for prediction. Thus I would mainly focus on the tail of the ...
0
votes
1answer
919 views

Zero Curve Calculation for AUD, CAD (post LIBOR scandal)

In the end of May 2013 British Bankers Association (BBA) stopped publishing LIBOR rates for Australian and Canadian dollars in a light of recent scandals. LIBOR rates were essential for creating zero ...
13
votes
1answer
2k views

Bond curve extrapolation

What are the best methods to extrapolate bond yields from an existing curve that doesn't extend quite this far? For example, how would one come about finding a theoretical bond yield for a 40 or 50 ...