theformulae for both tests are given here http://unblinkingeye.com/Articles/Ar.../archival.html