Next: , Previous: , Up: Octave Functions and Scripts   [Contents][Index]


5.16 doc_riskfactor

Function File: object = Riskfactor ()
Function File: object = Riskfactor (name, id, type, description, model, parameters)

Construct risk factor object. Riskfactor Class Inputs:

If no input arguments are provided, a dummy IR risk factor object is generated.
The constructor of the risk factor class constructs an object with the following properties:
Class properties:

property_value = Riskfactor.getValue((base,stress,mc_timestep),’abs’) Riskfactor Method getValue
Return the value for a risk factor object. Specify the desired return values with a property parameter. If the second argument abs is set, the absolut scenario value is calculated from scenario shocks and the risk factor start value.
Timestep properties:


property_value = Riskfactor.get (property) object = Riskfactor.set (property, value) Riskfactor Methods get / set
Get / set methods for retrieving or setting risk factor properties.

See also: Instrument.


Next: , Previous: , Up: Octave Functions and Scripts   [Contents][Index]