Skip to content

Commit

Permalink
correct t test
Browse files Browse the repository at this point in the history
  • Loading branch information
Matheus Alves committed Jun 7, 2024
1 parent c35f588 commit 544b4e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_fit_forecast_t.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@testset "Fit & Forecast tDist" begin

time_series = CSV.read(joinpath(@__DIR__, "data/timeseries_t_rws_d1.csv"), DataFrame)
time_series = CSV.read(joinpath(@__DIR__, "test/data/timeseries_t_rws_d1.csv"), DataFrame)
T,N = size(time_series)
y = time_series[:,2]
X = [2*y y/2 rand(T)]
Expand Down Expand Up @@ -75,7 +75,7 @@

@info(" --- Testing fit functions")
fitted_model_t = UnobservedComponentsGAS.fit(gas_model_t, y; tol = 5e-2)
fitted_model_t_2params = UnobservedComponentsGAS.fit(gas_model_t_2params, y; tol = 5e-2)
fitted_model_t_2params = UnobservedComponentsGAS.fit(gas_model_t_2params, y; tol = 1e-2)
fitted_model_t_X = UnobservedComponentsGAS.fit(gas_model_t_X, y, X; tol = 5e-2)
fitted_model_t_X_2params = UnobservedComponentsGAS.fit(gas_model_t_X_2params, y, X; tol = 5e-2)

Expand Down

0 comments on commit 544b4e4

Please sign in to comment.