generators.var
Data - Generators - VAR¤
AR1Stepper
¤
Bases: BaseStepper
Stepper that calculates the next step in time in an AR model
:param model_params: parameters for the AR model
Source code in eerily/generators/var.py
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
|
ARModelParams
dataclass
¤
Bases: StepperParams
Parameters of our AR model,
:param delta_t: step size of time in each iteration
:param phi0: pho_0 in the AR model
:param phi1: pho_1 in the AR model
:param epsilon: noise iterator, e.g., Gaussian noise
:param initial_state: a dictionary of the initial state,
e.g., np.array([1])
:param variable_name: variable names
Source code in eerily/generators/var.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
|
VAR1ModelParams
dataclass
¤
Bases: StepperParams
Parameters of our VAR model,
:param delta_t: step size of time in each iteration
:param phi0: pho_0 in the AR model
:param phi1: pho_1 in the AR model
:param epsilon: noise iterator, e.g., Gaussian noise
:param initial_state: an array of the initial state, e.g., {"s": 1}
Source code in eerily/generators/var.py
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
|
VAR1Stepper
¤
Bases: BaseStepper
Calculate the next values using VAR(1) model.
:param model_params: the parameters of the VAR(1) model, e.g.,
VAR1ModelParams
Source code in eerily/generators/var.py
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
|