Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating Time Series #162

Open
gabgilling opened this issue Jun 13, 2022 · 1 comment
Open

Generating Time Series #162

gabgilling opened this issue Jun 13, 2022 · 1 comment
Labels
feature feature request or enhancement

Comments

@gabgilling
Copy link

Apologies if this has already been mentioned somewhere in the roadmap.

A useful new feature would be to generate time series using data definitions.
A first attempt could look into generating time series based on specified ARIMA parameters.

I am not sure which data definition function would be suit this, but one could think of adding options to generate time series that are mean/variance/covariance stationarity as well.

Simpler time series could be created by passing specific keywords such as AR(1), I(1), MA(1) and so on as well instead of specifying the entire ARIMA structure in the formula field.

defTime <- defData(
  formula = "1;1;1",
   dist = "ARIMA"
)

Just some thoughts I had!

@kgoldfeld kgoldfeld added the feature feature request or enhancement label Jun 13, 2022
@kgoldfeld
Copy link
Owner

I agree, something like that would be nice. I have considered something like this in the past, but haven't pursued it, because I found it didn't fit as cleanly in the existing data generation process, which assumes that the rows are independent of each other. Now, there is the genMarkov process which is separate from the genData process, so there could be an analogous genTS process. We will keep this here as a possible new feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants