This function constructs an object of class fHMM_data, which contains
the financial data for modeling.
Arguments
- dates
[
any]
The dates in the empirical case.- time_points
[
any]
The time points in the simulated case.- markov_chain
[
any]
The states in the simulated case.- data
[
any]
The data for modeling.- time_series
[
any]
The data before transformation.- T_star
[
NULL|integer()]
The fine-scale chunk sizes.- controls
[
fHMM_controls]
ThefHMM_controlsobject.- true_parameters
[
NULL|fHMM_parameters]
ThefHMM_parametersobject in the simulated case.- x
[
fHMM_data]
An object of classfHMM_data.- ...
Currently not used.
- object
[
fHMM_data]
An object of classfHMM_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.
