time series using arimax

3 Ansichten (letzte 30 Tage)
ayah ali
ayah ali am 1 Mai 2023
Beantwortet: Rishav am 2 Mai 2023
have problem in econometric app , I ve done the arimax model , but I want to export the fiited y data as data point and a plot , how I can do that

Antworten (1)

Rishav
Rishav am 2 Mai 2023
For exporting the fitted values of your ARIMAX model as data points without plotting them, you can follow these steps:
  1. Obtain the fitted values of the dependent variable (y) from your ARIMAX model. This can typically be done by using the predict() function in your software.
  2. Save the fitted values to a data frame, which can be exported as a CSV file using functions like write.csv() or write.table().
To export the fitted y data as data points and a plot in econometric software, you can follow these steps:
  1. Obtain the fitted values of the dependent variable (y) from your ARIMAX model. This can typically be done by using the predict() function in your software.
  2. Export the fitted values as a separate data frame or a CSV file. This can be done using functions like write.csv() or write.table().
  3. Once you have the fitted values exported, you can create a plot in your software. You can use functions like plot() or ggplot() to create a visualization of the fitted values.
  4. If you want to plot the fitted values along with the original data, you can overlay the two plots. This can be done by first plotting the original data, and then adding a layer for the fitted values using the fitted values data frame you exported earlier.

Kategorien

Mehr zu Data Distribution Plots finden Sie in Help Center und File Exchange

Produkte


Version

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by