[FFmpeg-devel] [PATCH] avutil/tests/lfg.c: added proper normality test

Michael Niedermayer michael at niedermayer.cc
Wed Mar 8 15:45:26 EET 2017


On Tue, Mar 07, 2017 at 04:36:15PM -0800, Thomas Turner wrote:
> The Chen-Shapiro(CS) test was used to test normality for
> Lagged Fibonacci PRNG.
> 
> Normality Hypothesis Test:
> 
> The null hypothesis formally tests if the population
> the sample represents is normally-distributed. For
> CS, when the normality hypothesis is True, the
> distribution of QH will have a mean close to 1.
> 
> Information on CS can be found here:
> 
> http://www.stata-journal.com/sjpdf.html?articlenum=st0264
> http://www.originlab.com/doc/Origin-Help/NormalityTest-Algorithm
> 
> Signed-off-by: Thomas Turner <thomastdt at googlemail.com>
> ---
>  libavutil/tests/lfg.c    |  164 +++++++-
>  tests/fate/libavutil.mak |    4 +
>  tests/ref/fate/lfg       | 1007 ++++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 1153 insertions(+), 22 deletions(-)
>  create mode 100644 tests/ref/fate/lfg

applied

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are best at talking, realize last or never when they are wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170308/4b605c5f/attachment.sig>


More information about the ffmpeg-devel mailing list