fHMM_data {fHMM} | R Documentation |
Constructor of an fHMM_data
object
Description
This function constructs an object of class fHMM_data
, which contains
the financial data for modeling.
Usage
fHMM_data(
dates,
time_points,
markov_chain,
data,
time_series,
T_star,
controls,
true_parameters
)
## S3 method for class 'fHMM_data'
print(x, ...)
## S3 method for class 'fHMM_data'
summary(object, ...)
Arguments
dates |
The dates in the empirical case. |
time_points |
The time points in the simulated case. |
markov_chain |
The states in the simulated case. |
data |
The data for modeling. |
time_series |
The data before transformation. |
T_star |
The fine-scale chunk sizes. |
controls |
The |
true_parameters |
The |
x |
An object of class |
... |
Currently not used. |
object |
An object of class |
Value
An object of class fHMM_data
, which is a list
containing
the following elements:
The
matrix
of thedates
ifsimulated = FALSE
andcontrols$data$data_column
is specified,the
matrix
of thetime_points
ifsimulated = TRUE
orcontrols$data$data_column
is not specified,the
matrix
of the simulatedmarkov_chain
ifsimulated = TRUE
,the
matrix
of the simulated or empiricaldata
used for estimation,the
matrix
time_series
of empirical data before the transformation to log-returns ifsimulated = FALSE
,the
vector
of fine-scale chunk sizesT_star
ifcontrols$hierarchy = TRUE
,the input
controls
,the
true_parameters
.