Skip to content

Commit 01f070c

Browse files
author
andre_ramos
committed
blue format
1 parent 68c8782 commit 01f070c

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

src/estimation_procedure.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,4 +428,4 @@ function estimation_procedure(
428428
push!(ε_vec, ε_i)
429429
end
430430
return coefs_vec, ε_vec
431-
end
431+
end

src/fit_forecast.jl

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -245,29 +245,29 @@ function simulate(
245245
if is_univariate
246246
if model.outlier
247247
o_noises[i, :] = rand(
248-
Normal(
249-
0,
250-
std(
251-
model.output.components["o"]["Coefs"][(i + start_seasonal_term):seasonal_innovation_simulation:end],
248+
Normal(
249+
0,
250+
std(
251+
model.output.components["o"]["Coefs"][(i + start_seasonal_term):seasonal_innovation_simulation:end],
252+
),
252253
),
253-
),
254-
N_scenarios,
255-
)
254+
N_scenarios,
255+
)
256256
else
257257
nothing
258258
end
259259
else
260260
for j in eachindex(model.output)
261261
if model.outlier
262262
o_noises[j][i, :] = rand(
263-
Normal(
264-
0,
265-
std(
266-
model.output[j].components["o"]["Coefs"][(i + start_seasonal_term):seasonal_innovation_simulation:end],
263+
Normal(
264+
0,
265+
std(
266+
model.output[j].components["o"]["Coefs"][(i + start_seasonal_term):seasonal_innovation_simulation:end],
267+
),
267268
),
268-
),
269-
N_scenarios,
270-
)
269+
N_scenarios,
270+
)
271271
else
272272
nothing
273273
end
@@ -280,9 +280,9 @@ function simulate(
280280
AbstractFloat.(hcat([prediction for _ in 1:N_scenarios]...))
281281
else
282282
[
283-
AbstractFloat.(hcat([prediction[:, i] for _ in 1:N_scenarios]...)) for
284-
i in eachindex(model.output)
285-
]
283+
AbstractFloat.(hcat([prediction[:, i] for _ in 1:N_scenarios]...)) for
284+
i in eachindex(model.output)
285+
]
286286
end
287287
if is_univariate
288288
fill_simulation!(simulation, MV_dist_vec, o_noises, simulation_X)

src/structs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ mutable struct Output
1818
residuals_variances::Dict
1919
valid_indexes::Vector{Int}
2020
components::Dict
21-
end
21+
end

src/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,4 +376,4 @@ function fill_simulation!(
376376
simulation[j][:, s] += (simulation_X * sim_coefs + o_noises[j][:, s])
377377
end
378378
end
379-
end
379+
end

0 commit comments

Comments
 (0)