time series using arimax
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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
am 2 Mai 2023
For exporting the fitted values of your ARIMAX model as data points without plotting them, you can follow these steps:
- 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.
- 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:
- 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.
- 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().
- 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.
- 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.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Data Distribution Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!