From 8126bc7f18e5ad8025c3d964b33b43940aa64436 Mon Sep 17 00:00:00 2001 From: David Widmann Date: Wed, 22 Sep 2021 15:40:01 +0200 Subject: [PATCH] Fix format? --- src/discretediag.jl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/discretediag.jl b/src/discretediag.jl index a9ed1f0..ddf1724 100644 --- a/src/discretediag.jl +++ b/src/discretediag.jl @@ -302,16 +302,14 @@ function diag_all( stat = t * sum(chi_stat) df0 = (m - 1) * (d - 1) if m > 1 && !isnan(stat) - pval = - Distributions.ccdf(Distributions.Chisq(df0), stat) + pval = Distributions.ccdf(Distributions.Chisq(df0), stat) end elseif method == :weiss stat = (t / ca) * sum(chi_stat) df0 = (m - 1) * (d - 1) pval = NaN if m > 1 && !isnan(stat) - pval = - Distributions.ccdf(Distributions.Chisq(df0), stat) + pval = Distributions.ccdf(Distributions.Chisq(df0), stat) end elseif method == :DARBOOT stat = t * sum(chi_stat)