model0 Class Reference
List of all members.
Detailed Description
MODEL0 obj = model0(spec) creates a container for an MA-GARCH model. This follows the strategy pattern.
Example: spec = garchset('M',1,'P',1,'Q',1); spec = garchset(spec, 'Display','off', 'Distribution', 'T');
model0_ = model0(spec);
As new data arrives and a calibrate is requested. model0_.update( collector0_ ); disp(model0_.coeff);
Definition at line 24 of file model0.m.
Constructor & Destructor Documentation
obj model0::model0 |
( |
type |
spec_ |
) |
[inline] |
GARCH model spec_ is the result of a call to garchset().
Definition at line 66 of file model0.m.
Member Function Documentation
void model0::delete |
( |
type |
obj |
) |
[inline] |
delete(obj.spec);
Definition at line 74 of file model0.m.
p0_ model0::p0 |
( |
type |
obj, |
|
|
type |
expected_, |
|
|
type |
actual_, |
|
|
type |
volatility0, |
|
|
type |
volf | |
|
) |
| | [inline] |
Estimated probability using standard cdf from probability theory and the degrees of freedom of the t-test.
Definition at line 78 of file model0.m.
void model0::update |
( |
type |
obj, |
|
|
type |
returner | |
|
) |
| | [inline] |
Sum of ARCH + GARCH + 0.5 * Leverage coefficients must be < 1 for GJR(P,Q) models. The current model of choice is MA-GARCH (not GJR) because it scored best among all competing models.
Definition at line 95 of file model0.m.
Member Data Documentation
container for the GARCH model
Definition at line 47 of file model0.m.
Indexes into conversion vectors.
Definition at line 59 of file model0.m.
30 sec ticks
Definition at line 39 of file model0.m.
GARCH co-efficients.
Definition at line 48 of file model0.m.
When started.
Definition at line 35 of file model0.m.
Maximum trend.
An indication of the regime.
Definition at line 56 of file model0.m.
The documentation for this class was generated from the following file: