This function constructs an object of class fHMM_data, which contains
the financial data for modeling.
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
fHMM_controlsobject.- true_parameters
The
fHMM_parametersobject in the simulated case.- x
An object of class
fHMM_data.- ...
Currently not used.
- object
An object of class
fHMM_data.
Value
An object of class fHMM_data, which is a list containing
the following elements:
The
matrixof thedatesifsimulated = FALSEandcontrols$data$data_columnis specified,the
matrixof thetime_pointsifsimulated = TRUEorcontrols$data$data_columnis not specified,the
matrixof the simulatedmarkov_chainifsimulated = TRUE,the
matrixof the simulated or empiricaldataused for estimation,the
matrixtime_seriesof empirical data before the transformation to log-returns ifsimulated = FALSE,the
vectorof fine-scale chunk sizesT_starifcontrols$hierarchy = TRUE,the input
controls,the
true_parameters.
