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/experimental/credit/defaultprobabilitylatentmodel"
TDefProbLM
Class TDefProbLM
Hierarchy
DefaultLatentModel
TDefProbLM
Implements
Observer
Observable
Index
Constructors
constructor
Properties
_cached
Mkt
Factor
_copula
_factor
Weights
_idiosync
Fctrs
_integration
_is
Disposed
_n
Factors
_n
Variables
_observables
_observers
basket_
copula
Policy
dispose
is
Disposed
notify
Observers
register
Observer
register
With
register
With
Observables
unregister
Observer
unregister
With
unregister
With
All
Methods
all
Factor
Cumul
Inverter
cond
Prob
Product
conditional
Default
Probability1
conditional
Default
Probability2
conditional
Default
Probability
InvP
conditional
Prob
AtLeastNEvents
copula
cumulativeY
cumulativeZ
deep
Update
default
Correlation
density
dlm
Init1
dlm
Init2
factor
Weights
idiosync
Fctrs
init
integrated
Expected
Value1
integrated
Expected
Value2
integration
inverse
Cumulative
Density
inverse
CumulativeY
inverse
CumulativeZ
latent
Var
Value
latent
Variable
Correl
lm
Init1
lm
Init2
lm
Init3
lm
Init4
num
Factors
num
Total
Factors
prob
AtLeastNEvents
prob
OfDefault
reset
Basket
size
update
Constructors
constructor
new TDef
ProbLM
(
)
:
TDefProbLM
Returns
TDefProbLM
Properties
_cached
Mkt
Factor
_cached
Mkt
Factor
:
Handle
<
Quote
>
_copula
_copula
:
any
_factor
Weights
_factor
Weights
:
Real
[]
[]
= [[]]
_idiosync
Fctrs
_idiosync
Fctrs
:
Real
[]
= []
_integration
_integration
:
LMIntegration
_is
Disposed
_is
Disposed
:
boolean
= false
_n
Factors
_n
Factors
:
Size
_n
Variables
_n
Variables
:
Size
_observables
_observables
:
Set
<
Observable
>
= new Set()
_observers
_observers
:
Set
<
Observer
>
= new Set()
basket_
basket_
:
Basket
copula
Policy
copula
Policy
:
any
dispose
dispose
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
is
Disposed
is
Disposed
:
boolean
notify
Observers
notify
Observers
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
register
Observer
register
Observer
:
(
o
:
Observer
)
=>
void
Type declaration
(
o
:
Observer
)
:
void
Parameters
o:
Observer
Returns
void
register
With
register
With
:
(
h
:
Observable
)
=>
void
Type declaration
(
h
:
Observable
)
:
void
Parameters
h:
Observable
Returns
void
register
With
Observables
register
With
Observables
:
(
o
:
Observer
)
=>
void
Type declaration
(
o
:
Observer
)
:
void
Parameters
o:
Observer
Returns
void
unregister
Observer
unregister
Observer
:
(
o
:
Observer
)
=>
void
Type declaration
(
o
:
Observer
)
:
void
Parameters
o:
Observer
Returns
void
unregister
With
unregister
With
:
(
h
:
Observable
)
=>
Size
Type declaration
(
h
:
Observable
)
:
Size
Parameters
h:
Observable
Returns
Size
unregister
With
All
unregister
With
All
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
Methods
all
Factor
Cumul
Inverter
all
Factor
Cumul
Inverter
(
probs
:
Real
[]
)
:
Real
[]
Parameters
probs:
Real
[]
Returns
Real
[]
cond
Prob
Product
cond
Prob
Product
(
invCumYProb1
:
Real
, invCumYProb2
:
Real
, iName1
:
Size
, iName2
:
Size
, mktFactors
:
Real
[]
)
:
Probability
Parameters
invCumYProb1:
Real
invCumYProb2:
Real
iName1:
Size
iName2:
Size
mktFactors:
Real
[]
Returns
Probability
conditional
Default
Probability1
conditional
Default
Probability1
(
prob
:
Probability
, iName
:
Size
, mktFactors
:
Real
[]
)
:
Probability
Parameters
prob:
Probability
iName:
Size
mktFactors:
Real
[]
Returns
Probability
conditional
Default
Probability2
conditional
Default
Probability2
(
date
:
Date
, iName
:
Size
, mktFactors
:
Real
[]
)
:
Probability
Parameters
date:
Date
iName:
Size
mktFactors:
Real
[]
Returns
Probability
conditional
Default
Probability
InvP
conditional
Default
Probability
InvP
(
invCumYProb
:
Real
, iName
:
Size
, m
:
Real
[]
)
:
Probability
Parameters
invCumYProb:
Real
iName:
Size
m:
Real
[]
Returns
Probability
conditional
Prob
AtLeastNEvents
conditional
Prob
AtLeastNEvents
(
n
:
Size
, date
:
Date
, mktFactors
:
Real
[]
)
:
Real
Parameters
n:
Size
date:
Date
mktFactors:
Real
[]
Returns
Real
copula
copula
(
)
:
any
Returns
any
cumulativeY
cumulativeY
(
val
:
Real
, iVariable
:
Size
)
:
Probability
Parameters
val:
Real
iVariable:
Size
Returns
Probability
cumulativeZ
cumulativeZ
(
z
:
Real
)
:
Probability
Parameters
z:
Real
Returns
Probability
deep
Update
deep
Update
(
)
:
void
Returns
void
default
Correlation
default
Correlation
(
d
:
Date
, iNamei
:
Size
, iNamej
:
Size
)
:
Real
Parameters
d:
Date
iNamei:
Size
iNamej:
Size
Returns
Real
density
density
(
m
:
Real
[]
)
:
Probability
Parameters
m:
Real
[]
Returns
Probability
dlm
Init1
dlm
Init1
(
factorWeights
:
Real
[]
[]
, integralType
:
LatentModelIntegrationType
, ini
?:
any
)
:
DefaultLatentModel
Parameters
factorWeights:
Real
[]
[]
integralType:
LatentModelIntegrationType
Default value
ini:
any
= null
Returns
DefaultLatentModel
dlm
Init2
dlm
Init2
(
mktCorrel
:
Handle
<
Quote
>
, nVariables
:
Size
, integralType
:
LatentModelIntegrationType
, ini
?:
any
)
:
DefaultLatentModel
Parameters
mktCorrel:
Handle
<
Quote
>
nVariables:
Size
integralType:
LatentModelIntegrationType
Default value
ini:
any
= null
Returns
DefaultLatentModel
factor
Weights
factor
Weights
(
)
:
Real
[]
[]
Returns
Real
[]
[]
idiosync
Fctrs
idiosync
Fctrs
(
)
:
Real
[]
Returns
Real
[]
init
init
(
copulaPolicyImpl
:
any
)
:
LatentModel
Parameters
copulaPolicyImpl:
any
Returns
LatentModel
integrated
Expected
Value1
integrated
Expected
Value1
(
f
:
UnaryFunction
<
Real
[]
,
Real
>
)
:
Real
Parameters
f:
UnaryFunction
<
Real
[]
,
Real
>
Returns
Real
integrated
Expected
Value2
integrated
Expected
Value2
(
f
:
UnaryFunction
<
Real
[]
,
Real
[]
>
)
:
Real
[]
Parameters
f:
UnaryFunction
<
Real
[]
,
Real
[]
>
Returns
Real
[]
integration
integration
(
)
:
LMIntegration
Returns
LMIntegration
inverse
Cumulative
Density
inverse
Cumulative
Density
(
p
:
Probability
, iFactor
:
Size
)
:
Real
Parameters
p:
Probability
iFactor:
Size
Returns
Real
inverse
CumulativeY
inverse
CumulativeY
(
p
:
Probability
, iVariable
:
Size
)
:
Real
Parameters
p:
Probability
iVariable:
Size
Returns
Real
inverse
CumulativeZ
inverse
CumulativeZ
(
p
:
Probability
)
:
Real
Parameters
p:
Probability
Returns
Real
latent
Var
Value
latent
Var
Value
(
allFactors
:
Real
[]
, iVar
:
Size
)
:
Real
Parameters
allFactors:
Real
[]
iVar:
Size
Returns
Real
latent
Variable
Correl
latent
Variable
Correl
(
iVar1
:
Size
, iVar2
:
Size
)
:
Real
Parameters
iVar1:
Size
iVar2:
Size
Returns
Real
lm
Init1
lm
Init1
(
factorWeights
:
Real
[]
[]
, ini
?:
any
)
:
LatentModel
Parameters
factorWeights:
Real
[]
[]
Default value
ini:
any
= null
Returns
LatentModel
lm
Init2
lm
Init2
(
factorWeights
:
Real
[]
, ini
?:
any
)
:
LatentModel
Parameters
factorWeights:
Real
[]
Default value
ini:
any
= null
Returns
LatentModel
lm
Init3
lm
Init3
(
correlSqr
:
Real
, nVariables
:
Size
, ini
?:
any
)
:
LatentModel
Parameters
correlSqr:
Real
nVariables:
Size
Default value
ini:
any
= null
Returns
LatentModel
lm
Init4
lm
Init4
(
singleFactorCorrel
:
Handle
<
Quote
>
, nVariables
:
Size
, ini
?:
any
)
:
LatentModel
Parameters
singleFactorCorrel:
Handle
<
Quote
>
nVariables:
Size
Default value
ini:
any
= null
Returns
LatentModel
num
Factors
num
Factors
(
)
:
Size
Returns
Size
num
Total
Factors
num
Total
Factors
(
)
:
Size
Returns
Size
prob
AtLeastNEvents
prob
AtLeastNEvents
(
n
:
Size
, date
:
Date
)
:
Probability
Parameters
n:
Size
date:
Date
Returns
Probability
prob
OfDefault
prob
OfDefault
(
iName
:
Size
, d
:
Date
)
:
Probability
Parameters
iName:
Size
d:
Date
Returns
Probability
reset
Basket
reset
Basket
(
basket
:
Basket
)
:
void
Parameters
basket:
Basket
Returns
void
size
size
(
)
:
Size
Returns
Size
update
update
(
)
:
void
Returns
void
Globals
"ql/experimental/credit/defaultprobabilitylatentmodel"
Default
Latent
Model
Gaussian
Def
ProbLM
TDef
ProbLM
constructor
_cached
Mkt
Factor
_copula
_factor
Weights
_idiosync
Fctrs
_integration
_is
Disposed
_n
Factors
_n
Variables
_observables
_observers
basket_
copula
Policy
dispose
is
Disposed
notify
Observers
register
Observer
register
With
register
With
Observables
unregister
Observer
unregister
With
unregister
With
All
all
Factor
Cumul
Inverter
cond
Prob
Product
conditional
Default
Probability1
conditional
Default
Probability2
conditional
Default
Probability
InvP
conditional
Prob
AtLeastNEvents
copula
cumulativeY
cumulativeZ
deep
Update
default
Correlation
density
dlm
Init1
dlm
Init2
factor
Weights
idiosync
Fctrs
init
integrated
Expected
Value1
integrated
Expected
Value2
integration
inverse
Cumulative
Density
inverse
CumulativeY
inverse
CumulativeZ
latent
Var
Value
latent
Variable
Correl
lm
Init1
lm
Init2
lm
Init3
lm
Init4
num
Factors
num
Total
Factors
prob
AtLeastNEvents
prob
OfDefault
reset
Basket
size
update