Statistical Methods For Nanohertz Gravitational Wave Detection