[ 
https://issues.apache.org/jira/browse/STATISTICS-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Herbert resolved STATISTICS-97.
------------------------------------
    Fix Version/s: 1.4
         Assignee: Alex Herbert
       Resolution: Fixed

Check for arguments that invalidate the test statistic in commit:

d85d307c8568e32c9727ecc250dc60ca60f36fb9

 

> TTest and OneWayAnova allow NaN and infinite values in the data array
> ---------------------------------------------------------------------
>
>                 Key: STATISTICS-97
>                 URL: https://issues.apache.org/jira/browse/STATISTICS-97
>             Project: Commons Statistics
>          Issue Type: Bug
>          Components: inference
>    Affects Versions: 1.3
>            Reporter: Alex Herbert
>            Assignee: Alex Herbert
>            Priority: Minor
>             Fix For: 1.4
>
>
> The TTest and OneWayAnova compute the variance of input data. This computes a 
> variance of NaN if any value in the input array is NaN or Infinite.
> The TTest also accepts a mean of NaN when the mean, variance and sample size 
> are known.
> These conditions invalidates the test as the test statistic is NaN.
> Issue identified by a security scan.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to