Skip to content

Commit eb95b6a

Browse files
Alexey Stukalovalyst
authored andcommitted
p_values(): use ccdf()
1 parent 69fa518 commit eb95b6a

File tree

1 file changed

+1
-1
lines changed
  • src/frontend/fit/fitmeasures

1 file changed

+1
-1
lines changed

src/frontend/fit/fitmeasures/p.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
44
Return the p value computed from the χ² test statistic.
55
"""
6-
p_value(sem_fit::SemFit) = 1 - cdf(Chisq(df(sem_fit)), χ²(sem_fit))
6+
p_value(sem_fit::SemFit) = ccdf(Chisq(df(sem_fit)), χ²(sem_fit))

0 commit comments

Comments
 (0)