Search
Preparing search index...
The search index is not available
quantlib.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"ql/models/volatility/garch"
Garch11
Class Garch11
GARCH volatility model
Volatilities are assumed to be expressed on an annual basis.
Hierarchy
VolatilityCompositor
Garch11
Index
Enumerations
Mode
Interfaces
by
Ref
Properties
_alpha
_beta
_gamma
_log
Likelihood
_mode
_vl
Accessors
is
Disposed
Methods
alpha
beta
calculate1
calibrate1
calibrate2
calibrate3
calibrate4
calibrate5
calibrate6
cost
Function2
dispose
forecast
init1
init2
log
Likelihood
lt
Vol
mode
omega
calculate2
calibrate1_
r2
calibrate2_
r2
calibrate3_
r2
calibrate4_
r2
calibrate5_
r2
calibrate6_
r2
cost
Function1
to_
r2
Properties
Private
_alpha
_alpha
:
Real
Private
_beta
_beta
:
Real
Private
_gamma
_gamma
:
Real
Private
_log
Likelihood
_log
Likelihood
:
Real
Private
_mode
_mode
:
Mode
Private
_vl
_vl
:
Real
Accessors
is
Disposed
get
isDisposed
(
)
:
boolean
Returns
boolean
Methods
alpha
alpha
(
)
:
Real
Returns
Real
beta
beta
(
)
:
Real
Returns
Real
calculate1
calculate1
(
quoteSeries
:
TimeSeries
<
Volatility
>
)
:
TimeSeries
<
Volatility
>
Parameters
quoteSeries:
TimeSeries
<
Volatility
>
Returns
TimeSeries
<
Volatility
>
calibrate1
calibrate1
(
quoteSeries
:
TimeSeries
<
Volatility
>
)
:
void
Parameters
quoteSeries:
TimeSeries
<
Volatility
>
Returns
void
calibrate2
calibrate2
(
quoteSeries
:
TimeSeries
<
Volatility
>
, method
:
OptimizationMethod
, endCriteria
:
EndCriteria
)
:
void
Parameters
quoteSeries:
TimeSeries
<
Volatility
>
method:
OptimizationMethod
endCriteria:
EndCriteria
Returns
void
calibrate3
calibrate3
(
quoteSeries
:
TimeSeries
<
Volatility
>
, method
:
OptimizationMethod
, endCriteria
:
EndCriteria
, initialGuess
:
Real
[]
)
:
void
Parameters
quoteSeries:
TimeSeries
<
Volatility
>
method:
OptimizationMethod
endCriteria:
EndCriteria
initialGuess:
Real
[]
Returns
void
calibrate4
calibrate4
(
forward
:
Real
[]
, begin
:
Size
, end
:
Size
)
:
void
Parameters
forward:
Real
[]
begin:
Size
end:
Size
Returns
void
calibrate5
calibrate5
(
forward
:
Real
[]
, begin
:
Size
, end
:
Size
, method
:
OptimizationMethod
, endCriteria
:
EndCriteria
)
:
void
Parameters
forward:
Real
[]
begin:
Size
end:
Size
method:
OptimizationMethod
endCriteria:
EndCriteria
Returns
void
calibrate6
calibrate6
(
forward
:
Real
[]
, begin
:
Size
, end
:
Size
, method
:
OptimizationMethod
, endCriteria
:
EndCriteria
, initialGuess
:
Real
[]
)
:
void
Parameters
forward:
Real
[]
begin:
Size
end:
Size
method:
OptimizationMethod
endCriteria:
EndCriteria
initialGuess:
Real
[]
Returns
void
Private
cost
Function2
cost
Function2
(
input
:
Real
[]
, begin
:
Size
, end
:
Size
)
:
number
Parameters
input:
Real
[]
begin:
Size
end:
Size
Returns
number
dispose
dispose
(
)
:
void
Returns
void
forecast
forecast
(
r
:
Real
, sigma2
:
Real
)
:
Real
Parameters
r:
Real
sigma2:
Real
Returns
Real
init1
init1
(
a
:
Real
, b
:
Real
, vl
:
Real
)
:
Garch11
Parameters
a:
Real
b:
Real
vl:
Real
Returns
Garch11
init2
init2
(
qs
:
TimeSeries
<
Volatility
>
, mode
?:
Mode
)
:
Garch11
Parameters
qs:
TimeSeries
<
Volatility
>
Default value
mode:
Mode
= Garch11.Mode.BestOfTwo
Returns
Garch11
log
Likelihood
log
Likelihood
(
)
:
Real
Returns
Real
lt
Vol
lt
Vol
(
)
:
Real
Returns
Real
mode
mode
(
)
:
Mode
Returns
Mode
omega
omega
(
)
:
Real
Returns
Real
Static
calculate2
calculate2
(
quoteSeries
:
TimeSeries
<
Volatility
>
, alpha
:
Real
, beta
:
Real
, omega
:
Real
)
:
TimeSeries
<
Volatility
>
Parameters
quoteSeries:
TimeSeries
<
Volatility
>
alpha:
Real
beta:
Real
omega:
Real
Returns
TimeSeries
<
Volatility
>
Static
calibrate1_
r2
calibrate1_
r2
(
mode
:
Mode
, r2
:
Volatility
[]
, mean_r2
:
Real
, byref
:
byRef
)
:
Problem
Parameters
mode:
Mode
r2:
Volatility
[]
mean_r2:
Real
byref:
byRef
Returns
Problem
Static
calibrate2_
r2
calibrate2_
r2
(
mode
:
Mode
, r2
:
Volatility
[]
, mean_r2
:
Real
, method
:
OptimizationMethod
, endCriteria
:
EndCriteria
, byref
:
byRef
)
:
Problem
Parameters
mode:
Mode
r2:
Volatility
[]
mean_r2:
Real
method:
OptimizationMethod
endCriteria:
EndCriteria
byref:
byRef
Returns
Problem
Static
calibrate3_
r2
calibrate3_
r2
(
r2
:
Volatility
[]
, mean_r2
:
Real
, method
:
OptimizationMethod
, endCriteria
:
EndCriteria
, initialGuess
:
Real
[]
, byref
:
byRef
)
:
Problem
Parameters
r2:
Volatility
[]
mean_r2:
Real
method:
OptimizationMethod
endCriteria:
EndCriteria
initialGuess:
Real
[]
byref:
byRef
Returns
Problem
Static
calibrate4_
r2
calibrate4_
r2
(
r2
:
Volatility
[]
, method
:
OptimizationMethod
, endCriteria
:
EndCriteria
, initialGuess
:
Real
[]
, byref
:
byRef
)
:
Problem
Parameters
r2:
Volatility
[]
method:
OptimizationMethod
endCriteria:
EndCriteria
initialGuess:
Real
[]
byref:
byRef
Returns
Problem
Static
calibrate5_
r2
calibrate5_
r2
(
r2
:
Volatility
[]
, mean_r2
:
Real
, method
:
OptimizationMethod
, constraints
:
Constraint
, endCriteria
:
EndCriteria
, initialGuess
:
Real
[]
, byref
:
byRef
)
:
Problem
Parameters
r2:
Volatility
[]
mean_r2:
Real
method:
OptimizationMethod
constraints:
Constraint
endCriteria:
EndCriteria
initialGuess:
Real
[]
byref:
byRef
Returns
Problem
Static
calibrate6_
r2
calibrate6_
r2
(
r2
:
Volatility
[]
, method
:
OptimizationMethod
, constraints
:
Constraint
, endCriteria
:
EndCriteria
, initialGuess
:
Real
[]
, byref
:
byRef
)
:
Problem
Parameters
r2:
Volatility
[]
method:
OptimizationMethod
constraints:
Constraint
endCriteria:
EndCriteria
initialGuess:
Real
[]
byref:
byRef
Returns
Problem
Static
cost
Function1
cost
Function1
(
input
:
Real
[]
, begin
:
Size
, end
:
Size
, alpha
:
Real
, beta
:
Real
, omega
:
Real
)
:
Real
Parameters
input:
Real
[]
begin:
Size
end:
Size
alpha:
Real
beta:
Real
omega:
Real
Returns
Real
Static
to_
r2
to_
r2
(
input
:
Real
[]
, begin
:
Size
, end
:
Size
, r2
:
Volatility
[]
)
:
Real
Parameters
input:
Real
[]
begin:
Size
end:
Size
r2:
Volatility
[]
Returns
Real
Globals
"ql/models/volatility/garch"
Fit
Acf
Constraint
Fit
Acf
Problem
Garch11
Mode
by
Ref
_alpha
_beta
_gamma
_log
Likelihood
_mode
_vl
is
Disposed
alpha
beta
calculate1
calibrate1
calibrate2
calibrate3
calibrate4
calibrate5
calibrate6
cost
Function2
dispose
forecast
init1
init2
log
Likelihood
lt
Vol
mode
omega
calculate2
calibrate1_
r2
calibrate2_
r2
calibrate3_
r2
calibrate4_
r2
calibrate5_
r2
calibrate6_
r2
cost
Function1
to_
r2
Garch11
Constraint
Garch11
Cost
Function
tol_
level
initial
Guess1
initial
Guess2
GARCH volatility model
Volatilities are assumed to be expressed on an annual basis.