using StatsOrdinalPatterns, Random
Random.seed!(1)
x = zeros(500)
for t in 2:500
x[t] = 0.5 * x[t-1] + randn()
end
test_op(x; chart_choice=Persistence())OPTestResult Chart: Persistence() Statistic: 0.0663 ───────────────────────────── Asymptotic test Critical value: 0.037 p-value: 0.0005 Reject H₀: true