Skip to content

Commit 21479e3

Browse files
Merge pull request #21 from LAMPSPUC/add_sim_plot_readme
add sim plots
2 parents 249e803 + 0ccb594 commit 21479e3

File tree

3 files changed

+1050
-2
lines changed

3 files changed

+1050
-2
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,10 @@ prediction = exp.(prediction_log)
7070

7171
plot(airp.passengers, w=2 , color = "Black", lab = "Historical", legend = :outerbottom)
7272
plot!(vcat(ones(length(log_air_passengers)).*NaN, prediction), lab = "Forecast", w=2, color = "blue")
73+
```
74+
![quick_example_airp](./docs/assets/quick_example_airp.PNG)
7375

76+
```julia
7477
N_scenarios = 1000
7578
simulation = StateSpaceLearning.simulate(output, steps_ahead, N_scenarios) # arguments are the output of the fitted model, number of steps ahead the user wants to forecast and number of scenario paths
7679

@@ -81,7 +84,7 @@ end
8184
plot!(vcat(ones(length(log_air_passengers)).*NaN, exp.(simulation[:, N_scenarios])), lab = "Scenarios Paths", α = 0.1 , color = "red")
8285

8386
```
84-
![quick_example_airp](./docs/assets/quick_example_airp.PNG)
87+
![airp_sim](./docs/assets/airp_sim.svg)
8588

8689
### Component Extraction
8790
Quick example on how to perform component extraction in time series utilizing StateSpaceLearning.

0 commit comments

Comments
 (0)