Skip to content

Commit 9ff0282

Browse files
author
LuizFCDuarte
committed
🔥 Remove unused typing
1 parent b41f9dd commit 9ff0282

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/statistical_tests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function kpss_test(y::Vector{Fl}; regression::Symbol=:c, nlags::Union{Symbol,Int
162162
end
163163

164164
s2 = s2 / nobs
165-
165+
166166
# Compute test statistic
167167
kpss_stat::Float64 = (s2 == 0.0) ? 0.0 : eta / s2
168168

@@ -206,7 +206,7 @@ end
206206

207207
# --- Helper functions ---
208208
# Critical value as in Python/R
209-
function calc_ocsb_crit_val(m::Int) where T <: AbstractFloat
209+
function calc_ocsb_crit_val(m::Int)
210210
log_m = log(m)
211211
return -0.2937411 * exp(
212212
-0.2850853 * (log_m - 0.7656451) + (-0.05983644) * (

0 commit comments

Comments
 (0)